ApexERPHost

<back to all web services

GetPharmaPosSupplies

Requires Authentication
The following routes are available for this service:
GET/POS/Pharma/{PosId}/Products/{ProdId}/Supplies
GetPharmaPosSupplies Parameters:
NameParameterData TypeRequiredDescription
PosIdpathintNo
ProdIdpathstringNo
IsServicequeryintNo
ReceiptIdqueryGuidNo
ClientAccquerystringNo
GetPharmaPosSuppliesResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ProductformPharmaPosProductNo
SuppliesformList<PharmaPosProductSupplie>No
PharmaPosProduct Parameters:
NameParameterData TypeRequiredDescription
BCodeformstringNo
ProdIdformstringNo
NameformstringNo
GenericNameformstringNo
GenericIdformstringNo
ProducerNameformstringNo
ProducerCountryformstringNo
PackCountformshortNo
PackBCountformdecimalNo
VatformdecimalNo
UnitformstringNo
PDoseformstringNo
RCountformdecimalNo
Priorityformint?No
Actionformint?No
SpecificformboolNo
IsServiceformintNo
CategoryIdformstringNo
ProducerIdformstringNo
PharmaPosProductSupplie Parameters:
NameParameterData TypeRequiredDescription
SupplieIdformstringNo
CodeformstringNo
DestNumberformstringNo
LifeDateformDateTime?No
RCountformdecimalNo
dDateformDateTimeNo
SupplierAccountformstringNo
SupplierNameformstringNo
MaxDiscountformdecimalNo
PriceGRformdecimalNo
PriceGTformdecimalNo
PointsformdecimalNo
IsServiceformintNo
ProdformPharmaPosProductNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /POS/Pharma/{PosId}/Products/{ProdId}/Supplies HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Product":{"BCode":"String","ProdId":"String","Name":"String","GenericName":"String","GenericId":"String","ProducerName":"String","ProducerCountry":"String","PackCount":0,"PackBCount":0,"Vat":0,"Unit":"String","PDose":"String","RCount":0,"Priority":0,"Action":0,"Specific":false,"IsService":0,"CategoryId":"String","ProducerId":"String"},"Supplies":[{"SupplieId":"String","Code":"String","DestNumber":"String","LifeDate":"\/Date(-62135596800000-0000)\/","RCount":0,"dDate":"\/Date(-62135596800000-0000)\/","SupplierAccount":"String","SupplierName":"String","MaxDiscount":0,"PriceGR":0,"PriceGT":0,"Points":0,"IsService":0,"Prod":{"BCode":"String","ProdId":"String","Name":"String","GenericName":"String","GenericId":"String","ProducerName":"String","ProducerCountry":"String","PackCount":0,"PackBCount":0,"Vat":0,"Unit":"String","PDose":"String","RCount":0,"Priority":0,"Action":0,"Specific":false,"IsService":0,"CategoryId":"String","ProducerId":"String"}}]}