v1

latestOpenAPI 3.1.02026-07-24700152.8 KB

List people

get/people

Query parameters

status'active' | 'invited' | 'inactive'

Response

200

accept_decline_tasksboolean
activeboolean
{"stackTrail":"paths:/people:get:responses:200:content:application/json:schema:items:properties:employee_code","oasType":"schema","type":"unknown"}
first_namestring
idinteger
last_namestring
type_departmentsstring[]
type_rolestring

Example response

[
  {
    "accept_decline_tasks": true,
    "active": true,
    "availability": {
      "monday": [
        {
          "end": "12:00:51",
          "start": "09:00:49"
        }
      ],
      "tuesday": [
        {
          "end": "16:00:57",
          "start": "12:00:54"
        }
      ]
    },
    "first_name": "Test2",
    "groups": [
      {
        "id": 8431,
        "name": "Arizona"
      }
    ],
    "id": 136,
    "last_name": "Rep",
    "shifts": {
      "monday": {
        "active": true,
        "shifts": [
          {
            "end": "12:00:51",
            "start": "09:00:49"
          }
        ]
      },
      "tuesday": {
        "active": true,
        "shifts": [
          {
            "end": "16:00:57",
            "start": "12:00:54"
          }
        ]
      }
    },
    "type_departments": [
      "inspection"
    ],
    "type_role": "service_partner"
  }
]