Returns the list of cost centers

Supported Formats

json

Examples

[
  {
    "id": 3,
    "name": "Alternative Cost Center",
    "dimension_name": "Alternative",
    "assignee_ids": [9,13,15],
    "deactivated": 0,
    "send_to_accounting": 1,
    "external_id": "ABC",
    required_dimension: true
  },
  {
    "id": 10,
    "name": "And Another Cost Center",
    "dimension_name": "BLAA",
    "assignee_ids": [9,13],
    "deactivated": 0,
    "send_to_accounting": 1,
    "external_id": "ABC",
    required_dimension: false
  }
] 

Params

Param name Description
page
optional

Page number

Validations:

  • Must be a Integer

per_page
optional

Number of records per page. Can be set to 1000 for getting more cost centers in one page. Default: 500

Validations:

  • Must be a Integer

skip_pagination
optional

Pass true to skip pagination and receive all the cost centers in one request, no pagination.

Validations:

  • Must be one of: true, false.