pixiCADeleteEventMatches
Deletes all Matches for an Event by using the AccountKey
Since pixi version: LOU Official - Update 46 (6.9.46.27927) Additional notes:
Request
POST
https://apigateway.descartes.com/tms/pixi/pixiCADeleteEventMatches
Request body
Name | Type | Required | Description |
---|---|---|---|
CAref | integer | true | CAref Type: int Default value: Example: Available from: LOU Official - Update 46 (6.9.46.27927) |
ResultCode | string | false | Result code Type: char Default value: NULL Example: 201, 202, 403 Available from: LOU Official - Update 46 (6.9.46.27927) |
ResultText | string | false | Result message Type: varchar(1024) Default value: NULL Example: abc Available from: LOU Official - Update 46 (6.9.46.27927) |
Request Example
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body xmlns="">
<pixiCADeleteEventMatches>
<CAref>0</CAref>
<ResultCode>string</ResultCode>
<ResultText>string</ResultText>
</pixiCADeleteEventMatches>
</Body>
</Envelope>
Response
1. Status response
Name | Type | Description |
---|---|---|
ResultCode | string | Result code (201, 202, 403) Type: varchar Available from: 25.06 (25.6.0.58802) |
ResultText | string | Result message Type: varchar Available from: 25.06 (25.6.0.58802) |
Response Example
<PixiCADeleteEventMatchesPost200TextXmlResponse>
<ResultCode>string</ResultCode>
<ResultText>string</ResultText>
</PixiCADeleteEventMatchesPost200TextXmlResponse>
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:pixiCADeleteEventMatches>
<CAref xsi:type="xsd:integer"></CAref> <!-- required -->
<ResultCode xsi:type="xsd:string">201, 202, 403</ResultCode>
<ResultText xsi:type="xsd:string">abc</ResultText>
</ns1:pixiCADeleteEventMatches>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
PHP Example
<?php
getPixiSoapClientResponse('pixiCADeleteEventMatches', [
'CAref' => '', // integer (required)
'ResultCode' => '201, 202, 403', // string
'ResultText' => '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);
}