heilog.ch.Api

<back to all web services

GetLabelTemplateBase64Request

The following routes are available for this service:
POST/label-template
GetLabelTemplateBase64Request Parameters:
NameParameterData TypeRequiredDescription
LabelTemplatePropertiesDtobodyLabelTemplatePropertiesDtoNo
LabelTemplatePropertiesDto Parameters:
NameParameterData TypeRequiredDescription
EtiketteformstringNo
AusgabeTypformOutputTypeNo
VariablesformLabelTemplateVariablesDtoNo
OutputType Enum:
NameValue
Preview1
Print2
LabelTemplateVariablesDto Parameters:
NameParameterData TypeRequiredDescription
Ablaufdatum_LabelformstringNo
Ablaufdatum_ValueformstringNo
AnwendungformstringNo
AufbewahrungformstringNo
BarcodeformstringNo
ChargenNr_LabelformstringNo
ChargenNr_ValueformstringNo
Dosierung_LabelformstringNo
Dosierung_ValueformstringNo
Ethanolhinweis_ValueformstringNo
Formel_LabelformstringNo
Formel_ValueformstringNo
Herstelldatum_LabelformstringNo
Herstelldatum_ValueformstringNo
RTF_IndikationformstringNo
Inhalt_LabelformstringNo
Inhalt_ValueformstringNo
LagertempformstringNo
LogoformstringNo
Name_LabelformstringNo
Name_ValueformstringNo
Preis_LabelformstringNo
Preis_ValueformstringNo
TitelformstringNo
GetLabelTemplateBase64Response Parameters:
NameParameterData TypeRequiredDescription
LabelTemplateBase64formstringNo

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.

POST /label-template HTTP/1.1 
Host: heidak-api.test.exanic.ch 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	labelTemplatePropertiesDto: 
	{
		etikette: String,
		ausgabeTyp: 1,
		variables: 
		{
			ablaufdatum_Label: String,
			ablaufdatum_Value: String,
			anwendung: String,
			aufbewahrung: String,
			barcode: String,
			chargenNr_Label: String,
			chargenNr_Value: String,
			dosierung_Label: String,
			dosierung_Value: String,
			ethanolhinweis_Value: String,
			formel_Label: String,
			formel_Value: String,
			herstelldatum_Label: String,
			herstelldatum_Value: String,
			rtF_Indikation: String,
			inhalt_Label: String,
			inhalt_Value: String,
			lagertemp: String,
			logo: String,
			name_Label: String,
			name_Value: String,
			preis_Label: String,
			preis_Value: String,
			titel: String
		}
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	labelTemplateBase64: String
}