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 .xml suffix or ?format=xml

HTTP + XML

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: application/xml
Content-Type: application/xml
Content-Length: length

<GetLabelTemplateBase64Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/heilog.ch.Api.ServiceModel.LabelTemplate">
  <LabelTemplatePropertiesDto xmlns:d2p1="http://schemas.datacontract.org/2004/07/heilog.ch.Api.Dto.LabelTemplate">
    <d2p1:AusgabeTyp>Preview</d2p1:AusgabeTyp>
    <d2p1:Etikette>String</d2p1:Etikette>
    <d2p1:Variables>
      <d2p1:Ablaufdatum_Label>String</d2p1:Ablaufdatum_Label>
      <d2p1:Ablaufdatum_Value>String</d2p1:Ablaufdatum_Value>
      <d2p1:Anwendung>String</d2p1:Anwendung>
      <d2p1:Aufbewahrung>String</d2p1:Aufbewahrung>
      <d2p1:Barcode>String</d2p1:Barcode>
      <d2p1:ChargenNr_Label>String</d2p1:ChargenNr_Label>
      <d2p1:ChargenNr_Value>String</d2p1:ChargenNr_Value>
      <d2p1:Dosierung_Label>String</d2p1:Dosierung_Label>
      <d2p1:Dosierung_Value>String</d2p1:Dosierung_Value>
      <d2p1:Ethanolhinweis_Value>String</d2p1:Ethanolhinweis_Value>
      <d2p1:Formel_Label>String</d2p1:Formel_Label>
      <d2p1:Formel_Value>String</d2p1:Formel_Value>
      <d2p1:Herstelldatum_Label>String</d2p1:Herstelldatum_Label>
      <d2p1:Herstelldatum_Value>String</d2p1:Herstelldatum_Value>
      <d2p1:Inhalt_Label>String</d2p1:Inhalt_Label>
      <d2p1:Inhalt_Value>String</d2p1:Inhalt_Value>
      <d2p1:Lagertemp>String</d2p1:Lagertemp>
      <d2p1:Logo>String</d2p1:Logo>
      <d2p1:Name_Label>String</d2p1:Name_Label>
      <d2p1:Name_Value>String</d2p1:Name_Value>
      <d2p1:Preis_Label>String</d2p1:Preis_Label>
      <d2p1:Preis_Value>String</d2p1:Preis_Value>
      <d2p1:RTF_Indikation>String</d2p1:RTF_Indikation>
      <d2p1:Titel>String</d2p1:Titel>
    </d2p1:Variables>
  </LabelTemplatePropertiesDto>
</GetLabelTemplateBase64Request>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetLabelTemplateBase64Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/heilog.ch.Api.ServiceModel.LabelTemplate">
  <LabelTemplateBase64>String</LabelTemplateBase64>
</GetLabelTemplateBase64Response>