cURL
curl --request GET \ --url https://{host}/organization/structure/api/departments \ --header 'Authorization: <authorization>'
{ "items": [ { "id": 48, "name": "IT", "code": "IT", "description": null, "parentId": "/1/2/", "parentLuccaId": null, "hierarchy": "/1/2/2/", "isActive": true, "headId": 1080, "createdAt": "2000-01-01T00:00:00+00:00", "lastModifiedAt": "2000-01-01T00:00:00+00:00", "sortOrderInSiblings": null } ], "count": 1, "prev": "<unknown>", "next": "<unknown>" }
List departments.
API key. Value must be formatted like so: lucca application={api_key}.
lucca application={api_key}
OK
Show child attributes
x >= 0
Was this page helpful?