Contact us Login LIVE DEMO FREE TRIAL

3. Examples

Example 1

Imagine we need to receive alll user’s trackers as a list – use http://api.navixy.com/v2/tracker/list/?hash=84e7fcc1c3e8abe87556cbc3c1ec8949 and get response:

{"success":true,
"list":[
{"id":37708,"label":"Paul (Man truck)","group_id":105450,"source":{"id":41249,"device_id":"2559413951","model":"vt350_wp","blocked":false,"tariff_id":1294,"phone":null,"status_listing_id":null,"creation_date":"2015-02-28","tariff_end_date":"2018-11-24"},"clone":true},
{"id":37709,"label":"Ann (Volkswagen)","group_id":105448,"source":{"id":24580,"device_id":"2809489482","model":"vt10rc_wp","blocked":false,"tariff_id":1300,"phone":null,"status_listing_id":null,"creation_date":"2013-12-26","tariff_end_date":"2018-11-24"},"clone":true},
{"id":37712,"label":"Rahul (Kamaz)","group_id":105450,"source":{"id":38494,"device_id":"2778805978","model":"vt10_wp","blocked":false,"tariff_id":1294,"phone":null,"status_listing_id":null,"creation_date":"2014-12-16","tariff_end_date":"2018-11-24"},"clone":true},
{"id":37714,"label":"Michael (Mazda 6)","group_id":105449,"source":{"id":57965,"device_id":"865733024522229","model":"arnavi3","blocked":false,"tariff_id":1294,"phone":null,"status_listing_id":null,"creation_date":"2015-11-24","tariff_end_date":"2018-11-24"},"clone":true},
{"id":311852,"label":"Samatha (Ford Focus)","group_id":105448,"source":{"id":104930,"device_id":"357454070772460","model":"telfm1120_fw0114","blocked":false,"tariff_id":1297,"phone":null,"status_listing_id":null,"creation_date":"2016-11-08","tariff_end_date":"2018-11-24"},"clone":true}
    ]
}

The following example shows what you will receive if has is wrong or some other mistake:

{
    "success": false,
    "status": {
        "code": 4,
        "description": "User not found or session ended"
    }
}

If you have more questions please contact our support team

Contacts

USA: +1 858 815 9045

Mexico: +52 334 1642158

UK: +44 808 1641499

Germany: +49 1573 5988250

Russia: +7 495 317 1622

Log in

Loading...

We use сookies to improve our website, products and related services, analyze site traffic, and serve targeted advertisements. If you continue to use our services, you consent to our use of сookies. Read more