| PUT | /recipe/{RecipeId/label} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RecipeId | body | long | No | |
| Label | body | CreateRecipeLabelDto | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CustomerId | form | long? | No | |
| LabelLanguage | form | LanguageCode | No | |
| LabelType | form | LabelType | No | |
| Title | form | string | No | |
| Usage | form | string | No | |
| Illness | form | string | No | |
| CustomerPrefix | form | string | No | |
| CustomerName | form | string | No | |
| IngredientPrefix | form | string | No | |
| IngredientText | form | string | No | |
| DosagePrefix | form | string | No | |
| DosageText | form | string | No | |
| EmulsionPrefix | form | string | No | |
| EmulsionText | form | string | No | |
| EthanolText | form | string | No | |
| StorageText | form | string | No | |
| ChargeNrPrefix | form | string | No | |
| AmountPrefix | form | string | No | |
| PricePrefix | form | string | No | |
| Barcode | form | string | No | |
| Price | form | float | No | |
| ManufacturedPrefix | form | string | No | |
| BestUntilPrefix | form | string | No | |
| BestUntil | form | DateTime? | No | |
| Manufactured | form | DateTime | No | |
| UnitOfMeasure | form | string | No |
| Name | Value | |
|---|---|---|
| de | 1 | |
| fr | 2 | |
| it | 3 |
| Name | Value | |
|---|---|---|
| SpagyricsHuman | 1 | |
| Tea | 2 | |
| SpagyricsAnimal | 3 | |
| Emulsion | 4 | |
| Tincture | 5 | |
| Homeopathie | 6 | |
| BudExtract | 7 | |
| Empty | 8 |
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.
PUT /recipe/{RecipeId/label} HTTP/1.1
Host: heidak-api.build.exanic.ch
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"recipeId":0,"label":{"customerId":0,"labelLanguage":1,"labelType":1,"title":"String","usage":"String","illness":"String","customerPrefix":"String","customerName":"String","ingredientPrefix":"String","ingredientText":"String","dosagePrefix":"String","dosageText":"String","emulsionPrefix":"String","emulsionText":"String","ethanolText":"String","storageText":"String","chargeNrPrefix":"String","amountPrefix":"String","pricePrefix":"String","barcode":"String","price":0,"manufacturedPrefix":"String","bestUntilPrefix":"String","bestUntil":"0001-01-01T00:00:00.0000000","manufactured":"0001-01-01T00:00:00.0000000","unitOfMeasure":"String"}}