📘 BACKCLICK Doku
Anmelden
Hinweisbox:

Description

Use this feature to delete unused transaction channels. After deleting a channel you cannot evaluate dispatches and reactions done prior to deleting.

Available starting from Backclick-Version: 5.8.4

In order to retrieve all transaction channels you have to provide the following information:

  • Mandator ID
  • API-Key (optional authentication, if not provided the IP address will be used for authentication)
  • ID of the channel you want to delete

Example

$client = new SoapClient($wsdlUrl);
$deleteRequest = new StdClass();
$deleteRequest->mandatorId = 0;
$deleteRequest->channelId = 1;
try {
  $result = $client->deleteTransactionChannel($deleteRequest);
  var_dump($result);
} catch(Exception $e) {
  echo "Fehler aufgetreten: " . $e->getMessage() . "\r\n";
}
object(stdClass)#3 (1) {
  ["success"]=>
  bool(true)
}

Source code

In order to test a working example you can download the source code.

Example for deleting a transaction channel

 

Abbrechen