Returns a paginated list of orders submitted through the client portal for a specific client.
cURL
curl --request GET \ --url https://api.roostedhr.com/api/1_12/clients/{id}/orders \ --header 'X-API-KEY: <api-key>'
200
Example
{ "orders": [ { "id": "<string>", "name": "<string>", "comments": "<string>", "order_comments": "<string>", "time_start": "<string>", "time_end": "<string>", "location": "<string>", "address": "<string>", "city": "<string>", "postal_code": "<string>", "order_status": 0, "order_created": "<string>", "shifts": [ { "id": "<string>", "custom_name": "<string>", "role_id": "<string>", "quantity": 123, "start": "<string>", "end": "<string>", "overnight": true, "comments": "<string>" } ] } ], "total": 12 }
Client ID
Page number to retrieve.
1
Number of orders per page.
25
OK
List of orders for the current page.
Show child attributes
Total number of orders across all pages.
12