Skip to main content

Queue Details Ordered

This service is used to retrieve the queue details table from start to finish. The input parameter for this service is the record ID after which you want to retrieve the information. The output of the service will be the table records in sequential order (20 records will be returned in each call).

Note

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

Note

The last_id parameter will be returned in the response, which gives the ID of the last retrieved record. To retrieve the next set of records (in order), use this ID as input for the service again.

Parameters

DescriptionDefined DataSample DataRequired[**]/Optional[*]Parameters
Unique ID after which the information 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/reports/queue_details/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;
?>