| Requires any of the roles: | Admin, TeamAdmin | Required permission: | Tickets.Add |
| PUT | /extraInfo/form/{EventId} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| EventId | path | int | No | |
| EventOwnerId | body | int | No | |
| ShowAlert | body | bool | No | |
| AlertTitleIs | body | string | No | |
| AlertTitleEn | body | string | No | |
| AlertBodyIs | body | string | No | |
| AlertBodyEn | body | string | No | |
| AlertButtonIs | body | string | No | |
| AlertButtonEn | body | string | No | |
| Fields | body | List<ExtraInfoFieldInput> | 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 | |
| SortOrder | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Success | form | bool | No | |
| Errors | form | List<ExtraInfoError> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| FieldKey | form | string | No | |
| Code | form | string | No | |
| Message | form | string | 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.
PUT /extraInfo/form/{EventId} HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"eventId":0,"eventOwnerId":0,"showAlert":false,"alertTitleIs":"String","alertTitleEn":"String","alertBodyIs":"String","alertBodyEn":"String","alertButtonIs":"String","alertButtonEn":"String","fields":[{"id":0,"fieldKey":"String","fieldType":"String","labelIs":"String","labelEn":"String","placeholderIs":"String","placeholderEn":"String","isRequired":false,"maxLength":0,"optionsJson":"String","sortOrder":0}]}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"success":false,"errors":[{"fieldKey":"String","code":"String","message":"String"}]}