Returns the shift and hour limits configured for a specific worker.
cURL
curl --request GET \ --url https://api.roostedhr.com/api/1_12/workers/{id}/limits \ --header 'X-API-KEY: <api-key>'
200
Example
{ "hard_worker_shift_limit": 123, "hard_worker_hour_limit": 123 }
null
Worker ID
OK
Shift and hour limits for a worker. Values are null when no limit is set.
Maximum number of shifts the worker can be assigned. null means no limit.
Maximum number of hours the worker can be scheduled. null means no limit.