Billhighway Cloud API

<back to all web services

FormBuilderRq

The following routes are available for this service:
GET/signup/api/nat/{natID}/group/{groupId}/formBuilder/type/{FormBuilderTypeID}/info
GET/signup/api/nat/{natID}/group/{groupId}/{usertype}/user/{userid}/formBuilder/type/{FormBuilderTypeID}/info
FormBuilderRq Parameters:
NameParameterData TypeRequiredDescription
NatIDpathintNo
GroupIdpathint?No
FormBuilderTypeIDpathint?No
UserTypepathstringNo
UserIdpathstringNo
FormBuilderRs Parameters:
NameParameterData TypeRequiredDescription
formformBhFormDtoNo
servicesformList<BhServiceInfoDto>No
BhFormDto Parameters:
NameParameterData TypeRequiredDescription
templateIdformintNo
groupsformList<BhGroupDto>No
BhGroupDto Parameters:
NameParameterData TypeRequiredDescription
nameformstringNo
typeformstringNo
groupStyleformstringNo
debugformboolNo
notifyPubsformList<BhNotifyPub>No
notifySubsformList<BhNotifySub>No
controlDetailsformList<BhControlDto>No
childGroupformBhGroupDtoNo
BhNotifyPub Parameters:
NameParameterData TypeRequiredDescription
notifyTypeformstringNo
notifyEventTypeformstringNo
delayformintNo
BhNotifySub Parameters:
NameParameterData TypeRequiredDescription
notifyTypeformstringNo
notifyActionTypeformstringNo
BhControlDto Parameters:
NameParameterData TypeRequiredDescription
disabledformbool?No
labelformstringNo
label2formstringNo
nameformstringNo
optionsformList<BhNameValue>No
conditionalValuesformList<string>No
selectGetUriformstringNo
validationformList<BhValidation>No
notifyPubsformList<BhNotifyPub>No
notifySubsformList<BhNotifySub>No
customValidationformBhCustomValidationNo
placeholderformstringNo
typeformstringNo
valueformObjectNo
validationMessagesformDictionary<string, string>No
validationPositionformstringNo
hideInitialValidationformboolNo
widthClassformstringNo
htmlformstringNo
imgformstringNo
imgWidthformstringNo
categoryformstringNo
getUriformstringNo
controlStyleformstringNo
hasSensitiveDataformboolNo
debugformboolNo
iconformstringNo
maskformstringNo
postServiceformintNo
printTypeformstringNo
radioNamesformList<BhNameValue>No
childrenformList<BhControlDto>No
BhNameValue Parameters:
NameParameterData TypeRequiredDescription
nameformstringNo
valueformstringNo
BhValidation Parameters:
NameParameterData TypeRequiredDescription
validationNameformstringNo
validationLengthformdecimal?No
validationPatternformstringNo
BhCustomValidation Parameters:
NameParameterData TypeRequiredDescription
customFunctionNameformstringNo
customParamsformList<string>No
BhServiceInfoDto Parameters:
NameParameterData TypeRequiredDescription
serviceIdformintNo
serviceNameformstringNo
uriformstringNo
serviceTypeformstringNo
initFormStateformboolNo
serviceDetailsformList<BhServiceDetailInfoDto>No
BhServiceDetailInfoDto Parameters:
NameParameterData TypeRequiredDescription
serviceIdformintNo
nameformstringNo
mappedNameformstringNo
requiredformboolNo

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/{natID}/group/{groupId}/formBuilder/type/{FormBuilderTypeID}/info HTTP/1.1 
Host: devapi.billhighway.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	form: 
	{
		templateId: 0,
		groups: 
		[
			{
				name: String,
				type: String,
				groupStyle: String,
				debug: False,
				notifyPubs: 
				[
					{
						notifyType: String,
						notifyEventType: String,
						delay: 0
					}
				],
				notifySubs: 
				[
					{
						notifyType: String,
						notifyActionType: String
					}
				],
				controlDetails: 
				[
					{
						disabled: False,
						label: String,
						label2: String,
						name: String,
						options: 
						[
							{
								name: String,
								value: String
							}
						],
						conditionalValues: 
						[
							String
						],
						selectGetUri: String,
						validation: 
						[
							{
								validationName: String,
								validationLength: 0,
								validationPattern: String
							}
						],
						notifyPubs: 
						[
							{
								notifyType: String,
								notifyEventType: String,
								delay: 0
							}
						],
						notifySubs: 
						[
							{
								notifyType: String,
								notifyActionType: String
							}
						],
						customValidation: 
						{
							customFunctionName: String,
							customParams: 
							[
								String
							]
						},
						placeholder: String,
						type: String,
						value: {},
						validationMessages: 
						{
							String: String
						},
						validationPosition: String,
						hideInitialValidation: False,
						widthClass: String,
						html: String,
						img: String,
						imgWidth: String,
						category: String,
						getUri: String,
						controlStyle: String,
						hasSensitiveData: False,
						debug: False,
						icon: String,
						mask: String,
						postService: 0,
						printType: String,
						radioNames: 
						[
							{
								name: String,
								value: String
							}
						],
						children: 
						[
							{
								disabled: False,
								label: String,
								label2: String,
								name: String,
								options: 
								[
									{
										name: String,
										value: String
									}
								],
								conditionalValues: 
								[
									String
								],
								selectGetUri: String,
								validation: 
								[
									{
										validationName: String,
										validationLength: 0,
										validationPattern: String
									}
								],
								notifyPubs: 
								[
									{
										notifyType: String,
										notifyEventType: String,
										delay: 0
									}
								],
								notifySubs: 
								[
									{
										notifyType: String,
										notifyActionType: String
									}
								],
								customValidation: 
								{
									customFunctionName: String,
									customParams: 
									[
										String
									]
								},
								placeholder: String,
								type: String,
								value: {},
								validationMessages: 
								{
									String: String
								},
								validationPosition: String,
								hideInitialValidation: False,
								widthClass: String,
								html: String,
								img: String,
								imgWidth: String,
								category: String,
								getUri: String,
								controlStyle: String,
								hasSensitiveData: False,
								debug: False,
								icon: String,
								mask: String,
								postService: 0,
								printType: String,
								radioNames: 
								[
									{
										name: String,
										value: String
									}
								],
								children: 
								[
									{
										disabled: False,
										label: String,
										label2: String,
										name: String,
										options: 
										[
											{
												name: String,
												value: String
											}
										],
										conditionalValues: 
										[
											String
										],
										selectGetUri: String,
										validation: 
										[
											{
												validationName: String,
												validationLength: 0,
												validationPattern: String
											}
										],
										notifyPubs: 
										[
											{
												notifyType: String,
												notifyEventType: String,
												delay: 0
											}
										],
										notifySubs: 
										[
											{
												notifyType: String,
												notifyActionType: String
											}
										],
										customValidation: 
										{
											customFunctionName: String,
											customParams: 
											[
												String
											]
										},
										placeholder: String,
										type: String,
										value: {},
										validationMessages: 
										{
											String: String
										},
										validationPosition: String,
										hideInitialValidation: False,
										widthClass: String,
										html: String,
										img: String,
										imgWidth: String,
										category: String,
										getUri: String,
										controlStyle: String,
										hasSensitiveData: False,
										debug: False,
										icon: String,
										mask: String,
										postService: 0,
										printType: String,
										radioNames: 
										[
											{
												name: String,
												value: String
											}
										]
									}
								]
							}
						]
					}
				],
				childGroup: 
				{
					name: String,
					type: String,
					groupStyle: String,
					debug: False,
					notifyPubs: 
					[
						{
							notifyType: String,
							notifyEventType: String,
							delay: 0
						}
					],
					notifySubs: 
					[
						{
							notifyType: String,
							notifyActionType: String
						}
					],
					controlDetails: 
					[
						{
							disabled: False,
							label: String,
							label2: String,
							name: String,
							options: 
							[
								{
									name: String,
									value: String
								}
							],
							conditionalValues: 
							[
								String
							],
							selectGetUri: String,
							validation: 
							[
								{
									validationName: String,
									validationLength: 0,
									validationPattern: String
								}
							],
							notifyPubs: 
							[
								{
									notifyType: String,
									notifyEventType: String,
									delay: 0
								}
							],
							notifySubs: 
							[
								{
									notifyType: String,
									notifyActionType: String
								}
							],
							customValidation: 
							{
								customFunctionName: String,
								customParams: 
								[
									String
								]
							},
							placeholder: String,
							type: String,
							value: {},
							validationMessages: 
							{
								String: String
							},
							validationPosition: String,
							hideInitialValidation: False,
							widthClass: String,
							html: String,
							img: String,
							imgWidth: String,
							category: String,
							getUri: String,
							controlStyle: String,
							hasSensitiveData: False,
							debug: False,
							icon: String,
							mask: String,
							postService: 0,
							printType: String,
							radioNames: 
							[
								{
									name: String,
									value: String
								}
							],
							children: 
							[
								{
									disabled: False,
									label: String,
									label2: String,
									name: String,
									options: 
									[
										{
											name: String,
											value: String
										}
									],
									conditionalValues: 
									[
										String
									],
									selectGetUri: String,
									validation: 
									[
										{
											validationName: String,
											validationLength: 0,
											validationPattern: String
										}
									],
									notifyPubs: 
									[
										{
											notifyType: String,
											notifyEventType: String,
											delay: 0
										}
									],
									notifySubs: 
									[
										{
											notifyType: String,
											notifyActionType: String
										}
									],
									customValidation: 
									{
										customFunctionName: String,
										customParams: 
										[
											String
										]
									},
									placeholder: String,
									type: String,
									value: {},
									validationMessages: 
									{
										String: String
									},
									validationPosition: String,
									hideInitialValidation: False,
									widthClass: String,
									html: String,
									img: String,
									imgWidth: String,
									category: String,
									getUri: String,
									controlStyle: String,
									hasSensitiveData: False,
									debug: False,
									icon: String,
									mask: String,
									postService: 0,
									printType: String,
									radioNames: 
									[
										{
											name: String,
											value: String
										}
									],
									children: 
									[
										{
											disabled: False,
											label: String,
											label2: String,
											name: String,
											options: 
											[
												{
													name: String,
													value: String
												}
											],
											conditionalValues: 
											[
												String
											],
											selectGetUri: String,
											validation: 
											[
												{
													validationName: String,
													validationLength: 0,
													validationPattern: String
												}
											],
											notifyPubs: 
											[
												{
													notifyType: String,
													notifyEventType: String,
													delay: 0
												}
											],
											notifySubs: 
											[
												{
													notifyType: String,
													notifyActionType: String
												}
											],
											customValidation: 
											{
												customFunctionName: String,
												customParams: 
												[
													String
												]
											},
											placeholder: String,
											type: String,
											value: {},
											validationMessages: 
											{
												String: String
											},
											validationPosition: String,
											hideInitialValidation: False,
											widthClass: String,
											html: String,
											img: String,
											imgWidth: String,
											category: String,
											getUri: String,
											controlStyle: String,
											hasSensitiveData: False,
											debug: False,
											icon: String,
											mask: String,
											postService: 0,
											printType: String,
											radioNames: 
											[
												{
													name: String,
													value: String
												}
											]
										}
									]
								}
							]
						}
					],
					childGroup: 
					{
						name: String,
						type: String,
						groupStyle: String,
						debug: False,
						notifyPubs: 
						[
							{
								notifyType: String,
								notifyEventType: String,
								delay: 0
							}
						],
						notifySubs: 
						[
							{
								notifyType: String,
								notifyActionType: String
							}
						],
						controlDetails: 
						[
							{
								disabled: False,
								label: String,
								label2: String,
								name: String,
								options: 
								[
									{
										name: String,
										value: String
									}
								],
								conditionalValues: 
								[
									String
								],
								selectGetUri: String,
								validation: 
								[
									{
										validationName: String,
										validationLength: 0,
										validationPattern: String
									}
								],
								notifyPubs: 
								[
									{
										notifyType: String,
										notifyEventType: String,
										delay: 0
									}
								],
								notifySubs: 
								[
									{
										notifyType: String,
										notifyActionType: String
									}
								],
								customValidation: 
								{
									customFunctionName: String,
									customParams: 
									[
										String
									]
								},
								placeholder: String,
								type: String,
								value: {},
								validationMessages: 
								{
									String: String
								},
								validationPosition: String,
								hideInitialValidation: False,
								widthClass: String,
								html: String,
								img: String,
								imgWidth: String,
								category: String,
								getUri: String,
								controlStyle: String,
								hasSensitiveData: False,
								debug: False,
								icon: String,
								mask: String,
								postService: 0,
								printType: String,
								radioNames: 
								[
									{
										name: String,
										value: String
									}
								],
								children: 
								[
									{
										disabled: False,
										label: String,
										label2: String,
										name: String,
										options: 
										[
											{
												name: String,
												value: String
											}
										],
										conditionalValues: 
										[
											String
										],
										selectGetUri: String,
										validation: 
										[
											{
												validationName: String,
												validationLength: 0,
												validationPattern: String
											}
										],
										notifyPubs: 
										[
											{
												notifyType: String,
												notifyEventType: String,
												delay: 0
											}
										],
										notifySubs: 
										[
											{
												notifyType: String,
												notifyActionType: String
											}
										],
										customValidation: 
										{
											customFunctionName: String,
											customParams: 
											[
												String
											]
										},
										placeholder: String,
										type: String,
										value: {},
										validationMessages: 
										{
											String: String
										},
										validationPosition: String,
										hideInitialValidation: False,
										widthClass: String,
										html: String,
										img: String,
										imgWidth: String,
										category: String,
										getUri: String,
										controlStyle: String,
										hasSensitiveData: False,
										debug: False,
										icon: String,
										mask: String,
										postService: 0,
										printType: String,
										radioNames: 
										[
											{
												name: String,
												value: String
											}
										],
										children: 
										[
											{
												disabled: False,
												label: String,
												label2: String,
												name: String,
												options: 
												[
													{
														name: String,
														value: String
													}
												],
												conditionalValues: 
												[
													String
												],
												selectGetUri: String,
												validation: 
												[
													{
														validationName: String,
														validationLength: 0,
														validationPattern: String
													}
												],
												notifyPubs: 
												[
													{
														notifyType: String,
														notifyEventType: String,
														delay: 0
													}
												],
												notifySubs: 
												[
													{
														notifyType: String,
														notifyActionType: String
													}
												],
												customValidation: 
												{
													customFunctionName: String,
													customParams: 
													[
														String
													]
												},
												placeholder: String,
												type: String,
												value: {},
												validationMessages: 
												{
													String: String
												},
												validationPosition: String,
												hideInitialValidation: False,
												widthClass: String,
												html: String,
												img: String,
												imgWidth: String,
												category: String,
												getUri: String,
												controlStyle: String,
												hasSensitiveData: False,
												debug: False,
												icon: String,
												mask: String,
												postService: 0,
												printType: String,
												radioNames: 
												[
													{
														name: String,
														value: String
													}
												]
											}
										]
									}
								]
							}
						]
					}
				}
			}
		]
	},
	services: 
	[
		{
			serviceId: 0,
			serviceName: String,
			uri: String,
			serviceType: String,
			initFormState: False,
			serviceDetails: 
			[
				{
					serviceId: 0,
					name: String,
					mappedName: String,
					required: False
				}
			]
		}
	]
}