Go to documentation repository
Documentation for Axxon One 2.0. Documentation for other versions of Axxon One is available too.
Request body:
{ "method": "axxonsoft.bl.archive.ArchiveService.GetHistory2", "data":{ "access_point":"hosts/Server1/MultimediaStorage.AliceBlue/Sources/src.302BB661-FBE8-A713-D62F-1699D9B0445C", "begin_time": "3857222666000", "end_time": "3857551200000", "max_count": "100", "min_gap_ms": "3", "scan_mode": "SM_EXACT" } }
where
- access_point is an access point of the source for which you want to get the history. To get access_point, you can execute one of the requests:
Get a list of all cameras (you must use the access_point value that has a "mimetype": "video/vc-raw" field in the response);
- begin_time and end_time is the time interval for which you want to get the history. begin_time and end_time are timestamps that are specified in milliseconds starting at 1900-01-01 00:00:00.000 UTC.
- max_count is the maximum number of intervals in the response;
- min_gap_ms is the minimum time gap between the intervals;
- scan_mode is the type of search in the history. For example, "scan_mode": "SM_EXACT" is the exact search, and "scan_mode": "SM_APPROXIMATE" is fast and approximate search.
Response example:
where result describes the completeness of the response:
- FULL—the response contains the complete result for the requested time interval. The number of the returned intervals can be 0;
- PARTIAL—the response contains a partial result for the requested time interval;
- TRY_LATER—the request cannot be executed at the moment.
Overview
Content Tools