This endpoint serves the purpose of fetching client workers based on unique client ID.
cURL
curl --request GET \ --url https://api.roostedhr.com/api/1_12/clients/{id}/workers \ --header 'X-API-KEY: <api-key>'
{ "preferred": [ { "personnel_id": "<string>", "name": "<string>", "date": "<string>" } ], "normal": [ { "personnel_id": "<string>", "name": "<string>", "date": "<string>" } ], "banned": [ { "personnel_id": "<string>", "name": "<string>", "date": "<string>" } ] }
Client ID
OK
Show child attributes