pixiGetBins
Deprecated
Dieser API Call gibt alle Lagerplätze mit Pagination aus. Hierzu zählen auch gelöschte Lagerplätze mit der entsprechenden Kennzeichnung GELÖSCHT (1) oder NICHT GELÖSCHT/EXISTIERT (0).
Since pixi version: LOU Official (6.3.0.4452) Additional notes:
Request
Request body
Name | Type | Required | Description |
---|---|---|---|
Rows | integer | false | [optional] Anzahl der auszugebenen Reihen. Type: int Default value: Example: Available from: LOU Official (6.3.0.4452) |
LastSyncKey | integer | true | [mandatory] Letzte ID die ausgegeben wurde.(Default: 0) Type: int Default value: Example: Available from: LOU Official (6.3.0.4452) |
StartSyncKey | integer | true | [mandatory] Ab folgender ID Starten. (Default: 0) Type: int Default value: Example: Available from: LOU Official (6.3.0.4452) |
Request Example
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body xmlns="">
<pixiGetBins>
<LastSyncKey>0</LastSyncKey>
<StartSyncKey>0</StartSyncKey>
<Rows>0</Rows>
</pixiGetBins>
</Body>
</Envelope>
Response
Name | Type | Description |
---|---|---|
BinKey | string | Eindeutige ID des Lagerplatzes Type: 3 Available from: LOU Official (6.3.0.4452) |
BinName | string | Name des Lagerplatzes Type: 1 Available from: LOU Official (6.3.0.4452) |
Deleted | string | Wenn gel�scht wird eine 1 ausgegeben. Andernfalls eine 0. Type: 5 Available from: LOU Official (6.3.0.4452) |
UpdateDate | string | Letztes bekanntes Abholdatum. Type: 11 Available from: LOU Official (6.3.0.4452) |
BinHistoryKey | string | Eindeutige ID der Reihe Type: 14 Available from: LOU Official (6.3.0.4452) |
Response Example
<PixiGetBinsPost200TextXmlResponse>
<BinHistoryKey>string</BinHistoryKey>
<BinKey>string</BinKey>
<BinName>string</BinName>
<Deleted>string</Deleted>
<UpdateDate>string</UpdateDate>
</PixiGetBinsPost200TextXmlResponse>
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:pixiGetBins>
<Rows xsi:type="xsd:integer"></Rows>
<LastSyncKey xsi:type="xsd:integer"></LastSyncKey> <!-- required -->
<StartSyncKey xsi:type="xsd:integer"></StartSyncKey> <!-- required -->
</ns1:pixiGetBins>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
PHP Example
<?php
getPixiSoapClientResponse('pixiGetBins', [
'Rows' => '', // integer
'LastSyncKey' => '', // integer (required)
'StartSyncKey' => '', // integer (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);
}