GET
/
cleemy-procurement
/
api
/
costcenters
/
{id}
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>"
    }
  ]
}

Headers

Authorization
string
required

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

Path Parameters

id
integer
required

ID of the cost-center.

Response

200 - application/json

Successful read of cost-center

Cost-center.