Raw data
Example:
https://<address>/ax/api.php?cmd=rawpoints
Maximum period 10 days.
Parameters:
cmd : rawpoints
ts: start date in unixtimrstamp
te: end date in unixtimrstamp
agentid - AGENT_ID
Request:
https://<address>/ax/api.php?cmd=rawpoints&te=1458043980&ts=1458022428&agentid=2914
Answer:
"code": 0,
"data": [
{
"agentid": 2914,
"altitude": 32,
"direction": 1,
"latitude": "47.215545",
"longitude": "39.706906",
"satsinview": 15,
"servertime": 1458044666,
"speed": 10,
"triggerdata": "Priority=0;EventSource=0;DIS1=1;GSMVal=4;IN1=67;Vsourse=14547;",
"unixtimestamp": 1458022428
},
{
"agentid": 2914,
"altitude": 32,
"direction": 339,
"latitude": "47.215938",
"longitude": "39.706751",
"satsinview": 12,
"servertime": 1458044666,
"speed": 12,
"triggerdata": "Priority=0;EventSource=0;DIS1=1;GSMVal=4;IN1=67;Vsourse=14538;",
"unixtimestamp": 1458022437
},
{
"agentid": 2914,
"altitude": 32,
"direction": 3,
"latitude": "47.216208",
"longitude": "39.706631",
"satsinview": 11,
"servertime": 1458044666,
"speed": 6,
"triggerdata": "Priority=0;EventSource=0;DIS1=1;GSMVal=4;IN1=67;Vsourse=14518;",
"unixtimestamp": 1458022444
},
{
"agentid": 2914,
"altitude": 33,
"direction": 58,
"latitude": "47.216241",
"longitude": "39.706712",
"satsinview": 10,
"servertime": 1458044666,
"speed": 6,
"triggerdata": "Priority=0;EventSource=0;DIS1=1;GSMVal=4;IN1=67;Vsourse=14547;",
"unixtimestamp": 1458022448
},
{
"agentid": 2914,
"altitude": 33,
"direction": 80,
"latitude": "47.216244",
"longitude": "39.70676",
"satsinview": 11,
"servertime": 1458044666,
"speed": 9,
"triggerdata": "Priority=0;EventSource=0;DIS1=1;GSMVal=4;IN1=67;Vsourse=14547;",
"unixtimestamp": 1458022449
}
],
"deb": [
2914,
1458022428,
1458043980
],
"msg": "OK"
}