| GET | /illness |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| IllnessId | query | long | No | |
| ProductGroup | query | ProductGroup? | No |
| Name | Value | |
|---|---|---|
| Spagyric | 1 | |
| Herbs | 3 | |
| Tinctures | 4 | |
| MineralSolution | 6 | |
| LMPotency | 7 | |
| Custom | 9 | |
| BudExtract | 10 |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Illness | form | IllnessDetailDto | No | |
| Treatments | form | List<TreatmentListItemDto> | 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 |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | long | No | |
| EssenceName | form | string | No | |
| EssenceProductGroup | form | ProductGroup | No | |
| Symptom | form | string | No | |
| TargetType | form | TargetType | 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.
GET /illness HTTP/1.1 Host: heidak-api.build.exanic.ch Accept: text/jsv
HTTP/1.1 200 OK
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
}
]
},
treatments:
[
{
id: 0,
essenceName: String,
essenceProductGroup: 1,
symptom: String,
targetType: 1
}
]
}