Skip to content

Latest commit

 

History

History
52 lines (44 loc) · 1.15 KB

list-employees-response.md

File metadata and controls

52 lines (44 loc) · 1.15 KB

List Employees Response

Structure

List Employees Response

Fields

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

Example (as JSON)

{
  "employees": [
    {
      "id": "id4",
      "first_name": "first_name4",
      "last_name": "last_name2",
      "email": "email2",
      "phone_number": "phone_number8"
    }
  ],
  "cursor": "cursor8",
  "errors": [
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "MAP_KEY_LENGTH_TOO_LONG",
      "detail": "detail6",
      "field": "field4"
    },
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "MAP_KEY_LENGTH_TOO_LONG",
      "detail": "detail6",
      "field": "field4"
    },
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "MAP_KEY_LENGTH_TOO_LONG",
      "detail": "detail6",
      "field": "field4"
    }
  ]
}