pixiGetChangedOrderlines
Deprecated
Get changed Orderlines
Since pixi version: LOU Official (6.3.0.4452) Additional notes:
Request
Request body
Name | Type | Required | Description |
---|---|---|---|
Rows | integer | false | Rows Type: int Default value: 0 Example: Available from: LOU Official (6.3.0.4452) |
Since | string | true | Since Type: datetime Default value: Example: Available from: LOU Official (6.3.0.4452) |
WholeHistory | boolean | false | WholeHistory Type: bit Default value: 1 Example: Available from: LOU Official (6.3.0.4452) |
Request Example
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body xmlns="">
<pixiGetChangedOrderlines>
<Since>string</Since>
<WholeHistory>true</WholeHistory>
<Rows>0</Rows>
</pixiGetChangedOrderlines>
</Body>
</Envelope>
Response
1. Result set
Name | Type | Description |
---|---|---|
ShopID | string | Date of the last change date Type: varchar Available from: 25.06 (25.6.0.58802) |
Status | string | Current status of the Orderline Type: varchar Available from: 25.06 (25.6.0.58802) |
ItemNrInt | string | pixi* Internal item number Type: varchar Available from: 25.06 (25.6.0.58802) |
OrderlineKey | integer | Item number of the shop Type: int Available from: 25.06 (25.6.0.58802) |
ItemNrExternal | string | Item number of the shop Type: varchar Available from: 25.06 (25.6.0.58802) |
OrderNrExternal | string | Ordernumber of shop Type: varchar Available from: 25.06 (25.6.0.58802) |
StatusChangeDate | string | Date of the last change date Type: datetime Available from: 25.06 (25.6.0.58802) |
Response Example
<PixiGetChangedOrderlinesPost200TextXmlResponse>
<ItemNrInt>string</ItemNrInt>
<OrderNrExternal>string</OrderNrExternal>
<Status>string</Status>
<StatusChangeDate>string</StatusChangeDate>
<ItemNrExternal>string</ItemNrExternal>
<ShopID>string</ShopID>
<OrderlineKey>0</OrderlineKey>
</PixiGetChangedOrderlinesPost200TextXmlResponse>
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:pixiGetChangedOrderlines>
<Rows xsi:type="xsd:integer"></Rows>
<Since xsi:type="xsd:string"></Since> <!-- required -->
<WholeHistory xsi:type="xsd:boolean"></WholeHistory>
</ns1:pixiGetChangedOrderlines>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
PHP Example
<?php
getPixiSoapClientResponse('pixiGetChangedOrderlines', [
'Rows' => '', // integer
'Since' => '', // string (required)
'WholeHistory' => '', // boolean
]);
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);
}