GET | /presets |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
BarcodePresets | form | List<BarcodePresetDto> | No | |
LabelPreset | form | LabelPresetDto | No | |
PricePresets | form | List<PricePresetDto> | No | |
DurabilityPresets | form | List<DurabilityPresetDto> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
LabelType | form | LabelType | No | |
Barcode | form | string | No | |
Size | form | int | No |
Name | Value | |
---|---|---|
SpagyricsHuman | 1 | |
Tea | 2 | |
SpagyricsAnimal | 3 | |
Emulsion | 4 | |
Tincture | 5 | |
Homeopathie | 6 | |
BudExtract | 7 | |
Empty | 8 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
FontSizeTitle | form | int? | No | |
FontSizeApplication | form | int? | No | |
FontSizeIndication | form | int? | No | |
Localizations | form | List<LabelPresetLocalizationDto> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
LanguageCode | form | LanguageCode | No | |
DescriptionApplication | form | string | No | |
IndividualDosageTitle1 | form | string | No | |
IndividualDosageText1 | form | string | No | |
IndividualDosageTitle2 | form | string | No | |
IndividualDosageText2 | form | string | No | |
IndividualDosageTitle3 | form | string | No | |
IndividualDosageText3 | form | string | No | |
IndividualDosageTitle4 | form | string | No | |
IndividualDosageText4 | form | string | No | |
IndividualDosageTitle5 | form | string | No | |
IndividualDosageText5 | form | string | No |
Name | Value | |
---|---|---|
de | 1 | |
fr | 2 | |
it | 3 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
LabelType | form | LabelType | No | |
Price | form | decimal | No | |
Size | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
LabelType | form | LabelType | No | |
DurabilityYears | form | int | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /presets HTTP/1.1 Host: heidak-api.build.exanic.ch Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"barcodePresets":[{"id":0,"labelType":1,"barcode":"String","size":0}],"labelPreset":{"id":0,"fontSizeTitle":0,"fontSizeApplication":0,"fontSizeIndication":0,"localizations":[{"id":0,"languageCode":1,"descriptionApplication":"String","individualDosageTitle1":"String","individualDosageText1":"String","individualDosageTitle2":"String","individualDosageText2":"String","individualDosageTitle3":"String","individualDosageText3":"String","individualDosageTitle4":"String","individualDosageText4":"String","individualDosageTitle5":"String","individualDosageText5":"String"}]},"pricePresets":[{"id":0,"labelType":1,"price":0,"size":0}],"durabilityPresets":[{"id":0,"labelType":1,"durabilityYears":0}]}