Billhighway Cloud API

<back to all web services

FormBuilderMembershipPipelineRevenuePricingRq

The following routes are available for this service:
GET/signup/api/nat/{nationalId}/group/{groupId}/templateType/{workflowTemplateTypeId}/key/{workflowCategoryKey}/type/{workflowTypeId}/revenue/{revenue}/subscription/{subscriptionInvoiceId}/years/{yearsOfService}/term/{termTypeId}
import Foundation
import ServiceStack

public class FormBuilderMembershipPipelineRevenuePricingRq : Codable
{
    public var nationalId:Int?
    public var groupId:Int?
    public var workflowTemplateTypeId:Int?
    public var workflowCategoryKey:String?
    public var workflowTypeId:Int?
    public var revenue:String?
    public var subscriptionInvoiceId:String?
    public var yearsOfService:String?
    public var termTypeId:String?

    required public init(){}
}

public class FormBuilderMembershipPipelineRs : Codable
{
    public var workflowId:Int?
    public var isValid:Bool?
    public var hasServerError:Bool?
    public var hasClientError:Bool?
    public var hasWarningError:Bool?
    public var clientErrors:String?
    public var warningErrors:String?
    public var outputs:[BhWorkflowOutputDto] = []
    public var components:[BhWorkflowComponentDto] = []

    required public init(){}
}

public class BhWorkflowOutputDto : Codable
{
    public var name:String?
    public var value:String?

    required public init(){}
}

public class BhWorkflowComponentDto : Codable
{
    public var componentName:String?
    public var hasServerError:Bool?
    public var hasClientError:Bool?
    public var hasWarningError:Bool?
    public var warnings:[String] = []

    required public init(){}
}


Swift FormBuilderMembershipPipelineRevenuePricingRq DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /signup/api/nat/{nationalId}/group/{groupId}/templateType/{workflowTemplateTypeId}/key/{workflowCategoryKey}/type/{workflowTypeId}/revenue/{revenue}/subscription/{subscriptionInvoiceId}/years/{yearsOfService}/term/{termTypeId} HTTP/1.1 
Host: devapi.billhighway.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	workflowId: 0,
	isValid: False,
	hasServerError: False,
	hasClientError: False,
	hasWarningError: False,
	clientErrors: String,
	warningErrors: String,
	outputs: 
	[
		{
			name: String,
			value: String
		}
	],
	components: 
	[
		{
			ComponentName: String,
			HasServerError: False,
			HasClientError: False,
			HasWarningError: False,
			Warnings: 
			[
				String
			]
		}
	]
}