Home / Read / readsForMailing

Read ‐ readsForMailing


Description:

get reads for specified mailing

Example:

You should call this function as followed:
- rest/v2/read/readsForMailing?token=TOKEN&database=DATABASE_ID&mailing_id=1&offset=10&records=5

                require_once 'Rest.php';

                $username = 'my_username';
                $password = 'my_password';
                $database = '999';

                $rest = new Rest($username, $password, $database);
                $result = $rest->call('read/readsForMailing', [
                	'mailing_id' => '1',
'offset' => '10',
'records' => '5' ], 'GET'); var_dump($result);

Parameters:

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)

See:

The following items:
- user/login For the TOKEN
- user/database For the DATABASE_ID