POST api/Product?DeviceID={DeviceID}&Supplier={Supplier}&PIP={PIP}&PharmacyID={PharmacyID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DeviceID | string |
Required |
|
| Supplier | string |
Required |
|
| PIP | string |
Required |
|
| PharmacyID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
LivePrice| Name | Description | Type | Additional information |
|---|---|---|---|
| SupplierCode | string |
None. |
|
| BarCode | string |
None. |
|
| Price | decimal number |
None. |
|
| Stock | string |
None. |
|
| PIPCode | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"SupplierCode": "sample string 1",
"BarCode": "sample string 2",
"Price": 1.1,
"Stock": "sample string 3",
"PIPCode": "sample string 4"
}
application/xml, text/xml
Sample:
<Products.LivePrice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProPharmacyAPI.Models"> <BarCode>sample string 2</BarCode> <PIPCode>sample string 4</PIPCode> <Price>1.1</Price> <Stock>sample string 3</Stock> <SupplierCode>sample string 1</SupplierCode> </Products.LivePrice>