PUT | /treatment/{TreatmentId} |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Treatment | body | TreatmentDetailDto | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
IllnessId | form | long | No | |
EssenceId | form | long | No | |
TargetType | form | TargetType | No | |
EffectiveAspect | form | EffectiveAspect | No | |
Localizations | form | List<TreatmentLocalizationDto> | No |
Name | Value | |
---|---|---|
Human | 1 | |
Animal | 2 |
Name | Value | |
---|---|---|
UNSET | 1 | |
HOMEO | 2 | |
AROMATIC | 3 | |
MINERAL | 4 | |
PHYTO | 5 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
LanguageCode | form | LanguageCode | No | |
Symptom | 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 /treatment/{TreatmentId} HTTP/1.1
Host: heidak-api.build.exanic.ch
Accept: application/json
Content-Type: application/json
Content-Length: length
{"treatment":{"id":0,"illnessId":0,"essenceId":0,"targetType":1,"effectiveAspect":1,"localizations":[{"id":0,"languageCode":1,"symptom":"String"}]}}