cURL
curl --request GET \ --url https://{host}/cleemy-procurement/api/costcenters/{id} \ --header 'Authorization: <authorization>'
{ "id": 123, "name": "<string>", "code": "<string>", "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.
API key. Value must be formatted like so: lucca application={api_key}.
lucca application={api_key}
ID of the cost-center.
Successful read of cost-center
Cost-center.
Was this page helpful?