PUT | /pricepreset |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PricePresets | body | List<PricePresetDto> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
LabelType | form | LabelType | No | |
Price | form | decimal | No | |
Size | form | int | No |
Name | Value | |
---|---|---|
SpagyricsHuman | 1 | |
Tea | 2 | |
SpagyricsAnimal | 3 | |
Emulsion | 4 | |
Tincture | 5 | |
Homeopathie | 6 | |
BudExtract | 7 | |
Empty | 8 |
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.
PUT /pricepreset HTTP/1.1
Host: heidak-api.test.exanic.ch
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
pricePresets:
[
{
id: 0,
labelType: 1,
price: 0,
size: 0
}
]
}