heilog.ch.Api

<back to all web services

GetPartnerRecipesRequest

The following routes are available for this service:
GET/recipe/partner
GetPartnerRecipesRequest Parameters:
NameParameterData TypeRequiredDescription
TherapistIdquerylongNo
PageSizequeryintNo
PagequeryintNo
PropertyquerystringNo
IsAscendingqueryboolNo
CustomerquerystringNo
IndicationquerystringNo
ChargeNrquerystringNo
IncludeHiddenRecipesqueryboolNo
GetRecipesResponse Parameters:
NameParameterData TypeRequiredDescription
RecipesformList<RecipeOverviewDto>No
TotalEntitiesformlongNo
PageformintNo
PageSizeformintNo
PropertyformstringNo
IsAscendingformboolNo
RecipeOverviewDto Parameters:
NameParameterData TypeRequiredDescription
RecipeIdformlongNo
CreatedUtcformDateTimeNo
TitleformstringNo
CustomerNameformstringNo
IllnessformstringNo
LegacyChargeNrformstringNo
SignatureformstringNo
PharmacistIdformlong?No
OwnerIdformlongNo
IsVisibleformboolNo
RecipeStateformRecipeStateNo
CanPrintLabelformboolNo
HasProtocolformboolNo
RecipeState Enum:
NameValue
Draft0
RecipeSentToPartner1
Printed2
UnusedPartnerRecipe3

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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /recipe/partner HTTP/1.1 
Host: heidak-api.test.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}