| 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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
Content-Type: application/json
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: application/json
Content-Length: length
{"message":"String","modelStateId":0}