pixiSupplierOrderLineDelete
Recommended
Delete one or more supplier oder lines / update SO.
Since pixi version: AVA Official - Update 7 (8.4.7.23158) Additional notes:
Request
Request body
Name | Type | Required | Description |
---|---|---|---|
UserId | integer | false | (optional parameter) Id of user who execute API call. Type: int Default value: Example: Available from: AVA Official - Update 7 (8.4.7.23158) |
AppName | string | false | Name of application which execute API call. Type: varchar(255) Default value: Example: Available from: AVA Official - Update 7 (8.4.7.23158) |
UserName | string | false | User name of user who execute API call. Type: varchar(50) Default value: Example: Available from: AVA Official - Update 7 (8.4.7.23158) |
SupplierOrderLineId | integer | false | (optional parameter) Id of (one) supplier order line. Example: @SupplierOrderLineId = 131 Type: int Default value: Example: Available from: AVA Official - Update 7 (8.4.7.23158) |
SupplierOrderLineIds | string | false | (optional parameter) Ids of (more) supplier order lines in strings separated with comma. Example: @SupplierOrderLineIds = '131, 252' Type: varchar(8000) Default value: Example: Available from: AVA Official - Update 7 (8.4.7.23158) |
Request Example
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body xmlns="">
<pixiSupplierOrderLineDelete>
<AppName>string</AppName>
<UserId>0</UserId>
<UserName>string</UserName>
<SupplierOrderLineId>0</SupplierOrderLineId>
<SupplierOrderLineIds>string</SupplierOrderLineIds>
</pixiSupplierOrderLineDelete>
</Body>
</Envelope>
Response
1. Result Set.
Name | Type | Description |
---|---|---|
ReturnCode | string | Return code. (SUCCESS, ERROR, WARNING) Type: varchar (10) Available from: 25.06 (25.6.0.58802) |
ErrorMessage | string | Description of the error. Type: varchar (300) Available from: 25.06 (25.6.0.58802) |
Response Example
<PixiSupplierOrderLineDeletePost400TextXmlResponse>
<ReturnCode>string</ReturnCode>
<ErrorMessage>string</ErrorMessage>
</PixiSupplierOrderLineDeletePost400TextXmlResponse>
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:pixiSupplierOrderLineDelete>
<UserId xsi:type="xsd:integer"></UserId>
<AppName xsi:type="xsd:string"></AppName>
<UserName xsi:type="xsd:string"></UserName>
<SupplierOrderLineId xsi:type="xsd:integer"></SupplierOrderLineId>
<SupplierOrderLineIds xsi:type="xsd:string"></SupplierOrderLineIds>
</ns1:pixiSupplierOrderLineDelete>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
PHP Example
<?php
getPixiSoapClientResponse('pixiSupplierOrderLineDelete', [
'UserId' => '', // integer
'AppName' => '', // string
'UserName' => '', // string
'SupplierOrderLineId' => '', // integer
'SupplierOrderLineIds' => '', // 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);
}