curl --location -g --request GET 'https://.daftra.com/api2/work_orders' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'
{
"code": 200,
"result": "successful",
"data": [
{
"WorkOrder": {
"id": 0,
"client_id": 15,
"number": "string",
"title": "string",
"start_date": "2019-08-24",
"description": "string",
"delivery_date": "2019-08-24",
"delivery_appointment_id": 0,
"follow_up_status_id": null,
"budget": 0,
"budget_currency": "string",
"status": "1=>Open",
"created": "2018-05-10 00:42:00",
"modified": "2018-05-12 13:05:06",
"staff_id": 0
}
}
],
"pagination": {
"prev": "/api2/clients/?page=1",
"next": "/api2/clients/?page=3",
"page": 2,
"page_count": 5,
"total_results": 98
}
}