ApexERPHost

<back to all web services

MohCreateRealisation

Requires Authentication
The following routes are available for this service:
POST/POS/MOH/CreateRealisation
MohCreateRealisation Parameters:
NameParameterData TypeRequiredDescription
BranchNumbodyintNo
MohProductbodyMohProductNo
PharmOrderNobodyintNo
NewDSbodystringNo
ReciverIDbodystringNo
MohProduct Parameters:
NameParameterData TypeRequiredDescription
RecipeNoformstringNo
LinkedformboolNo
ProdIDformstringNo
ProdDescrformstringNo
ProdPharmCntformintNo
ProdCntformintNo
MohCreateRealisationResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformMohOperationResultNo
UNIDformint?No
MohOperationResult Parameters:
NameParameterData TypeRequiredDescription
StatusformintNo
ResultValueformstringNo
ErrorTextformstringNo

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.

POST /POS/MOH/CreateRealisation HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	BranchNum: 0,
	MohProduct: 
	{
		RecipeNo: String,
		Linked: False,
		ProdID: String,
		ProdDescr: String,
		ProdPharmCnt: 0,
		ProdCnt: 0
	},
	PharmOrderNo: 0,
	NewDS: String,
	ReciverID: String
}
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: 
	{
		Status: 0,
		ResultValue: String,
		ErrorText: String
	},
	UNID: 0
}