ApexERPHost

<back to all web services

GetPharmaPosProductAnalogs

Requires Authentication
The following routes are available for this service:
GET/POS/Pharma/{PosId}/Products/{ProdId}/Analogs
GetPharmaPosProductAnalogs Parameters:
NameParameterData TypeRequiredDescription
PosIdpathintNo
ProdIdpathstringNo
ReceiptIdqueryGuidNo
GetPharmaPosProductAnalogsResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<PharmaPosProduct>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

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

HTTP + X-PROTOBUF

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

GET /POS/Pharma/{PosId}/Products/{ProdId}/Analogs HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: application/x-protobuf
HTTP/1.1 200 OK
Content-Type: application/x-protobuf
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":[{"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"}]}