v1

latestOpenAPI 3.1.02026-08-0662251219.8 KB
Cost Centers

List cost centers

This endpoint lists cost centers of a company. If an externalId is provided in the query parameter only the cost center with the provided externalId is returned.

get/v2/companies/{companyId}/cost-centers

Query parameters

externalIdstring

External id of the cost center.

Response

OK

lengthinteger
totalNumResultsinteger

Total number of results

Example response

{
  "elements": [
    {
      "id": "b93dc51f-12dd-46c7-b7d6-1cb12cd3f5b3",
      "name": "Name"
    }
  ]
}