TicketUserServices

<back to all web services

GetExtraInfoForm

The following routes are available for this service:
GET/extraInfo/form/{EventId}
GetExtraInfoForm Parameters:
NameParameterData TypeRequiredDescription
EventIdpathintNo
ExtraInfoFormResult Parameters:
NameParameterData TypeRequiredDescription
EventIdformintNo
ShowAlertformboolNo
AlertTitleIsformstringNo
AlertTitleEnformstringNo
AlertBodyIsformstringNo
AlertBodyEnformstringNo
AlertButtonIsformstringNo
AlertButtonEnformstringNo
IsDefaultformboolNo
FieldsformList<ExtraInfoFieldInfo>No
ExtraInfoFieldInfo Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
FieldKeyformstringNo
FieldTypeformstringNo
LabelIsformstringNo
LabelEnformstringNo
PlaceholderIsformstringNo
PlaceholderEnformstringNo
IsRequiredformboolNo
MaxLengthformintNo
OptionsJsonformstringNo
ScopeformstringNo
SortOrderformintNo
IsSystemformboolNo
IsActiveformbool?No
HasAnswersformbool?No

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 /extraInfo/form/{EventId} HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	eventId: 0,
	showAlert: False,
	alertTitleIs: String,
	alertTitleEn: String,
	alertBodyIs: String,
	alertBodyEn: String,
	alertButtonIs: String,
	alertButtonEn: String,
	isDefault: False,
	fields: 
	[
		{
			id: 0,
			fieldKey: String,
			fieldType: String,
			labelIs: String,
			labelEn: String,
			placeholderIs: String,
			placeholderEn: String,
			isRequired: False,
			maxLength: 0,
			optionsJson: String,
			scope: String,
			sortOrder: 0,
			isSystem: False,
			isActive: False,
			hasAnswers: False
		}
	]
}