| Requires any of the roles: | Admin, TeamAdmin, MobileApp | Required permission: | Tickets.Add |
| GET | /extraInfo/form/{EventId}/admin |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| EventId | path | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| EventId | form | int | No | |
| ShowAlert | form | bool | No | |
| AlertTitleIs | form | string | No | |
| AlertTitleEn | form | string | No | |
| AlertBodyIs | form | string | No | |
| AlertBodyEn | form | string | No | |
| AlertButtonIs | form | string | No | |
| AlertButtonEn | form | string | No | |
| IsDefault | form | bool | No | |
| Fields | form | List<ExtraInfoFieldInfo> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| FieldKey | form | string | No | |
| FieldType | form | string | No | |
| LabelIs | form | string | No | |
| LabelEn | form | string | No | |
| PlaceholderIs | form | string | No | |
| PlaceholderEn | form | string | No | |
| IsRequired | form | bool | No | |
| MaxLength | form | int | No | |
| OptionsJson | form | string | No | |
| Scope | form | string | No | |
| SortOrder | form | int | No | |
| IsSystem | form | bool | No | |
| IsActive | form | bool? | No | |
| HasAnswers | form | bool? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /extraInfo/form/{EventId}/admin HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
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}]}