PUT | /durabilitypreset |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DurabilityPresets | body | List<DurabilityPresetDto> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
LabelType | form | LabelType | No | |
DurabilityYears | 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 /durabilitypreset HTTP/1.1
Host: heidak-api.test.exanic.ch
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
durabilityPresets:
[
{
id: 0,
labelType: 1,
durabilityYears: 0
}
]
}