ApexERPHost

<back to all web services

GetMohPrescription

Requires Authentication
The following routes are available for this service:
GET/POS/MOH/Prescription/{IdNumber}
GET/POS/MOH/Prescription
GetMohPrescription Parameters:
NameParameterData TypeRequiredDescription
BranchNumqueryintNo
IdNumberpathstringNo
BirthDatequeryDateTimeNo
StatusqueryintNo
GetMohPrescriptionResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<MohPrescription>No
MohPrescription Parameters:
NameParameterData TypeRequiredDescription
UNIDformintNo
DSformstringNo
Is_GenericformintNo
Product_IDformintNo
Prescr_IDformstringNo
RecipeNoformstringNo
Oper_DateformDateTime?No
DurationformDateTime?No
Prod_DescrformstringNo
ProductGenericformstringNo
Dosage_PrivformboolNo
Prod_CountformintNo
Prod_LeftformintNo
StatusformstringNo
PharmaTherapyGroupformstringNo
IssuanceModeformstringNo
IdNumberformstringNo
BirthdayformDateTime?No

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 /POS/MOH/Prescription/{IdNumber} HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":[{"UNID":0,"DS":"String","Is_Generic":0,"Product_ID":0,"Prescr_ID":"String","RecipeNo":"String","Oper_Date":"\/Date(-62135596800000-0000)\/","Duration":"\/Date(-62135596800000-0000)\/","Prod_Descr":"String","ProductGeneric":"String","Dosage_Priv":false,"Prod_Count":0,"Prod_Left":0,"Status":"String","PharmaTherapyGroup":"String","IssuanceMode":"String","IdNumber":"String","Birthday":"\/Date(-62135596800000-0000)\/"}]}