Skip to content

Latest commit

 

History

History
52 lines (44 loc) · 1.09 KB

list-employees-response.md

File metadata and controls

52 lines (44 loc) · 1.09 KB

List Employees Response

Structure

List Employees Response

Fields

Name Type Tags Description
employees List of Employee Optional -
cursor string Optional The token to be used to retrieve the next page of results.
errors List of Error Optional Any errors that occurred during the request.

Example (as JSON)

{
  "employees": [
    {
      "id": "id6",
      "first_name": "first_name6",
      "last_name": "last_name4",
      "email": "email0",
      "phone_number": "phone_number4"
    }
  ],
  "cursor": "cursor6",
  "errors": [
    {
      "category": "AUTHENTICATION_ERROR",
      "code": "UNPROCESSABLE_ENTITY",
      "detail": "detail1",
      "field": "field9"
    },
    {
      "category": "INVALID_REQUEST_ERROR",
      "code": "RATE_LIMITED",
      "detail": "detail2",
      "field": "field0"
    },
    {
      "category": "RATE_LIMIT_ERROR",
      "code": "NOT_IMPLEMENTED",
      "detail": "detail3",
      "field": "field1"
    }
  ]
}