Description
API call returns stock movements done when relocating the items
Request Parameters
# |
Name |
Type |
Required |
Example |
Description |
1 |
FromLocation |
string |
0 |
abc |
Filter: From location |
2 |
ToLocation |
string |
0 |
abc |
Filter: To location |
3 |
ChangeDateFrom |
string |
0 |
YYYY-MM-DD hh:mm:ss |
Filter: Start of time frame |
4 |
ChangeDateTo |
string |
0 |
YYYY-MM-DD hh:mm:ss |
Filter: End of time frame |
5 |
Offset |
integer |
0 |
123 |
Pagination: record offset |
6 |
RowCount |
integer |
0 |
123 |
Pagination: maximum results per page |
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:pixiGetRelocations>
<dem:FromLocation>abc</dem:FromLocation>
<dem:ToLocation>abc</dem:ToLocation>
<dem:ChangeDateFrom>YYYY-MM-DD hh:mm:ss</dem:ChangeDateFrom>
<dem:ChangeDateTo>YYYY-MM-DD hh:mm:ss</dem:ChangeDateTo>
<dem:Offset>123</dem:Offset>
<dem:RowCount>123</dem:RowCount>
</dem:pixiGetRelocations>
</soapenv:Body>
</soapenv:Envelope>Response
Body 1: Stock movements (relocations)
# |
Name |
Type |
Description |
1 |
RowNumber |
string |
Row number ID. Used in combination with "Offset" parameter |
2 |
ItemKey |
integer |
pixi* item ID |
3 |
UpdateDate |
string |
Last update date of the record |
4 |
EANUPC |
string |
Item barcode |
5 |
ItemName |
string |
Item name |
6 |
FromLocation |
string |
Stock movement location (from) |
7 |
ToLocation |
string |
Stock movement location (to) |
8 |
Qty |
integer |
Quantity that was relocated |
Body 2: Error result
# |
Name |
Type |
Description |
1 |
Status |
string |
Execution status |
2 |
Message |
string |
Execution status details |
Additional Notes
**NOTE:** Keep in mind that only stock movements that were done with "Relocate" program will be displayed.