pixiInventoryItemsToRefill
Report procedure to refill/relocate stock
Since pixi version: LOU Official - Update 46 (6.9.46.27927) Additional notes:
Request
Request body
Name | Type | Required | Description |
---|---|---|---|
SortBy | string | false | Sort by BinSortNum 0 = bins on FromLocation, 1 = bins on ToLOcation. Type: varchar(1) Default value: 0 Example: abcdefg Available from: LOU Official - Update 46 (6.9.46.27927) |
ToLocID | string | true | Location where stock is put to. Type: varchar(3) Default value: Example: abcdefg Available from: LOU Official - Update 46 (6.9.46.27927) |
FromLocID | string | true | Location where stock is taken from. Type: varchar(3) Default value: Example: abcdefg Available from: LOU Official - Update 46 (6.9.46.27927) |
AdditionalLocID | string | false | Additional location where stock is taken from. Type: varchar(3) Default value: NULL Example: abcdefg Available from: LOU Official - Update 46 (6.9.46.27927) |
Request Example
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body xmlns="">
<pixiInventoryItemsToRefill>
<FromLocID>string</FromLocID>
<ToLocID>string</ToLocID>
<AdditionalLocID>string</AdditionalLocID>
<SortBy>string</SortBy>
</pixiInventoryItemsToRefill>
</Body>
</Envelope>
Response
Name | Type | Description |
---|---|---|
EanUpc | string | Item barcode Type: varchar (13) Available from: 25.06 (25.6.0.58802) |
SortBy | string | Type: varchar (1) Available from: 25.06 (25.6.0.58802) |
ItemName | string | Item name Type: varchar (120) Available from: 25.06 (25.6.0.58802) |
ToLocQty | integer | Type: int Available from: 25.06 (25.6.0.58802) |
ItemNrInt | string | Shop item number Type: varchar (50) Available from: 25.06 (25.6.0.58802) |
FromBinqty | integer | Type: int Available from: 25.06 (25.6.0.58802) |
FromLocQty | integer | Type: int Available from: 25.06 (25.6.0.58802) |
MissingQty | integer | Type: int Available from: 25.06 (25.6.0.58802) |
ParToLocID | string | Type: varchar (3) Available from: 25.06 (25.6.0.58802) |
SupplPrice | number | Supplier price of the item Type: money Available from: 25.06 (25.6.0.58802) |
MinStockQty | integer | Minimum stock quantity for the item Type: int Available from: 25.06 (25.6.0.58802) |
TargetStock | integer | Item target stock quantity Type: int Available from: 25.06 (25.6.0.58802) |
ParFromLocID | string | Type: varchar (3) Available from: 25.06 (25.6.0.58802) |
PicLinkLarge | string | URL to picture of the item (large size) Type: varchar (512) Available from: 25.06 (25.6.0.58802) |
PicLinkSmall | string | URL to picture of the item (small size) Type: varchar (512) Available from: 25.06 (25.6.0.58802) |
ToLocIDbinName | string | Type: varchar (50) Available from: 25.06 (25.6.0.58802) |
OrdersOnHoldQty | integer | Type: int Available from: 25.06 (25.6.0.58802) |
FromLocIDbinName | string | Type: varchar (50) Available from: 25.06 (25.6.0.58802) |
OpenCustOrdersQty | integer | Type: int Available from: 25.06 (25.6.0.58802) |
ToLocIDbinSortNum | integer | Type: int Available from: 25.06 (25.6.0.58802) |
FromLocIDbinSortNum | integer | Type: int Available from: 25.06 (25.6.0.58802) |
Response Example
<PixiInventoryItemsToRefillPost200TextXmlResponse>
<FromLocIDbinName>string</FromLocIDbinName>
<FromLocIDbinSortNum>0</FromLocIDbinSortNum>
<ToLocIDbinName>string</ToLocIDbinName>
<ToLocIDbinSortNum>0</ToLocIDbinSortNum>
<EanUpc>string</EanUpc>
<ItemName>string</ItemName>
<ToLocQty>0</ToLocQty>
<FromLocQty>0</FromLocQty>
<FromBinqty>0</FromBinqty>
<MissingQty>0</MissingQty>
<MinStockQty>0</MinStockQty>
<SupplPrice>0</SupplPrice>
<OpenCustOrdersQty>0</OpenCustOrdersQty>
<OrdersOnHoldQty>0</OrdersOnHoldQty>
<ParFromLocID>string</ParFromLocID>
<ParToLocID>string</ParToLocID>
<SortBy>string</SortBy>
<PicLinkSmall>string</PicLinkSmall>
<PicLinkLarge>string</PicLinkLarge>
<ItemNrInt>string</ItemNrInt>
<TargetStock>0</TargetStock>
</PixiInventoryItemsToRefillPost200TextXmlResponse>
HTTP Example
POST https://apigateway.descartes.com/tms/pixi/
Content-Type: text/xml; charset=utf-8
# echo -n '{{username}}:{{password}}' | base64 | pbcopy
Authorization: Basic {{token}}
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="https://apigateway.descartes.com/tms/pixi/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:pixiInventoryItemsToRefill>
<SortBy xsi:type="xsd:string">abcdefg</SortBy>
<ToLocID xsi:type="xsd:string">abcdefg</ToLocID> <!-- required -->
<FromLocID xsi:type="xsd:string">abcdefg</FromLocID> <!-- required -->
<AdditionalLocID xsi:type="xsd:string">abcdefg</AdditionalLocID>
</ns1:pixiInventoryItemsToRefill>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
PHP Example
<?php
getPixiSoapClientResponse('pixiInventoryItemsToRefill', [
'SortBy' => 'abcdefg', // string
'ToLocID' => 'abcdefg', // string (required)
'FromLocID' => 'abcdefg', // string (required)
'AdditionalLocID' => 'abcdefg', // string
]);
function getPixiSoapClientResponse(string $method, array $arguments = [])
{
$soapArguments = [];
foreach ($arguments as $key => $value) {
$soapArguments[] = new SoapVar($value, null, '', '', $key);
}
$soapClient = new SoapClient(null, [
'login' => '...',
'password' => '...',
'uri' => 'https://apigateway.descartes.com/tms/pixi/',
'location' => 'https://apigateway.descartes.com/tms/pixi/',
]);
return $soapClient->__call($method, $soapArguments);
}