Billhighway Cloud API

<back to all web services

FormBuilderStateRq

The following routes are available for this service:
GET/signup/api/formBuilder/states
namespace BH.API.DataAccess.Dto.FormBuilder

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type FormBuilderStateRq() = 
        member val CountryId:Int32 = new Int32() with get,set

    [<AllowNullLiteral>]
    type FormBuilderState() = 
        member val abbreviation:String = null with get,set
        member val stateId:Int32 = new Int32() with get,set
        member val fullName:String = null with get,set
        member val countryId:Int32 = new Int32() with get,set

    [<AllowNullLiteral>]
    type FormBuilderStateRs() = 
        member val states:ResizeArray<FormBuilderState> = new ResizeArray<FormBuilderState>() with get,set

F# FormBuilderStateRq 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/formBuilder/states HTTP/1.1 
Host: devapi.billhighway.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	states: 
	[
		{
			abbreviation: String,
			stateId: 0,
			fullName: String,
			countryId: 0
		}
	]
}