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 .jsv suffix or ?format=jsv

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