pixiGetChangedItems
Recommended
This API call returns changed items from date provided as parameter onwards.
Since pixi version: LOU Official (6.3.0.4452) Additional notes:
Request
POST
https://apigateway.descartes.com/tms/pixi/pixiGetChangedItems
Request body
Name | Type | Required | Description |
---|---|---|---|
Since | string | true | Datetime parameter from which onwards changed item are taken into account. Type: datetime Default value: Example: 2017-01-01 Available from: LOU Official (6.3.0.4452) |
Request Example
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body xmlns="">
<pixiGetChangedItems>
<Since>string</Since>
</pixiGetChangedItems>
</Body>
</Envelope>
Response
1. Result set is always returned.
Name | Type | Description |
---|---|---|
EANUPC | string | Item EANUPC code. Type: varchar Available from: / (25.7.0.59144) |
ItemKey | integer | Item ID. Type: int Available from: / (25.7.0.59144) |
ItemNrInt | string | Internal item number. Type: varchar Available from: / (25.7.0.59144) |
ItemNrSuppl | string | Supplier item number. Type: varchar Available from: / (25.7.0.59144) |
AvailableStock | integer | Item available stock. Type: int Available from: / (25.7.0.59144) |
EstimatedDelivery | string | Item estimated delivery date Type: datetime Available from: / (25.7.0.59144) |
Response Example
<PixiGetChangedItemsPost200TextXmlResponse>
<ItemNrInt>string</ItemNrInt>
<ItemKey>0</ItemKey>
<EANUPC>string</EANUPC>
<ItemNrSuppl>string</ItemNrSuppl>
<AvailableStock>0</AvailableStock>
<EstimatedDelivery>string</EstimatedDelivery>
</PixiGetChangedItemsPost200TextXmlResponse>
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:pixiGetChangedItems>
<Since xsi:type="xsd:string">2017-01-01</Since> <!-- required -->
</ns1:pixiGetChangedItems>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
PHP Example
<?php
getPixiSoapClientResponse('pixiGetChangedItems', [
'Since' => '2017-01-01', // string (required)
]);
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);
}