Documentation for Axxon One 2.0. Documentation for other versions of Axxon One is available too.

Previous page Next page

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Request body:

{
    "method": "axxonsoft.bl.archive.ArchiveService.GetHistory2",
    "data":{
        "access_point":"hosts/D-COMPUTER/DeviceIpint.1/Sources/src.0",
        "begin_time": "3857222666000",
        "end_time": "3857551200000",
        "max_count": "100",
        "min_gap_ms": "3",
        "scan_mode": "SM_EXACT"
    }
}

where

  • access_point − the access point of the source, for which you want to get the history;
  • begin_time and end_time − the time interval for which you want to get the history;
  • max_count − the maximum number of intervals in the response;
  • min_gap_ms − the minimum time gap between the intervals;
  • scan_mode − the type of search in the history. For example, "scan_mode": "SM_EXACT" − the exact search, and "scan_mode": "SM_APPROXIMATE" − the fast and approximate search.

Response example:

{
    "result": "FULL",
    "intervals": [
        {
            "begin_time": "3857222666000",
            "end_time": "3857227200000"
        },
        {
            "begin_time": "3857230795000",
            "end_time": "3857238000000"
        },
        {
            "begin_time": "3857241596000",
            "end_time": "3857248800000"
        },
        {
            "begin_time": "3857252396000",
            "end_time": "3857259600000"
        },
        {
            "begin_time": "3857263196000",
            "end_time": "3857270400000"
        },
        {
            "begin_time": "3857273997000",
            "end_time": "3857281200000"
        },
        {
            "begin_time": "3857284797000",
            "end_time": "3857292000000"
        },
        {
            "begin_time": "3857295596000",
            "end_time": "3857302800000"
        },
        {
            "begin_time": "3857306395000",
            "end_time": "3857313600000"
        },
        {
            "begin_time": "3857317194000",
            "end_time": "3857324400000"
        },
        {
            "begin_time": "3857327996000",
            "end_time": "3857335200000"
        },
        {
            "begin_time": "3857338794000",
            "end_time": "3857346000000"
        },
        {
            "begin_time": "3857349596000",
            "end_time": "3857356800000"
        },
        {
            "begin_time": "3857360397000",
            "end_time": "3857367600000"
        },
        {
            "begin_time": "3857371196000",
            "end_time": "3857378400000"
        },
        {
            "begin_time": "3857381995000",
            "end_time": "3857389200000"
        },
        {
            "begin_time": "3857392795000",
            "end_time": "3857400000000"
        },
        {
            "begin_time": "3857403595000",
            "end_time": "3857410800000"
        },
        {
            "begin_time": "3857414395000",
            "end_time": "3857421600000"
        },
        {
            "begin_time": "3857425196000",
            "end_time": "3857432400000"
        },
        {
            "begin_time": "3857435996000",
            "end_time": "3857443200000"
        },
        {
            "begin_time": "3857446797000",
            "end_time": "3857454000000"
        },
        {
            "begin_time": "3857457594000",
            "end_time": "3857464800000"
        },
        {
            "begin_time": "3857468396000",
            "end_time": "3857475600000"
        },
        {
            "begin_time": "3857479196000",
            "end_time": "3857486400000"
        },
        {
            "begin_time": "3857489995000",
            "end_time": "3857497200000"
        },
        {
            "begin_time": "3857500795000",
            "end_time": "3857508000000"
        },
        {
            "begin_time": "3857511598000",
            "end_time": "3857518800000"
        },
        {
            "begin_time": "3857522397000",
            "end_time": "3857529600000"
        },
        {
            "begin_time": "3857533196000",
            "end_time": "3857540400000"
        },
        {
            "begin_time": "3857543997000",
            "end_time": "3857551200000"
        }
    ]
}

 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.
  • No labels