GET | /POS/Pharma/{PosId}/Products/BarCodes/{BarCode} |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PosId | path | int | No | |
BarCode | path | string | No | |
ReceiptId | query | Guid | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Result | form | PharmaPosProduct | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
BCode | form | string | No | |
ProdId | form | string | No | |
Name | form | string | No | |
GenericName | form | string | No | |
GenericId | form | string | No | |
ProducerName | form | string | No | |
ProducerCountry | form | string | No | |
PackCount | form | short | No | |
PackBCount | form | decimal | No | |
Vat | form | decimal | No | |
Unit | form | string | No | |
PDose | form | string | No | |
RCount | form | decimal | No | |
Priority | form | int? | No | |
Action | form | int? | No | |
Specific | form | bool | No | |
IsService | form | int | No | |
CategoryId | form | string | No | |
ProducerId | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /POS/Pharma/{PosId}/Products/BarCodes/{BarCode} 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"}},"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"}}