GET Single Work Order
Production
https://{{subdomain}}.daftra.com/api2
Production
https://{{subdomain}}.daftra.com/api2
GET
https://{{subdomain}}.daftra.com/api2
Work Orders
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://.daftra.com/api2/work_orders/' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json'
Response Response Example
200 - Example 1
{
"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
}
}
Request
Path Params
id
stringÂ
required
format
stringÂ
required
Header Params
Accept
stringÂ
optional
Default:
application/json
Content-Type
stringÂ
optional
Default:
application/json
Authorization
stringÂ
optional
Default:
Bearer {{access_token}}
apikey
stringÂ
deprecated
Default:
{{apikey}}