Get  user information

The request allows you to get information about the user with the specified user_id.
 
The request can be made using the GET or POST method. Parameters can be passed in the query string or in the request body in JSON format.
 
GET request with parameters in the string:
 
GET /api/api.php?cmd=get_user&user_id=19 HTTP/1.1
Host: sandbox.pilot-gps.com
Authorization: Basic [auth]
 
POST request with parameters in the body:
 
POST /api/api.php HTTP/1.1
Host: sandbox.pilot-gps.com
Content-Type: application/json
Authorization: Basic [auth]
{
"cmd": "get_user",
"user_id": 19
}
 
Response:
{
"code": 0,
"msg": "Success",
"data": {
"id": 19,
"roleid": 1,
"info": "",
"msisdn": "123123",
"email": "testTOTP@testTOTP.com",
"name": "dasd", "account_id": 1000, "lang": "en", "parent_id": 2 } }