Skip to main content

CDR Ordered

This service is used to retrieve the full list of Quick Search table data 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 service returns the table records sequentially (20 records per request).

Note

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

Note

The last_id parameter will be returned in the response and contains the ID of the last retrieved record. To retrieve the next set of data (sequentially), provide this ID again as the input.

Parameters

DescriptionDefined DataSample DataRequired[**]/Optional[*]Parameters
Unique ID after which we want to retrieve the data sequentially (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/reports/cdr/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;
?>