PUT | /illness/{IllnessId} |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Illness | body | IllnessDetailDto | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
LegacyId | form | long? | No | |
TargetType | form | TargetType | No | |
IsActive | form | bool? | No | |
Localizations | form | List<IllnessLocalizationDto> | 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 | |
Summary | 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 .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /illness/{IllnessId} HTTP/1.1
Host: heidak-api.build.exanic.ch
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
illness:
{
id: 0,
legacyId: 0,
targetType: 1,
isActive: False,
localizations:
[
{
id: 0,
languageCode: 1,
name: String,
summary: String
}
]
}
}