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
EssenceIdformlongNo
SignatureformstringNo
InStockformboolNo
ChargenformList<AssortmentChargenItemDto>No
AssortmentChargenItemDto Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
AssortmentIdformlongNo
ChargeNoformstringNo
ExpiryDateformDateTime?No

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.build.exanic.ch 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

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