GET | /POS/Pharma/{PosId}/Products/ |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PosId | path | int | No | |
ReceiptId | query | Guid | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Result | form | List<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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /POS/Pharma/{PosId}/Products/ 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":[{"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"}]}