GET | /treatment |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TreatmentId | query | long | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Treatment | form | 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 .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /treatment HTTP/1.1 Host: heidak-api.build.exanic.ch Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"treatment":{"id":0,"illnessId":0,"essenceId":0,"targetType":1,"effectiveAspect":1,"localizations":[{"id":0,"languageCode":1,"symptom":"String"}]}}