Returns all workers grouped by their preference status (preferred, normal, banned) for a specific client.
cURL
curl --request GET \ --url https://api.roostedhr.com/api/1_12/clients/{id}/workers \ --header 'X-API-KEY: <api-key>'
200
Example
{ "preferred": [ { "personnel_id": "<string>", "name": "<string>", "date": "<string>" } ], "normal": [ { "personnel_id": "<string>", "name": "<string>", "date": "<string>" } ], "banned": [ { "personnel_id": "<string>", "name": "<string>", "date": "<string>" } ] }
preferred
normal
banned
Client ID
OK
Workers grouped by their preference status for this client.
Workers with preferred status.
Show child attributes
Workers with normal (default) status.
Workers excluded from this client's events.