| GET | /extraInfo/form/{EventId} |
|---|
| 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 .jsv suffix or ?format=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
}
]
}