pixiGetItemsTopReturnReason
Returns reasons for returned items
Since pixi version: LOU Official (6.3.0.4452) Additional notes:
Request
POST
https://apigateway.descartes.com/tms/pixi/pixiGetItemsTopReturnReason
Request body
Name | Type | Required | Description |
---|---|---|---|
MinNrOfReturns | integer | false | Show only items with more returns Type: int Default value: 2 Example: 1 Available from: LOU Official (6.3.0.4452) |
Request Example
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body xmlns="">
<pixiGetItemsTopReturnReason>
<MinNrOfReturns>0</MinNrOfReturns>
</pixiGetItemsTopReturnReason>
</Body>
</Envelope>
Response
1. Result set
Name | Type | Description |
---|---|---|
EANUPC | string | EANUPC Type: varchar Available from: 25.06 (25.6.0.58802) |
itemkey | integer | itemkey Type: int Available from: 25.06 (25.6.0.58802) |
ItemNAme | string | ItemNAme Type: varchar Available from: 25.06 (25.6.0.58802) |
ItemNrInt | string | ItemNrInt Type: varchar Available from: 25.06 (25.6.0.58802) |
NrOfReturns | integer | NrOfReturns Type: int Available from: 25.06 (25.6.0.58802) |
ReturnReason | string | ReturnReason Type: varchar Available from: 25.06 (25.6.0.58802) |
Response Example
<PixiGetItemsTopReturnReasonPost200TextXmlResponse>
<itemkey>0</itemkey>
<EANUPC>string</EANUPC>
<ItemNrInt>string</ItemNrInt>
<ItemNAme>string</ItemNAme>
<ReturnReason>string</ReturnReason>
<NrOfReturns>0</NrOfReturns>
</PixiGetItemsTopReturnReasonPost200TextXmlResponse>
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:pixiGetItemsTopReturnReason>
<MinNrOfReturns xsi:type="xsd:integer">1</MinNrOfReturns>
</ns1:pixiGetItemsTopReturnReason>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
PHP Example
<?php
getPixiSoapClientResponse('pixiGetItemsTopReturnReason', [
'MinNrOfReturns' => '1', // 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);
}