ApexERPHost

<back to all web services

GetPharmaProdHistory

Requires Authentication
The following routes are available for this service:
GET/POS/Pharma/Products/History
GetPharmaProdHistory Parameters:
NameParameterData TypeRequiredDescription
BranchIdqueryintNo
ProdppIdquerystringNo
BatchIdqueryGuid?No
D1queryDateTime?No
D2queryDateTime?No
GetPharmaProdHistoryResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<PharmaProdHistory>No
PharmaProdHistory Parameters:
NameParameterData TypeRequiredDescription
BatchNumformintNo
PosNumformintNo
OpdateformDateTimeNo
CashieridformintNo
CashierformstringNo
OpdtformDateTimeNo
ReceiptNumformintNo
OptypeformintNo
ScountformdecimalNo
PricegformdecimalNo
DiscountformdecimalNo
VgformdecimalNo
BuyerformstringNo
DestNumberformstringNo
SupplierAccformstringNo
InDateformDateTime?No
LifeDateformDateTime?No
CodeformstringNo

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/Pharma/Products/History 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: 
	[
		{
			BatchNum: 0,
			PosNum: 0,
			Opdate: 0001-01-01,
			Cashierid: 0,
			Cashier: String,
			Opdt: 0001-01-01,
			ReceiptNum: 0,
			Optype: 0,
			Scount: 0,
			Priceg: 0,
			Discount: 0,
			Vg: 0,
			Buyer: String,
			DestNumber: String,
			SupplierAcc: String,
			InDate: 0001-01-01,
			LifeDate: 0001-01-01,
			Code: String
		}
	]
}