pixiGetEKPriceHistory
Returns the EK Price History for selected items.
Since pixi version: LOU Official - Update 46 (6.9.46.27927) Additional notes:
Request
Request body
Name | Type | Required | Description |
---|---|---|---|
ToDate | string | false | To Date Type: datetime Default value: Example: Available from: LOU Official - Update 46 (6.9.46.27927) |
FromDate | string | false | From Date Type: datetime Default value: Example: Available from: LOU Official - Update 46 (6.9.46.27927) |
RowCount | integer | false | Row Count Type: int Default value: 100 Example: Available from: LOU Official - Update 46 (6.9.46.27927) |
StartRow | integer | false | Start Row Type: int Default value: 0 Example: Available from: LOU Official - Update 46 (6.9.46.27927) |
ItemNrInternal | string | false | Item Nr Internal Type: varchar(250) Default value: Example: Available from: LOU Official - Update 46 (6.9.46.27927) |
Request Example
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body xmlns="">
<pixiGetEKPriceHistory>
<ItemNrInternal>string</ItemNrInternal>
<FromDate>string</FromDate>
<ToDate>string</ToDate>
<RowCount>0</RowCount>
<StartRow>0</StartRow>
</pixiGetEKPriceHistory>
</Body>
</Envelope>
Response
1. Result set
Name | Type | Description |
---|---|---|
Price | number | Price of the Item Type: money Available from: 25.06 (25.6.0.58802) |
EANUPC | string | EAN of the Item Type: varchar Available from: 25.06 (25.6.0.58802) |
EKPrice | number | EK Price of the Item Type: money Available from: 25.06 (25.6.0.58802) |
ItemKey | integer | ItemKey Type: int Available from: 25.06 (25.6.0.58802) |
SupplNr | string | Supllier Item Nr Type: varchar Available from: 25.06 (25.6.0.58802) |
ItemNrInt | string | Internal ItemNR Type: varchar Available from: 25.06 (25.6.0.58802) |
RowNumber | integer | Unique Row Number Type: int Available from: 25.06 (25.6.0.58802) |
UpdateDate | string | Update Date of the Item Type: datetime Available from: 25.06 (25.6.0.58802) |
ItemNrSuppl | string | Supllier Item Nr Type: varchar Available from: 25.06 (25.6.0.58802) |
Response Example
<PixiGetEKPriceHistoryPost200TextXmlResponse>
<RowNumber>0</RowNumber>
<ItemKey>0</ItemKey>
<SupplNr>string</SupplNr>
<ItemNrSuppl>string</ItemNrSuppl>
<ItemNrInt>string</ItemNrInt>
<EANUPC>string</EANUPC>
<Price>0</Price>
<EKPrice>0</EKPrice>
<UpdateDate>string</UpdateDate>
</PixiGetEKPriceHistoryPost200TextXmlResponse>
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:pixiGetEKPriceHistory>
<ToDate xsi:type="xsd:string"></ToDate>
<FromDate xsi:type="xsd:string"></FromDate>
<RowCount xsi:type="xsd:integer"></RowCount>
<StartRow xsi:type="xsd:integer"></StartRow>
<ItemNrInternal xsi:type="xsd:string"></ItemNrInternal>
</ns1:pixiGetEKPriceHistory>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
PHP Example
<?php
getPixiSoapClientResponse('pixiGetEKPriceHistory', [
'ToDate' => '', // string
'FromDate' => '', // string
'RowCount' => '', // integer
'StartRow' => '', // integer
'ItemNrInternal' => '', // 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);
}