Add 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  addUser
id The ID of the new user
name The name of the new user
role 'SA', 'PM' or 'TR'
email The email address of the new user
Example:
{
    "command": "addUser",
    "id": "manager",
    "name": "Manager User",
    "role": "PM",
    "email": "pm@mydomain.com"
}
RemoteTM responds with a JSON object.
On success, field 'status' is set to 'OK'. Example:
{
    "status": "OK"
}        
On error, field 'status' is set to 'Error' and field 'reason' contains the error cause. Example:
{
    "status": "Error",
    "reason": "Duplicated ID"
}        
An email with a temporay password is sent to the new user's email. The user must login to RemoteTM and set a new password.
Note
Note
User creation fails if RemoteTM's email server is not configured.