All Verbs | /indication/{IndicationId} |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
IndicationId | path | long | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Indication | form | IndicationDetailDto | No | |
ResolvesToIllnesses | form | List<IllnessListItemDto> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
TargetType | form | TargetType | No | |
IsActive | form | bool | No | |
Localizations | form | List<IndicationLocalizationDto> | No |
Name | Value | |
---|---|---|
Human | 1 | |
Animal | 2 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
LanguageCode | form | LanguageCode | No | |
Name | form | string | No |
Name | Value | |
---|---|---|
de | 1 | |
fr | 2 | |
it | 3 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
Name | form | string | No | |
TargetType | form | TargetType | No | |
IsActive | 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.
POST /indication/{IndicationId} HTTP/1.1
Host: heidak-api.test.exanic.ch
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
indicationId: 0
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { indication: { id: 0, targetType: 1, isActive: False, localizations: [ { id: 0, languageCode: 1, name: String } ] }, resolvesToIllnesses: [ { id: 0, name: String, targetType: 1, isActive: False } ] }