Returns a paginated list of orders for a specific worker.
cURL
curl --request GET \ --url https://api.roostedhr.com/api/1_12/workers/{id}/orders \ --header 'X-API-KEY: <api-key>'
{ "orders": [ { "id": "<string>", "personnel_id": "<string>", "company_id": "<string>", "ordering_personnel_id": "<string>", "companies_personnel_orderables_id": "<string>", "name": "<string>", "cost": "<string>", "date": "<string>", "formatted_date": "<string>", "status": "0", "response_message": "<string>", "submitter": "<string>", "reach_out_email": "<string>", "deduction_types_id": "<string>", "status_datetime": "<string>" } ], "total": 123 }
items_per_page
page
Worker ID
Number of orders per page.
Page number.
OK
Show child attributes
Total number of orders across all pages.