| GET | /durabilitypreset |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| DurabilityPresets | form | 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 .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /durabilitypreset HTTP/1.1 Host: heidak-api.build.exanic.ch Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"durabilityPresets":[{"id":0,"labelType":1,"durabilityYears":0}]}