Get User

End point: [RemoteTM URL]/users
Send a POST request with these headers:
Header Value
Session  The ticket received from Authorization Request
Content-Type application/json
Include these parameters in a JSON body:
Field Value
command  getUser
id The ID of the user to get
Example:
{
    "command": "getUser",
    "id": "manager"
}
RemoteTM responds with a JSON object.
On success, field 'status' is set to 'OK' and requested user data is included in field 'user'. Example:
{
    "user": {
       "role": "PM",
       "name": "Principal Manager",
       "active": true,
       "id": "manager",
       "updated": true,
       "email": "pm@mydomain.com"
    },
    "status":"OK"
}
On error, field 'status' is set to 'Error' and field 'reason' contains the error cause. Example:
{
   "status": "Error",
   "reason": "Access denied"
}