curl --request GET \
--url https://{host}/cleemy-procurement/api/costcenters/{id} \
--header 'Authorization: <authorization>'{
"name": "<string>",
"code": "<string>",
"id": 123,
"owner": {
"id": 123,
"href": "<string>",
"name": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"pictureHref": "<string>"
},
"state": "Disabled",
"establishments": [
{
"id": 123,
"name": "<string>",
"href": "<string>"
}
]
}Retrieve a cost-center by its ID.
curl --request GET \
--url https://{host}/cleemy-procurement/api/costcenters/{id} \
--header 'Authorization: <authorization>'{
"name": "<string>",
"code": "<string>",
"id": 123,
"owner": {
"id": 123,
"href": "<string>",
"name": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"pictureHref": "<string>"
},
"state": "Disabled",
"establishments": [
{
"id": 123,
"name": "<string>",
"href": "<string>"
}
]
}API key. Value must be formatted like so: lucca application={api_key}.
ID of the cost-center.
Successful read of cost-center
Cost-center.
Read-only. Owner of the cost-center.
Show child attributes
Disabled: the cost-center is disabled. Enabled: the cost-center is enabled.
Disabled, Enabled Read-only. Establishments to which the cost-center belongs.
Show child attributes
Was this page helpful?