| POST | /label-template |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| LabelTemplatePropertiesDto | body | LabelTemplatePropertiesDto | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Etikette | form | string | No | |
| AusgabeTyp | form | OutputType | No | |
| Variables | form | LabelTemplateVariablesDto | No |
| Name | Value | |
|---|---|---|
| Preview | 1 | |
| 2 |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Ablaufdatum_Label | form | string | No | |
| Ablaufdatum_Value | form | string | No | |
| Anwendung | form | string | No | |
| Aufbewahrung | form | string | No | |
| Barcode | form | string | No | |
| ChargenNr_Label | form | string | No | |
| ChargenNr_Value | form | string | No | |
| Dosierung_Label | form | string | No | |
| Dosierung_Value | form | string | No | |
| Ethanolhinweis_Value | form | string | No | |
| Formel_Label | form | string | No | |
| Formel_Value | form | string | No | |
| Herstelldatum_Label | form | string | No | |
| Herstelldatum_Value | form | string | No | |
| RTF_Indikation | form | string | No | |
| Inhalt_Label | form | string | No | |
| Inhalt_Value | form | string | No | |
| Lagertemp | form | string | No | |
| Logo | form | string | No | |
| Name_Label | form | string | No | |
| Name_Value | form | string | No | |
| Preis_Label | form | string | No | |
| Preis_Value | form | string | No | |
| Titel | form | string | No | |
| Zusammensetzung_Label | form | string | No | |
| Zusammensetzung_Value | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| LabelTemplateBase64 | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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.build.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,
zusammensetzung_Label: String,
zusammensetzung_Value: String
}
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
labelTemplateBase64: String
}