Skip to main content

Report Ordered

This service is used to retrieve data from the bulk call search table, from the beginning to the end. The input parameter for this service is the record ID after which you want to retrieve the data. The output of the service will be the records in sequence (20 records will be returned in each call).

tip

If you want to retrieve the table data from the beginning, set the id_ parameter to empty.

tip

The last_id parameter will be returned in the response and gives you the ID of the last retrieved record. To retrieve the next set of data (in sequence), use this ID as input to the service again.

Parameters

DescriptionDefined DataSample DataRequired[**]/Optional[*]Parameters
Unique identifier after which the data should be retrieved in order (last_id)5ddb9e925171cd0429088badid_

Sample Invocation

Show Full Source Code PHP

	<?php

$curl = curl_init();

curl_setopt_array($curl, array(
CURLOPT_URL => 'http://192.168.51.20/api/v4/autodialer/reports/ordered/id',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"_id":""
}',
CURLOPT_HTTPHEADER => array(
'X-APIKEY: 9UV0BWKRL83PYIH9Gv1fI85d41lO4S932EeX3wHC47sHjMJOMG',
'Authorization: Basic c2Fkcjo=',
'Content-Type: application/json'
),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
?>