heilog.ch.Api

<back to all web services

UpdateDurabilityPresetRequest

The following routes are available for this service:
PUT/durabilitypreset
UpdateDurabilityPresetRequest Parameters:
NameParameterData TypeRequiredDescription
DurabilityPresetsbodyList<DurabilityPresetDto>No
DurabilityPresetDto Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
LabelTypeformLabelTypeNo
DurabilityYearsformintNo
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 /durabilitypreset HTTP/1.1 
Host: heidak-api.test.exanic.ch 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	durabilityPresets: 
	[
		{
			id: 0,
			labelType: 1,
			durabilityYears: 0
		}
	]
}