heilog.ch.Api

<back to all web services

GetWizardTreatmentsRequest

The following routes are available for this service:
GET/treatment/wizard
GetWizardTreatmentsRequest Parameters:
NameParameterData TypeRequiredDescription
IllnessIdquerylongNo
EssenceNamequerystringNo
SymptomquerystringNo
EffectiveAspectqueryEffectiveAspect?No
ProductGroupqueryProductGroupNo
TargetTypequeryTargetTypeNo
EffectiveAspect Enum:
NameValue
UNSET1
HOMEO2
AROMATIC3
MINERAL4
PHYTO5
ProductGroup Enum:
NameValue
Spagyric1
Herbs3
Tinctures4
MineralSolution6
LMPotency7
Custom9
BudExtract10
TargetType Enum:
NameValue
Human1
Animal2
GetWizardTreatmentsResponse Parameters:
NameParameterData TypeRequiredDescription
TreatmentsformList<WizardTreatmentDto>No
GroupsWithResultsformList<ProductGroup>No
WizardTreatmentDto Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
SymptomformstringNo
EffectiveAspectformEffectiveAspectNo
EssenceformEssenceDtoNo
EssenceInStockformboolNo
ChargeNoformstringNo
ExpiryDateformDateTime?No
EssenceDto Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
EthanolformdoubleNo
ProductGroupformProductGroupNo
IsActiveformboolNo
NameformstringNo
SummaryformstringNo
ContraIndicationformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /treatment/wizard HTTP/1.1 
Host: heidak-api.test.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
	]
}