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 .jsv suffix or ?format=jsv

HTTP + JSV

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: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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: 0001-01-01,
			Duration: 0001-01-01,
			Prod_Descr: String,
			ProductGeneric: String,
			Dosage_Priv: False,
			Prod_Count: 0,
			Prod_Left: 0,
			Status: String,
			PharmaTherapyGroup: String,
			IssuanceMode: String,
			IdNumber: String,
			Birthday: 0001-01-01
		}
	]
}