Billhighway Cloud API

<back to all web services

FormBuilderModelRq

The following routes are available for this service:
POST/signup/api/formbuilder/model
import java.math.*
import java.util.*
import net.servicestack.client.*


open class FormBuilderModelRq
{
    var TemplateId:Int? = null
    var BhUserID:String? = null
    var UserType:String? = null
    var ClientDocNo:String? = null
    var FormType:String? = null
    var ConfirmationNumber:Int? = null
    var NameValues:ArrayList<FormBuilderModelNameValue> = ArrayList<FormBuilderModelNameValue>()
    var GroupPlans:String? = null
    var natId:Int? = null
    var chapId:Int? = null
}

open class FormBuilderModelNameValue
{
    var Name:String? = null
    var Value:Object? = null
}

open class FormBuilderModelRs
{
    var message:String? = null
    var modelStateId:Int? = null
}

Kotlin FormBuilderModelRq 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.

POST /signup/api/formbuilder/model HTTP/1.1 
Host: devapi.billhighway.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	TemplateId: 0,
	BhUserID: String,
	UserType: String,
	ClientDocNo: String,
	FormType: String,
	ConfirmationNumber: 0,
	NameValues: 
	[
		{
			Name: String,
			Value: {}
		}
	],
	GroupPlans: String,
	natId: 0,
	chapId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	message: String,
	modelStateId: 0
}