PUT | /labelpreset |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
LabelPreset | body | LabelPresetDto | No |
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 |
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.
PUT /labelpreset HTTP/1.1
Host: heidak-api.build.exanic.ch
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
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
}
]
}
}