pixiDeleteDeliveryItem
Delete Delivery Item for Deliveries
Since pixi version: LOU Official - Update 46 (6.9.46.27927) Additional notes:
Request
POST
https://apigateway.descartes.com/tms/pixi/pixiDeleteDeliveryItem
Request body
Name | Type | Required | Description |
---|---|---|---|
EANUPC | string | false | EANUPC Type: varchar(13) Default value: NULL Example: Available from: LOU Official - Update 46 (6.9.46.27927) |
SDelDKey | integer | false | SDelDKey Type: int Default value: NULL Example: Available from: LOU Official - Update 46 (6.9.46.27927) |
SDelHKey | integer | false | SDelHKey Type: int Default value: NULL Example: Available from: LOU Official - Update 46 (6.9.46.27927) |
DeliveryNumber | integer | false | DeliveryNumber Type: int Default value: NULL Example: Available from: LOU Official - Update 46 (6.9.46.27927) |
ItemNrInternal | string | false | ItemNrInternal Type: varchar(50) Default value: NULL Example: Available from: LOU Official - Update 46 (6.9.46.27927) |
Request Example
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body xmlns="">
<pixiDeleteDeliveryItem>
<SDelHKey>0</SDelHKey>
<DeliveryNumber>0</DeliveryNumber>
<SDelDKey>0</SDelDKey>
<ItemNrInternal>string</ItemNrInternal>
<EANUPC>string</EANUPC>
</pixiDeleteDeliveryItem>
</Body>
</Envelope>
Response
Name | Type | Description |
---|
Response Example
<PixiDeleteDeliveryItemPost200TextXmlResponse />
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:pixiDeleteDeliveryItem>
<EANUPC xsi:type="xsd:string"></EANUPC>
<SDelDKey xsi:type="xsd:integer"></SDelDKey>
<SDelHKey xsi:type="xsd:integer"></SDelHKey>
<DeliveryNumber xsi:type="xsd:integer"></DeliveryNumber>
<ItemNrInternal xsi:type="xsd:string"></ItemNrInternal>
</ns1:pixiDeleteDeliveryItem>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
PHP Example
<?php
getPixiSoapClientResponse('pixiDeleteDeliveryItem', [
'EANUPC' => '', // string
'SDelDKey' => '', // integer
'SDelHKey' => '', // integer
'DeliveryNumber' => '', // 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);
}