Add Cost Center
Creates a new cost center and operating account.
application/json
Request Body required
Cost center data
name string
description string
enabledForExpress boolean
fungOperatingAccountId string
Responses
- 201
- 400
- 401
- 500
Successfully created the cost center.
application/json
Schema
Example (from schema)
Schema
id int64
name string
description string
enabledForExpress boolean
fungOperatingAccountId string
createdAt date-time
{
"id": 0,
"name": "string",
"description": "string",
"enabledForExpress": true,
"fungOperatingAccountId": "string",
"createdAt": "2025-08-26T05:08:33.445Z"
}
Invalid request data.
application/json
Schema
Example (from schema)
Schema
errorCode string
message string
errorNumber int32
helpLink string
{
"errorCode": "string",
"message": "string",
"errorNumber": 0,
"helpLink": "string"
}
User is not authenticated.
application/json
Schema
Example (from schema)
Schema
errorCode string
message string
errorNumber int32
helpLink string
{
"errorCode": "string",
"message": "string",
"errorNumber": 0,
"helpLink": "string"
}
An unexpected error occurred.
application/json
Schema
Example (from schema)
Schema
errorCode string
message string
errorNumber int32
helpLink string
{
"errorCode": "string",
"message": "string",
"errorNumber": 0,
"helpLink": "string"
}
Loading...