pixiGetChangedCustomers
Get all changed customers since / to
Since pixi version: LOU Official (6.3.0.4452) Additional notes:
Request
Request body
Name | Type | Required | Description |
---|---|---|---|
To | string | false | ... to DateTime Type: datetime Default value: NULL Example: Available from: LOU Official (6.3.0.4452) |
Since | string | true | Changes since... Type: datetime Default value: Example: Available from: LOU Official (6.3.0.4452) |
Rowcount | integer | false | Return only number of records Type: int Default value: 1000 Example: Available from: LOU Official - Update 46 (6.9.46.27927) |
Request Example
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body xmlns="">
<pixiGetChangedCustomers>
<Since>string</Since>
<To>string</To>
<Rowcount>0</Rowcount>
</pixiGetChangedCustomers>
</Body>
</Envelope>
Response
1. Result set
Name | Type | Description |
---|---|---|
Name | string | Name Type: varchar Available from: 25.06 (25.6.0.58802) |
string | Type: varchar Available from: 25.06 (25.6.0.58802) |
|
AddrKey | integer | Reference to the billing address of the customer. To be used with the pixiGetAddress function. Type: int Available from: 25.06 (25.6.0.58802) |
CustKey | integer | Reference to the customer record Type: int Available from: 25.06 (25.6.0.58802) |
ShipLock | boolean | ShipLock Type: bit Available from: 25.06 (25.6.0.58802) |
CustomerOf | string | CustomerOf Type: varchar Available from: 25.06 (25.6.0.58802) |
UpdateDate | string | UpdateDate Type: datetime Available from: 25.06 (25.6.0.58802) |
ShipAddrKey | integer | Reference to the shipping address of the customer. To be used with the pixiGetAddress function. Type: int Available from: 25.06 (25.6.0.58802) |
Response Example
<PixiGetChangedCustomersPost200TextXmlResponse>
<CustKey>0</CustKey>
<AddrKey>0</AddrKey>
<ShipAddrKey>0</ShipAddrKey>
<ShipLock>true</ShipLock>
<CustomerOf>string</CustomerOf>
<eMail>string</eMail>
<Name>string</Name>
<UpdateDate>string</UpdateDate>
</PixiGetChangedCustomersPost200TextXmlResponse>
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:pixiGetChangedCustomers>
<To xsi:type="xsd:string"></To>
<Since xsi:type="xsd:string"></Since> <!-- required -->
<Rowcount xsi:type="xsd:integer"></Rowcount>
</ns1:pixiGetChangedCustomers>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
PHP Example
<?php
getPixiSoapClientResponse('pixiGetChangedCustomers', [
'To' => '', // string
'Since' => '', // string (required)
'Rowcount' => '', // integer
]);
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);
}