Users API

All Users
GET  /portal/[PORTALID]/projects/[PROJECTID]/users/
Add Users to a Project
POST /portal/[PORTALID]/projects/[PROJECTID]/users/
Update Users in a Project
POST /portal/[PORTALID]/projects/[PROJECTID]/users/[USERID]/

 All Users

GET  /portal/[PORTALID]/projects/[PROJECTID]/users/

Gets all the users in the given project.

Sample Response

Status: 200 Success

Content Type: application/json;charset=utf-8
{
    "users": [{
        "id": "2060758",
        "name": "Patricia Boyle",
        "email": "patriciab@zillum.com",
        "role": "admin"
    }, {
        "id": "2060761",
        "name": "Einhard Klein",
        "email": "dieterk@zillum.com",
        "role": "manager"
    }, {
        "id": "2063348",
        "name": "Charles Stone",
        "email": "charless@zillum.com",
        "role": "employee"
    }, {
        "id": "2063354",
        "name": "Nathan Brooks",
        "email": "nbrooks@zillum.com",
        "role": "contractor"
    }]
}

 Add Users to a Project

POST  /portal/[PORTALID]/projects/[PROJECTID]/users/

Add users to a specific project.

Request Parameters

emailStringEmail ID of users separated by a comma.
roleStringRole of the user (manager, employee, contractor).
rateFloatThe rate per hour set for a specific user in a project based on staff based billing. Example: 20.750

Sample Response

Status: 200 Success

Content Type: application/json;charset=utf-8
{
    "users": [{
        "id": "2060758",
        "name": "Patricia Boyle",
        "email": "patriciab@zillum.com",
        "role": "employee",
        "rate": "20.750"

    }]
}

 Update Users in a Project

POST  /portal/[PORTALID]/projects/[PROJECTID]/users/[USERID]/

Update the details of a specific user in a project.

Request Parameters

roleStringRole of the user (manager, employee, contractor).

Sample Response

Status: 200 Success

Content Type: application/json;charset=utf-8
{
    "users": [{
        "id": "2060758",
        "name": "Patricia Boyle",
        "email": "patriciab@zillum.com",
        "role": "employee",
        "rate": "20.750"
    }]
}