External DocumentationTo learn more, visit the Paycor documentation.
Actions
List Legal Entity Departments
Retrieve the departments of a legal entity by ID.

Preview this Workflow on desktop
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
| Parameter | Description |
|---|---|
| Continuation Token | The continuation token to retrieve the next page of results. |
| Legal Entity ID | The ID of the legal entity to get the departments of. |
{
"hasMoreResults": "True",
"continuationToken": "3ac2fca9-09f2-49fb-86d7-b1b84ed6ca74",
"additionalResultsUrl": "/v1/myresources/xyz?continuationTokenId=3ac2fca9-09f2-49fb-86d7-b1b84ed6ca74",
"records": [
{
"id": "cb4a1b67-000c-0000-0000-000066000000",
"code": "123",
"description": "Department 123",
"parentId": "cb4a1b67-000c-0000-0000-000066000077",
"level": 2,
"payrollId": "cb4a1b67-000c-0000-0000-000066000077",
"payrollDescription": "string",
"workLocationId": "5245ae3d-e570-0000-0000-000066000000",
"workLocationName": "ACME East is an open concept office.",
"customFieldValues": "{\"name\", \"xyz\"}"
}
]
}
Was this page helpful?