| GET | /essence/detail |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| EssenceId | query | long | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Essence | form | 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 .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /essence/detail HTTP/1.1 Host: heidak-api.build.exanic.ch Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
essence:
{
id: 0,
ethanol: 0,
productGroup: 1,
fileName: String,
isActive: False,
localizations:
[
{
languageCode: 1,
name: String,
summary: String,
shortDescription: String,
contraIndication: String
}
]
}
}