Description
Use this feature to retrieve all existing transaction channels used for statistical evaluation of transaction mails.
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)
Example
$client = new SoapClient($wsdlUrl);
$channelRequest = new StdClass();
$channelRequest->mandatorId = 0;
try {
$result = $client->getTransactionChannels($channelRequest);
var_dump($result);
} catch(Exception $e) {
echo "Fehler aufgetreten: " . $e->getMessage() . "\r\n";
} object(stdClass)#3 (1) {
["transactionChannels"]=>
array(3) {
[0]=>
object(stdClass)#4 (3) {
["channelId"]=>
int(1)
["channelName"]=>
string(12) "Channelname"
["channelDescription"]=>
string(0) "Channelbeschreibung"
}
}
}Source code
In order to test a working example you can download the source code.
Example for retrieving transaction channels
Â