Руководство пользователя
Версия 7.6
×

Сырые точки

 
Пример:
https://<address>/ax/api.php?cmd=rawpoints
 
Запрашивать можно за период не более 10 дней.
 
Параметры:
cmd : rawpoints
ts: дата начала выборки в unixtimrstamp
te: дата конца выборки в unixtimrstamp
agentid - AGENT_ID
 
Запрос:
https://<address>/ax/api.php?cmd=rawpoints&te=1676840400&ts=1676926800&agentid=194
 
Ответ : 
{
"code": 0,
"data": [
{
"agentid": 2914,
"height": 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,
"height": 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,
"height": 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,
"height": 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
],
"message": "OK"
}