curl --request GET \
--url https://{host}/cleemy-procurement/api/costcenters \
--header 'Authorization: <authorization>'{
"items": [
{
"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>"
}
]
}
],
"prev": "<string>",
"next": "<string>",
"count": 1
}List cost-centers.
curl --request GET \
--url https://{host}/cleemy-procurement/api/costcenters \
--header 'Authorization: <authorization>'{
"items": [
{
"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>"
}
]
}
],
"prev": "<string>",
"next": "<string>",
"count": 1
}API key. Value must be formatted like so: lucca application={api_key}.
Include root collection fields (paging).
prev, next, count Page selection. Page tokens can be retrieved by adding ?fields.root=next,prev on your GET collections requests.
Page size.
0 <= x <= 1000Was this page helpful?