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 .jsv suffix or ?format=jsv
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.build.exanic.ch Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv 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-01 } ], groupsWithResults: [ 1 ] }