heilog.ch.Api

<back to all web services

GetPricePresetRequest

The following routes are available for this service:
GET/pricepreset
GetPricePresetResponse Parameters:
NameParameterData TypeRequiredDescription
PricePresetsformList<PricePresetDto>No
PricePresetDto Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
LabelTypeformLabelTypeNo
PriceformdecimalNo
SizeformintNo
LabelType Enum:
NameValue
SpagyricsHuman1
Tea2
SpagyricsAnimal3
Emulsion4
Tincture5
Homeopathie6
BudExtract7
Empty8

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

GET /pricepreset HTTP/1.1 
Host: heidak-api.build.exanic.ch 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"pricePresets":[{"id":0,"labelType":1,"price":0,"size":0}]}