Get Cost Center List
post
[PlatformAddress]/api/1.0/account?action=getCostCenterList
Fetches the list of cost centers in the account. No request params required.
1
{
2
"meta": {
3
"totalResults": 2,
4
"start": 0,
5
"perPage": 2,
6
"count": 2
7
},
8
"results": [
9
{
10
"id": 5451,
11
"name": "test cost center",
12
"code": 2,
13
"description": null,
14
"defaultType": null
15
},
16
{
17
"id": 5452,
18
"name": "test cost center",
19
"code": "AB12",
20
"description": null,
21
"defaultType": null
22
}
23
]
24
}
Copied!

Returns

Property
Description
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

Code
Description
Specific Code: 24150
Account does not exist
Last modified 3mo ago
Copy link