ApexERPHost

<back to all web services

GetPrescriptionData

Requires Authentication
The following routes are available for this service:
GET/POS/Pharma/Prescriptions
GetPrescriptionData Parameters:
NameParameterData TypeRequiredDescription
PrescriptionNumberquerystringNo
PersonalNumberquerystringNo
PolicyNumberquerystringNo
CardNumberquerystringNo
CofoundingProviderIdquerystringNo
GetPrescriptionDataResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ProductsformList<PrescriptionProduct>No
InfoformPrescriptionInfoNo
PrescriptionProduct Parameters:
NameParameterData TypeRequiredDescription
PrescribedQuantityformdecimalNo
LeftQuantityformdecimalNo
CofoundingPriceformdecimal?No
CofoundingCoveragePercentformdecimal?No
ProductformPharmaPosProductNo
PharmaPosProduct Parameters:
NameParameterData TypeRequiredDescription
BCodeformstringNo
ProdIdformstringNo
NameformstringNo
GenericNameformstringNo
GenericIdformstringNo
ProducerNameformstringNo
ProducerCountryformstringNo
PackCountformshortNo
PackBCountformdecimalNo
VatformdecimalNo
UnitformstringNo
PDoseformstringNo
RCountformdecimalNo
Priorityformint?No
Actionformint?No
SpecificformboolNo
IsServiceformintNo
CategoryIdformstringNo
ProducerIdformstringNo
PrescriptionInfo Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
PrescriptionNumberformstringNo
FirstNameformstringNo
LastNameformstringNo
PersonalNumberformstringNo
OpDateformDateTimeNo
ExpirationDateformDateTime?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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

GET /POS/Pharma/Prescriptions HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Products":[{"PrescribedQuantity":0,"LeftQuantity":0,"CofoundingPrice":0,"CofoundingCoveragePercent":0,"Product":{"BCode":"String","ProdId":"String","Name":"String","GenericName":"String","GenericId":"String","ProducerName":"String","ProducerCountry":"String","PackCount":0,"PackBCount":0,"Vat":0,"Unit":"String","PDose":"String","RCount":0,"Priority":0,"Action":0,"Specific":false,"IsService":0,"CategoryId":"String","ProducerId":"String"}}],"Info":{"ID":0,"PrescriptionNumber":"String","FirstName":"String","LastName":"String","PersonalNumber":"String","OpDate":"\/Date(-62135596800000-0000)\/","ExpirationDate":"\/Date(-62135596800000-0000)\/"}}