When the queue management alarm is triggered and uploaded to third-party platform/system, you can search for the reports of people queuing-up and waiting time detection, and get the reports in different formats (i.e., report details and report URL). You can also directly get the file URL of unprocessed data (raw data).
Call NET_DVR_STDXMLConfig to pass through the request URL: POST /ISAPI/Intelligent/channels/<ID>/personQueueDetection/queueCountingResult?format=json.
The report details is returned in the message JSON_PersonQueueCountingResult by output pointer (lpOutputParam).
Call NET_DVR_STDXMLConfig to pass through the request URL: POST /ISAPI/Intelligent/channels/<ID>/personQueueDetection/queueCountingFile?format=json and set the input pointer (lpInputParam) to the message JSON_PersonQueueCountingDescription.
The report URL is returned in the message JSON_PersonQueueCountingFileResult by output pointer (lpOutputParam). You can download the report from the URL.
Call NET_DVR_STDXMLConfig to pass through the request URL: POST /ISAPI/ Intelligent/channels/<ID>/personQueueDetection/queueTimeResult?format=json.
The report details is returned in the message JSON_PersonQueueTimeResult by output pointer (lpOutputParam).
Call NET_DVR_STDXMLConfig to pass through the request URL: POST /ISAPI/ Intelligent/channels/<ID>/personQueueDetection/queueTimeFile?format=json and set the input pointer (lpInputParam) to the message JSON_PersonQueueTimeDescription.
The report URL is returned in the message JSON_PersonQueueTimeFileResult by output pointer (lpOutputParam). You can download the report from the URL.
As the raw data is paged, if you want to get all raw data, you should set search time period and repeatedly call NET_DVR_STDXMLConfig to pass through the request URL: POST /ISAPI/Intelligent/ channels/<ID>/personQueueDetection/rawDataFile?format=json and set the input pointer (lpInputParam) to the message JSON_PersonQueueRawDataFileDescription.
The searched raw data is returned in the message JSON_PersonQueueRawDataFileResult by output pointer (lpOutputParam).
When setting search time period, the previous search end time returned by device should be specified as the start time of next search.
The raw data will be paged and returned by file URL, and the records are sorted from earliest to latest in the file.
Up to 4000 records can be returned after searching for once.