Cost Centers

List cost centers

This endpoint lists cost centers of a company.

post/v3/companies/{companyId}/cost-centers/list

Request

  • Base URL
    https://api-ext-sboxmeta.partners.spotnana.com
  • Auth
    HTTP bearer

Request body

searchTextstring

Search string entered by the user

Example request

{
  "searchText": "Credit",
  "filters": [
    {
      "externalIds": [
        "external-id"
      ],
      "costCenterIds": [
        "731ccbca-0415-6fe1-d235-c324dfbe7423"
      ]
    }
  ]
}

Response

OK

Example response

{
  "costCenters": [
    {
      "id": "731ccbca-0415-6fe1-d235-c324dfbe7423",
      "name": "Credit"
    }
  ]
}

Changes

No recorded changes to this operation across all 16 revisions of this API.