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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
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}]}