PUT | /essence/{EssenceId} |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TemporaryImageFileId | body | string | No | |
TemporaryImageFileExtension | body | string | No | |
Essence | body | EssenceDetailDto | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
Ethanol | form | double | No | |
ProductGroup | form | ProductGroup | No | |
FileName | form | string | No | |
IsActive | form | bool | No | |
Localizations | form | List<EssenceLocalizationDto> | No |
Name | Value | |
---|---|---|
Spagyric | 1 | |
Herbs | 3 | |
Tinctures | 4 | |
MineralSolution | 6 | |
LMPotency | 7 | |
Custom | 9 | |
BudExtract | 10 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
LanguageCode | form | LanguageCode | No | |
Name | form | string | No | |
Summary | form | string | No | |
ShortDescription | form | string | No | |
ContraIndication | 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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /essence/{EssenceId} HTTP/1.1
Host: heidak-api.build.exanic.ch
Accept: application/json
Content-Type: application/json
Content-Length: length
{"temporaryImageFileId":"String","temporaryImageFileExtension":"String","essence":{"id":0,"ethanol":0,"productGroup":1,"fileName":"String","isActive":false,"localizations":[{"languageCode":1,"name":"String","summary":"String","shortDescription":"String","contraIndication":"String"}]}}