heilog.ch.Api

<back to all web services

UpdatePricePresetRequest

The following routes are available for this service:
PUT/pricepreset
UpdatePricePresetRequest Parameters:
NameParameterData TypeRequiredDescription
PricePresetsbodyList<PricePresetDto>No
PricePresetDto Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
LabelTypeformLabelTypeNo
PriceformdecimalNo
SizeformintNo
LabelType Enum:
NameValue
SpagyricsHuman1
Tea2
SpagyricsAnimal3
Emulsion4
Tincture5
Homeopathie6
BudExtract7
Empty8

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 /pricepreset HTTP/1.1 
Host: heidak-api.test.exanic.ch 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	pricePresets: 
	[
		{
			id: 0,
			labelType: 1,
			price: 0,
			size: 0
		}
	]
}