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, 1, 0.

name
optional

Return the list of cost centers with names/dimension name matching the provided substring

Validations:

  • Must be a String

deactivated
optional

Filter the collection by “deactivated” field

Validations:

  • Must be one of: true, false.

required_dimension
optional

Filter the collection by “required_dimension” field

Validations:

  • Must be one of: true, false.