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 .csv suffix or ?format=csv
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/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"expiringAssortment":[{"name":"String","expiryDate":"0001-01-01T00:00:00.0000000","productGroup":1}]}