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 .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/Pharma/Products/History 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":[{"BatchNum":0,"PosNum":0,"Opdate":"\/Date(-62135596800000-0000)\/","Cashierid":0,"Cashier":"String","Opdt":"\/Date(-62135596800000-0000)\/","ReceiptNum":0,"Optype":0,"Scount":0,"Priceg":0,"Discount":0,"Vg":0,"Buyer":"String","DestNumber":"String","SupplierAcc":"String","InDate":"\/Date(-62135596800000-0000)\/","LifeDate":"\/Date(-62135596800000-0000)\/","Code":"String"}]}