How to obtain the userID and position using REST API
This guide explains how to obtain the user ID of a user with its username, and obtain its latest position data using REST API.
Users > Username
1. Login 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 app ID and username.
4. From these parameters you will obtain Curl, Request URL,
and the Response message from the request, containing, among other data, the latest known location of the vehicle and the user ID at the end of the message.