📘 BACKCLICK Doku
Anmelden

Transactions-Modify Channel

Erstellt von Confluence-Import am · zuletzt geändert von Confluence-Import am · v1

Description

Use this feature to modify transaction channels. It is only possible to change the name and description of a channel, the ID cannot be changed. Removing a channels name sets it back to the default name (i.e.: “Channel 1”).

Available starting from Backclick-Version: 5.8.4

In order to use this feature you have to provide the following information:

  • Mandator ID
  • API-Key (optional authentication, if not provided the IP address will be used for authentication)
  • Transaction channel modification
    • Channel ID
    • Name of the channel (providing an empty String sets it back to the default name)
    • Channel description

Example

$client = new SoapClient($wsdlUrl);
$channel = new StdClass();
$channel->mandatorId = 0;
$channel->transactionChannel = new StdClass();
$channel->transactionChannel->channelId = 1;
$channel->transactionChannel->channelName = "Neuer Name";
$channel->transactionChannel->channelDescription = "Neue Beschreibung";
try {
  $result = $client->updateTransactionChannel($channel);
  var_dump($result);
} catch(Exception $e) {
  echo "Fehler aufgetreten: " . $e->getMessage() . "\r\n";
}
object(stdClass)#4 (1) {
  ["success"]=>
  bool(true)
}

Source code

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

Example for modifying a transaction channel

 

Anhänge (1)