heilog.ch.Api

<back to all web services

GetExpiringAssortmentRequest

The following routes are available for this service:
GET/assortment/expiring
GetExpiringAssortmentResponse Parameters:
NameParameterData TypeRequiredDescription
ExpiringAssortmentformList<ExpiringAssortmentItemDto>No
ExpiringAssortmentItemDto Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
ExpiryDateformDateTimeNo
ProductGroupformProductGroupNo
ProductGroup Enum:
NameValue
Spagyric1
Herbs3
Tinctures4
MineralSolution6
LMPotency7
Custom9
BudExtract10

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + 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}]}