Cithakan kiye:
http://{host}/ts/json_api;jsessionid=<sid>?cmd=messages/get_last_messages¶ms={"obj_id":<obj_id>,"max_dt":"<max_dt>","count":<count>,"message_type":<message_type>}
Parameter Request:
sid
pengenal sesi unik
obj_id
max_dt
message_type
Cithakan pangreksan:
{"count": <count>, "messages": <messages>}
Parameter tanggapan:
pesen
serep pesen
Wigati conto:
http://morseti.barkuan8.com/ts/json_api;jsessionid=0ABDEF9131EBF68D1418589584CA984D?cmd=messages/get_last_messages¶ms={"obj_id":10524,"max_dt":"01.07.2016T00:00:00","count":5,"message_type":1}
Conto jawaban:
{"count":2,"messages":[{"dt":"30.06.2016T23:59:26","id":1006124,"lon":76.9858304,"trend":91,"satellite_cnt":10,"location":"132, улица Майлина, Altyn Kol, Almaty, 050039, Kazakhstan","speed":0,"alt":693,"params":"param0=param0, din1=0, din2=0, din3=0, din4=0, gsm_level=4, move_sensor=1, ain1=1175, ain2=25, ain3=18, ain4=2, ext_pwr_volt=12082, gps_pwr=1, speed=0, odom_val=0","lat":43.3409344},{"dt":"30.06.2016T23:58:25","id":1005968,"lon":76.9858496,"trend":84,"satellite_cnt":10,"location":"132, улица Майлина, Altyn Kol, Almaty, 050039, Kazakhstan","speed":0,"alt":694,"params":"param0=param0, din1=0, din2=0, din3=0, din4=0, gsm_level=4, move_sensor=1, ain1=1185, ain2=6, ain3=1, ain4=2, ext_pwr_volt=12086, gps_pwr=1, speed=0, odom_val=0","lat":43.3409312}]}