PUT | /indication/{IndicationId} |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Indication | body | IndicationDetailDto | No | |
IllnessIds | body | List<long> | 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 |
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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /indication/{IndicationId} HTTP/1.1
Host: heidak-api.test.exanic.ch
Accept: application/json
Content-Type: application/json
Content-Length: length
{"indication":{"id":0,"targetType":1,"isActive":false,"localizations":[{"id":0,"languageCode":1,"name":"String"}]},"illnessIds":[0]}