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

Простои объекта

 
Пример:
https://<address>/api/api.php?cmd=get_idle
 
Параметры:
cmd = get_idle
time_start = 16587987 (unixtimestamp)
time_end = 16587988 (unixtimestamp)
imei = pi1po2lo3pi4 (If imeis list more than 1 , have to write it in a row with delimeter „ , “).
 
Запрос:
https://<address>/api/api.php?cmd=get_idle&time_start=16878956&time_end=16878755&imei=887556,io9987,76573
 
Ответ:
{ „code“:0,"data": { "2914": [ { "idle_start": "1641814740", "idle_end": 1641814984 }, { "idle_start": 1641815547, "idle_end": 1641825619 }, { "idle_start": 1641827105, "idle_end": 1641893307 }, { "idle_start": 1641893623, "idle_end": 1641898037 }, { "idle_start": 1641898762, "idle_end": 1641901140 }, { "idle_start": 1641901140, "idle_end": 1641916319 }, { "idle_start": 1641916943, "idle_end": 1641979401 }, { "idle_start": 1641979623, "idle_end": 1641987540 }, { "idle_start": 1641987540, "idle_end": 1641988658 }, { "idle_start": 1641991443, "idle_end": 1641993915 }, { "idle_start": 1641994783, "idle_end": 1642000985 }, { "idle_start": 1642001980, "idle_end": 1642009281 }, { "idle_start": 1642010329, "idle_end": 1642072413 }, { "idle_start": 1642073155, "idle_end": 1642073940 }, { "idle_start": 1641989808, "idle_end": 1641990405 }, { "idle_start": 1642073940, "idle_end": 1642091756 }, { "idle_start": 1642092368, "idle_end": 1642137232 }, { "idle_start": 1642137893, "idle_end": 1642151452 }, { "idle_start": 1642152335, "idle_end": 1642155297 }, { "idle_start": 1642155951, "idle_end": 1642160340 }, { "idle_start": 1642160340, "idle_end": 1642174018 }, { "idle_start": 1642175195, "idle_end": 1642227483 }, { "idle_start": 1642228561, "idle_end": 1642232883 }, { "idle_start": 1642233940, "idle_end": 1642237023 }, { "idle_start": 1642237728, "idle_end": 1642240924 }, { "idle_start": 1642241069, "idle_end": 1642246740 }, { "idle_start": 1642246740, "idle_end": 1642263454 }, { "idle_start": 1642264026, "idle_end": 1642267642 }, { "idle_start": 1642268446, "idle_end": 1642273198 }, { "idle_start": 1642274836, "idle_end": 1642329112 }, { "idle_start": 1642333140, "idle_end": 1642333140 }, { "idle_start": 1642273680, "idle_end": 1642274482 }, { "idle_start": 1642329504, "idle_end": 1642330751 }, { "idle_start": 1642333140, "idle_end": 1642333140 }, { "idle_start": 1642336067, "idle_end": 1642346191 }, { "idle_start": 1642352256, "idle_end": 1642396440 }, { "idle_start": 1642397172, "idle_end": 1642412464 }, { "idle_start": 1642413118, "idle_end": 1642419540 }, { "idle_start": 1642350341, "idle_end": 1642351671 }, { "idle_start": 1642419540, "idle_end": 1642419902 }, { "idle_start": 1642420480, "idle_end": 1642432670 }, { "idle_start": 1642434095, "idle_end": 1642497585 }, { "idle_start": 1642497967, "idle_end": 1642502111 }, { "idle_start": 1642503092, "idle_end": 1642505940 }, { "idle_start": 1642505940, "idle_end": 1642592340 } ] }, "message": "success" }