GET | /assortment/{PharmacyId} |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
EssenceName | query | string | No | |
ProductGroup | query | ProductGroup? | No | |
AssortmentState | query | AssortmentState? | No | |
IncludeHiddenEssences | query | bool | No | |
Property | query | string | No | |
IsAscending | query | bool | No | |
PageSize | query | int | No | |
Page | query | int | No | |
PharmacyId | path | int | No |
Name | Value | |
---|---|---|
Spagyric | 1 | |
Herbs | 3 | |
Tinctures | 4 | |
MineralSolution | 6 | |
LMPotency | 7 | |
Custom | 9 | |
BudExtract | 10 |
Name | Value | |
---|---|---|
InStock | 1 | |
NotInStock | 2 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AssortmentList | form | List<AssortmentItemDto> | No | |
Property | form | string | No | |
IsAscending | form | bool | No | |
TotalEntities | form | long | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
ChargeNo | form | string | No | |
ExpiryDate | form | DateTime? | No | |
Signature | form | string | No | |
InStock | form | bool | No | |
Essence | form | EssenceDto | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
Ethanol | form | double | No | |
ProductGroup | form | ProductGroup | No | |
IsActive | form | bool | No | |
Name | form | string | No | |
Summary | form | string | No | |
ContraIndication | form | string | No |
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 /assortment/{PharmacyId} HTTP/1.1 Host: heidak-api.test.exanic.ch Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { assortmentList: [ { id: 0, chargeNo: String, expiryDate: 0001-01-01, signature: String, inStock: False, essence: { id: 0, ethanol: 0, productGroup: 1, isActive: False, name: String, summary: String, contraIndication: String } } ], property: String, isAscending: False, totalEntities: 0 }