| GET | /POS/Pharma/{PosId}/Products/{ProdId}/Analogs |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PosId | path | int | No | |
| ProdId | path | string | 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 .x-protobuf suffix or ?format=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: 10.10.0.107
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"}]}