pixiGetSOrdersBySupplier
Deprecated
Get empty bins
Since pixi version: LOU Official - Update 46 (6.9.46.27927) Additional notes:
Request
POST
https://apigateway.descartes.com/tms/pixi/pixiGetSOrdersBySupplier
Request body
Name | Type | Required | Description |
---|---|---|---|
LocID | string | true | Location Id Type: varchar(3) Default value: Example: 001 Available from: LOU Official - Update 46 (6.9.46.27927) |
SupplNr | string | true | Location Id Type: varchar(4) Default value: Example: abcd Available from: LOU Official - Update 46 (6.9.46.27927) |
Request Example
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body xmlns="">
<pixiGetSOrdersBySupplier>
<SupplNr>string</SupplNr>
<LocID>string</LocID>
</pixiGetSOrdersBySupplier>
</Body>
</Envelope>
Response
1. Result set
Name | Type | Description |
---|---|---|
SupplNr | string | Supplier Nr Type: varchar Available from: 25.06 (25.6.0.58802) |
SupplName | string | Supplier Name Type: varchar Available from: 25.06 (25.6.0.58802) |
Response Example
<PixiGetSOrdersBySupplierPost200TextXmlResponse>
<SupplNr>string</SupplNr>
<SupplName>string</SupplName>
</PixiGetSOrdersBySupplierPost200TextXmlResponse>
2. Result set
Name | Type | Description |
---|---|---|
Code | string | Code Type: char Available from: 25.06 (25.6.0.58802) |
OrderNr | integer | OrderNr Type: int Available from: 25.06 (25.6.0.58802) |
OrderDate | string | OrderDate Type: datetime Available from: 25.06 (25.6.0.58802) |
ExternalCode | string | ExternalCode Type: varchar Available from: 25.06 (25.6.0.58802) |
Response Example
<PixiGetSOrdersBySupplierPost200TextXmlResponse>
<SupplNr>string</SupplNr>
<SupplName>string</SupplName>
</PixiGetSOrdersBySupplierPost200TextXmlResponse>
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:pixiGetSOrdersBySupplier>
<LocID xsi:type="xsd:string">001</LocID> <!-- required -->
<SupplNr xsi:type="xsd:string">abcd</SupplNr> <!-- required -->
</ns1:pixiGetSOrdersBySupplier>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
PHP Example
<?php
getPixiSoapClientResponse('pixiGetSOrdersBySupplier', [
'LocID' => '001', // string (required)
'SupplNr' => 'abcd', // 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);
}