Warning: API call is no longer maintained!
Description
API call returns historical supplier prices for items.
Request Parameters
| # |
Name |
Type |
Required |
Example |
Description |
| 1 |
ItemKey |
integer |
0 |
12345 |
Filter: ItemID |
| 2 |
DateFrom |
string |
1 |
YYYY-MM-DD |
Filter: Begining of the date range peroid. |
| 3 |
DateTo |
string |
1 |
YYYY-MM-DD |
Filter: End of the date range peroid |
Request body
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dem="https://api.pixi.eu/soap/demosandbox/">
<soapenv:Header/>
<soapenv:Body>
<dem:pixiGetHistoricalSupplierPrices>
<dem:ItemKey>12345</dem:ItemKey>
<dem:DateFrom>YYYY-MM-DD</dem:DateFrom>
<dem:DateTo>YYYY-MM-DD</dem:DateTo>
</dem:pixiGetHistoricalSupplierPrices>
</soapenv:Body>
</soapenv:Envelope>
Response
Body 1: Historical supplier prices of items.
| # |
Name |
Type |
Description |
| 1 |
InvBinItemLogId |
integer |
Uinque ID of put to stock operation. |
| 2 |
ItemID |
integer |
Item Id. |
| 3 |
DatePutToStock |
string |
Time stamp of put to stock operation. |
| 4 |
Quantity |
integer |
Quantity that was put to stock. |
| 5 |
SupplierPrice |
number |
Corresponding item supplier price at the time. |
| 6 |
SupplierId |
integer |
Supplier ID. |
| 7 |
RefType |
string |
Supplier price matching reference description. |
| 8 |
RefDocumentNumber |
integer |
Delivery number for found match. |
Body 2: Error/Warning response.
| # |
Name |
Type |
Description |
| 1 |
Staus |
string |
Status of response. |
| 2 |
Message |
string |
Description of error/warning response. |
Additional Notes
The date range period is limited to 31 days. Population of price data happens over night. This means that it is not possible to get data for current day.