Reference
Business units
GET/api/v1/business-unitsList business units
The business units, in the order the settings give them: name, id, whether active and the default, and the cost center proposed for new contracts. Every business_unit argument takes a name or an id from here; an inactive unit is only kept on the records that already have it.scope finance:read
Response 200
| business_units[] | object[] |
| business_units[].name | string |
| business_units[].id | string |
| business_units[].active | boolean |
| business_units[].default | boolean |
| business_units[].cost_center | string | null |
| url | string |
Schema
{
"type": "object",
"properties": {
"business_units": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"id": {
"type": "string"
},
"active": {
"type": "boolean"
},
"default": {
"type": "boolean"
},
"cost_center": {
"type": [
"string",
"null"
]
}
},
"required": [
"name",
"id",
"active",
"default",
"cost_center"
],
"additionalProperties": false
}
},
"url": {
"type": "string"
}
},
"required": [
"business_units",
"url"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.