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:
$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) }
In order to test a working example you can download the source code.
Example for modifying a transaction channel