returns the total clicks for a specified mailing, returns id:null and email:null if somebody is forgotten
You call the function like this
- rest/v{ersion}/click/clicksForMailing?token=TOKEN&database=DATABASE_ID&mailing_id=INTEGER&offset=INTEGER&records=INTEGER
require_once 'Rest.php';
$username = 'my_username';
$password = 'my_password';
$database = '999';
$rest = new Rest($username, $password, $database);
$result = $rest->call('click/clicksForMailing', [
'mailing_id' => 'INTEGER',
'offset' => 'INTEGER',
'records' => 'INTEGER'
], 'GET');
var_dump($result);
The following parameters this method can/should be called with:
key: mailing_id
values: integer, Integer, the ID of any sent mailing, required
what: the mailing_id from which the records must be retrieved
key: offset
values: integer, not required
what: start from record number
key: records
values: integer, not required
what: How many subscribers do you want back (max 5000)
The following items
- user/login For the TOKEN
- user/database For the DATABASE_ID