📘 BACKCLICK Doku
Anmelden
Hinweisbox:

Description

Use the feature DeleteRobinsonEntries to remove entries from the Robinson list. It is possible to remove addresses from either the temporary or the internal Robinson list. This feature returns a Boolean as result indicating success or failure.

Available starting from Backclick-Version: 5.9.0

In order to remove an address from the Robinson list you have to provide the following information:

  • Mandator ID
  • E-Mail address(es)
  • Specification of the list to remove the address(es) from (useTempRobinsonList; default: false => internal list is used); optional
  • API-Key (optional authentication, if not provided the IP address will be used for authentication)

Example

$client = new SoapClient($wsdlUrl);
date_default_timezone_set('Europe/Berlin');
$request = new StdClass();
$request->mandatorId = 0;
$request->robinsonEntries = array();
array_push($request->robinsonEntries, "[email protected]");
try {
  var_dump($client->deleteRobinsonEntries($request));
} catch (Exception $e) {
  echo "Error: " . $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 removing an address from the Robinson list

Abbrechen