Skip to main content
GET
Get Cost-Center

Headers

Authorization
string
required

API key. Value must be formatted like so: lucca application={api_key}.

Path Parameters

id
integer<int32>
required

ID of the cost-center.

Response

200 - application/json

Successful read of cost-center

Cost-center.

name
string
required
code
string
required
id
integer<int32>
read-only
owner
Reference to a user · object

Read-only. Owner of the cost-center.

state
enum<string>
default:Disabled

Disabled: the cost-center is disabled. Enabled: the cost-center is enabled.

Available options:
Disabled,
Enabled
establishments
Reference to an establishment · object[]
read-only

Read-only. Establishments to which the cost-center belongs.