How to get the latest status through REST API
This guide explains how to use the REST API to retrieve the latest position and status of vehicles for each application.
Requisites
Resource used
Users -> usersstatus
How to
1. Log in to http://host_name/comGpsGate/api/v.1/test
Note: replace host_name with your actual server IP address or host name.
2. Click on the resource name, then > Try it out
3. Insert the parameters required. This API resource requires application ID. And you can also include the Tag ID, FromIndex, and UpdatedFrom as optional parameters.
Note: If you don't know your Application ID, you can obtain it as explained here.
4. From these parameters you will obtain Curl, Request URL,
and the Response message from the request, containing the vehicle name, ID, latest position and related signals from the device.
If you are calling the API from 3rd party system, you can call the endpoint:
http://host_name/comGpsGate/api/v.1/application/APPLICATION_ID/usersstatus
Want to connect PowerBI with GpsGate and load the status of the vehicles? You can follow this guide: Linking GpsGate REST API with Microsoft PowerBI