heilog.ch.Api

<back to all web services

UpdateAssortmentRequest

The following routes are available for this service:
PUT/assortment
UpdateAssortmentRequest Parameters:
NameParameterData TypeRequiredDescription
AssortmentbodyList<UpdateAssortmentDto>No
UpdateAssortmentDto Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
ChargeNoformstringNo
EssenceIdformlongNo
ExpiryDateformDateTime?No
SignatureformstringNo
InStockformboolNo

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.

PUT /assortment HTTP/1.1 
Host: heidak-api.test.exanic.ch 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	assortment: 
	[
		{
			id: 0,
			chargeNo: String,
			essenceId: 0,
			expiryDate: 0001-01-01,
			signature: String,
			inStock: False
		}
	]
}