pixiItemsBySupplier
Deprecated
Since pixi version: LOU Official (6.3.0.4452) Additional notes:
Request
POST
https://apigateway.descartes.com/tms/pixi/pixiItemsBySupplier
Request body
Name | Type | Required | Description |
---|---|---|---|
Rows | integer | false | Type: int Default value: Example: Available from: LOU Official (6.3.0.4452) |
FromRow | integer | false | Type: int Default value: Example: Available from: LOU Official (6.3.0.4452) |
SupplNr | string | false | Type: char Default value: Example: Available from: LOU Official (6.3.0.4452) |
Request Example
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body xmlns="">
<pixiItemsBySupplier>
<SupplNr>string</SupplNr>
<FromRow>0</FromRow>
<Rows>0</Rows>
</pixiItemsBySupplier>
</Body>
</Envelope>
Response
Name | Type | Description |
---|
Response Example
<PixiItemsBySupplierPost200TextXmlResponse />
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:pixiItemsBySupplier>
<Rows xsi:type="xsd:integer"></Rows>
<FromRow xsi:type="xsd:integer"></FromRow>
<SupplNr xsi:type="xsd:string"></SupplNr>
</ns1:pixiItemsBySupplier>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
PHP Example
<?php
getPixiSoapClientResponse('pixiItemsBySupplier', [
'Rows' => '', // integer
'FromRow' => '', // integer
'SupplNr' => '', // 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);
}