GET | /treatment/{PharmacyId}/wizard |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
IllnessId | query | long | No | |
EssenceName | query | string | No | |
Symptom | query | string | No | |
EffectiveAspect | query | EffectiveAspect? | No | |
ProductGroup | query | ProductGroup | No | |
TargetType | query | TargetType | No | |
PharmacyId | path | long | No |
Name | Value | |
---|---|---|
UNSET | 1 | |
HOMEO | 2 | |
AROMATIC | 3 | |
MINERAL | 4 | |
PHYTO | 5 |
Name | Value | |
---|---|---|
Spagyric | 1 | |
Herbs | 3 | |
Tinctures | 4 | |
MineralSolution | 6 | |
LMPotency | 7 | |
Custom | 9 | |
BudExtract | 10 |
Name | Value | |
---|---|---|
Human | 1 | |
Animal | 2 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Treatments | form | List<WizardTreatmentDto> | No | |
GroupsWithResults | form | List<ProductGroup> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
Symptom | form | string | No | |
EffectiveAspect | form | EffectiveAspect | No | |
Essence | form | EssenceDto | No | |
EssenceInStock | form | bool | No | |
ChargeNo | form | string | No | |
ExpiryDate | form | DateTime? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
Ethanol | form | double | No | |
ProductGroup | form | ProductGroup | No | |
IsActive | form | bool | No | |
Name | form | string | No | |
Summary | form | string | No | |
ContraIndication | form | string | No |
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/{PharmacyId}/wizard HTTP/1.1 Host: heidak-api.test.exanic.ch Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"treatments":[{"id":0,"symptom":"String","effectiveAspect":1,"essence":{"id":0,"ethanol":0,"productGroup":1,"isActive":false,"name":"String","summary":"String","contraIndication":"String"},"essenceInStock":false,"chargeNo":"String","expiryDate":"0001-01-01T00:00:00.0000000"}],"groupsWithResults":[1]}