GET | /recipe |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PageSize | query | int | No | |
Page | query | int | No | |
Property | query | string | No | |
IsAscending | query | bool | No | |
Customer | query | string | No | |
Indication | query | string | No | |
ChargeNr | query | string | No | |
IncludeHiddenRecipes | query | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Recipes | form | List<RecipeOverviewDto> | No | |
TotalEntities | form | long | No | |
Page | form | int | No | |
PageSize | form | int | No | |
Property | form | string | No | |
IsAscending | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RecipeId | form | long | No | |
CreatedUtc | form | DateTime | No | |
Title | form | string | No | |
CustomerName | form | string | No | |
Illness | form | string | No | |
LegacyChargeNr | form | string | No | |
Signature | form | string | No | |
PharmacistId | form | long? | No | |
OwnerId | form | long | No | |
IsVisible | form | bool | No | |
RecipeState | form | RecipeState | No | |
CanPrintLabel | form | bool | No | |
HasProtocol | form | bool | No |
Name | Value | |
---|---|---|
Draft | 0 | |
RecipeSentToPartner | 1 | |
Printed | 2 | |
UnusedPartnerRecipe | 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.
GET /recipe HTTP/1.1 Host: heidak-api.build.exanic.ch Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"recipes":[{"recipeId":0,"createdUtc":"0001-01-01T00:00:00.0000000","title":"String","customerName":"String","illness":"String","legacyChargeNr":"String","signature":"String","pharmacistId":0,"ownerId":0,"isVisible":false,"recipeState":0,"canPrintLabel":false,"hasProtocol":false}],"totalEntities":0,"page":0,"pageSize":0,"property":"String","isAscending":false}