pixiGetDeliveryItemEvaluation
API Call to get number of items for 1SS / normal picklists
Since pixi version: LOU Official - Update 46 (6.9.46.27927) Additional notes:
Request
Request body
Name | Type | Required | Description |
---|---|---|---|
1SSBin | string | false | Bin for 1SS items Type: varchar(50) Default value: NULL Example: Available from: LOU Official - Update 46 (6.9.46.27927) |
EANUPC | string | true | Barcode (required) Type: varchar(13) Default value: Example: Available from: LOU Official - Update 46 (6.9.46.27927) |
Quantity | integer | true | Quantity of items that have been delivered (required) Type: int Default value: Example: Available from: LOU Official - Update 46 (6.9.46.27927) |
PutToStockBin | string | false | Bin for Put To Stock Type: varchar(50) Default value: NULL Example: Available from: LOU Official - Update 46 (6.9.46.27927) |
NormalOrdersBin | string | false | Bin for normal items Type: varchar(50) Default value: NULL Example: Available from: LOU Official - Update 46 (6.9.46.27927) |
Request Example
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body xmlns="">
<pixiGetDeliveryItemEvaluation>
<EANUPC>string</EANUPC>
<Quantity>0</Quantity>
<_x0031_SSBin>string</_x0031_SSBin>
<NormalOrdersBin>string</NormalOrdersBin>
<PutToStockBin>string</PutToStockBin>
</pixiGetDeliveryItemEvaluation>
</Body>
</Envelope>
Response
1. Result set
Name | Type | Description |
---|---|---|
1SS | integer | 1SS Type: int Available from: 25.06 (25.6.0.58802) |
EANUPC | string | EANUPC Type: varchar Available from: 25.06 (25.6.0.58802) |
OnDemand | integer | OnDemand Type: int Available from: 25.06 (25.6.0.58802) |
Response Example
<PixiGetDeliveryItemEvaluationPost200TextXmlResponse>
<EANUPC>string</EANUPC>
<_x0031_SS>0</_x0031_SS>
<OnDemand>0</OnDemand>
</PixiGetDeliveryItemEvaluationPost200TextXmlResponse>
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:pixiGetDeliveryItemEvaluation>
<1SSBin xsi:type="xsd:string"></1SSBin>
<EANUPC xsi:type="xsd:string"></EANUPC> <!-- required -->
<Quantity xsi:type="xsd:integer"></Quantity> <!-- required -->
<PutToStockBin xsi:type="xsd:string"></PutToStockBin>
<NormalOrdersBin xsi:type="xsd:string"></NormalOrdersBin>
</ns1:pixiGetDeliveryItemEvaluation>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
PHP Example
<?php
getPixiSoapClientResponse('pixiGetDeliveryItemEvaluation', [
'1SSBin' => '', // string
'EANUPC' => '', // string (required)
'Quantity' => '', // integer (required)
'PutToStockBin' => '', // string
'NormalOrdersBin' => '', // 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);
}