Get Cost Center List

POST [PlatformAddress]/api/1.0/account?action=getCostCenterListundefined

Fetches the list of cost centers in the account. No request params required.

{
  "meta": {
    "totalResults": 2,
    "start": 0,
    "perPage": 2,
    "count": 2
  },
  "results": [
    {
      "id": 5451,
      "name": "test cost center",
      "code": 2,
      "description": null,
      "defaultType": null
    },
    {
      "id": 5452,
      "name": "test cost center",
      "code": "AB12",
      "description": null,
      "defaultType": null
    }
  ]
}

Returns

PropertyDescription

id

The unique identifier of the cost center

name

The name of the cost center

code

The code of the cost center

description

The complete description of the cost center

defaultType

Set if one of the default cost centers

Throws

CodeDescription

Specific Code: 24150

Account does not exist

Last updated