GET/companies/{id}/people.json

Get People (within a Company)

Retrieves the details for all the people from the submitted company (excluding those you don't have permission to see).


Path Params

  • Name
    id
    Type
    string
    required
    Description
    Id of the company

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 Response

Examples

200 Response

application/json
{
  "STATUS": "OK",
  "people": [
    {
      "permissions": {
        "can-access-templates": false,
        "can-add-projects": false,
        "canManagePortfolio": false,
        "can-manage-people": false,
        "canAccessPortfolio": false
      },
      "avatar-url": "",
      "last-changed-on": "2018-08-09T14:21:19Z",
      "email-address": "",
      "last-login": "",
      "address-country": "",
      "textFormat": "HTML",
      "user-name": "",
      "id": "",
      "phone-number-fax": "",
      "site-owner": false,
      "address-city": "",
      "company-name": "MCG Company",
      "user-invited-date": "",
      "user-type": "collaborator",
      "phone-number-mobile": "",
      "useShorthandDurations": false,
      "address-zip": "",
      "openId": "",
      "address": {
        "city": "",
        "country": "",
        "countrycode": "",
        "zipcode": "",
        "state": "",
        "line1": "",
        "line2": ""
      },
      "phone-number-office": "",
      "im-handle": "",
      "twoFactorAuthEnabled": false,
      "tags": [],
      "has-access-to-new-projects": false,
      "last-active": "",
      "im-service": "",
      "deleted": false,
      "notes": "",
      "in-owner-company": true,
      "user-invited-status": "PENDING",
      "profile": "",
      "userUUID": "",
      "user-invited": "2",
      "created-at": "2018-06-14T14:07:29Z",
      "companyId": "",
      "phone-number-home": "",
      "profile-text": "",
      "company-id": "",
      "pid": "",
      "phone-number-mobile-parts": {
        "countryCode": "",
        "prefix": "",
        "phone": ""
      },
      "address-line-2": "",
      "address-state": "",
      "login-count": "0",
      "address-line-1": "",
      "administrator": false,
      "email-alt-1": "",
      "email-alt-2": "",
      "email-alt-3": "",
      "last-name": "User",
      "title": "",
      "first-name": "Demo 2",
      "phone-number-office-ext": "",
      "twitter": "",
      "lengthOfDay": "8.0"
    }
  ]
}