| GET | /assortment/expiring |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ExpiringAssortment | form | List<ExpiringAssortmentItemDto> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Name | form | string | No | |
| ExpiryDate | form | DateTime | No | |
| ProductGroup | form | ProductGroup | No |
| Name | Value | |
|---|---|---|
| Spagyric | 1 | |
| Herbs | 3 | |
| Tinctures | 4 | |
| MineralSolution | 6 | |
| LMPotency | 7 | |
| Custom | 9 | |
| BudExtract | 10 |
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.
GET /assortment/expiring HTTP/1.1 Host: heidak-api.build.exanic.ch Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
expiringAssortment:
[
{
name: String,
expiryDate: 0001-01-01,
productGroup: 1
}
]
}