pixiGetItemBundleDefinition
Get a definition of all items that belong to a bundle item.
Since pixi version: LOU Official - Update 46 (6.9.46.27927) Additional notes: When supplied item is not a bundle it will return no records.
Request
Request body
Name | Type | Required | Description |
---|---|---|---|
EANUPC | string | false | EANUPC Type: varchar(13) Default value: Example: abc Available from: LOU Official - Update 46 (6.9.46.27927) |
ItemKey | integer | false | ItemKey Type: int Default value: 0 Example: 123 Available from: LOU Official - Update 46 (6.9.46.27927) |
ItemNrInt | string | false | ItemNrInt Type: varchar(50) Default value: Example: abc Available from: LOU Official - Update 46 (6.9.46.27927) |
ItemNrSuppl | string | false | ItemNrSuppl Type: varchar(50) Default value: Example: abc Available from: LOU Official - Update 46 (6.9.46.27927) |
Request Example
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body xmlns="">
<pixiGetItemBundleDefinition>
<ItemKey>0</ItemKey>
<ItemNrInt>string</ItemNrInt>
<EANUPC>string</EANUPC>
<ItemNrSuppl>string</ItemNrSuppl>
</pixiGetItemBundleDefinition>
</Body>
</Envelope>
Response
1. Result set
Name | Type | Description |
---|---|---|
Qty | integer | qty in this bundle Type: int Available from: 25.06 (25.6.0.58802) |
Price | number | Price of the bundle item Type: money Available from: 25.06 (25.6.0.58802) |
EANUPC | string | barcode of this item Type: varchar Available from: 25.06 (25.6.0.58802) |
ItemName | string | Item name Type: varchar Available from: 25.06 (25.6.0.58802) |
ItemNrInt | string | Item Nr internal for this item Type: varchar Available from: 25.06 (25.6.0.58802) |
ItemNrSuppl | string | Item Nr Suppl for this item Type: varchar Available from: 25.06 (25.6.0.58802) |
BundleItemKey | integer | Item key of this bundle item Type: int Available from: 25.06 (25.6.0.58802) |
Response Example
<PixiGetItemBundleDefinitionPost200TextXmlResponse>
<BundleItemKey>0</BundleItemKey>
<Qty>0</Qty>
<ItemNrInt>string</ItemNrInt>
<ItemNrSuppl>string</ItemNrSuppl>
<EANUPC>string</EANUPC>
<ItemName>string</ItemName>
<Price>0</Price>
</PixiGetItemBundleDefinitionPost200TextXmlResponse>
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:pixiGetItemBundleDefinition>
<EANUPC xsi:type="xsd:string">abc</EANUPC>
<ItemKey xsi:type="xsd:integer">123</ItemKey>
<ItemNrInt xsi:type="xsd:string">abc</ItemNrInt>
<ItemNrSuppl xsi:type="xsd:string">abc</ItemNrSuppl>
</ns1:pixiGetItemBundleDefinition>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
PHP Example
<?php
getPixiSoapClientResponse('pixiGetItemBundleDefinition', [
'EANUPC' => 'abc', // string
'ItemKey' => '123', // integer
'ItemNrInt' => 'abc', // string
'ItemNrSuppl' => 'abc', // 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);
}