Retrieve the service window and scheduling information for a work order.
Retrieve the service window and scheduling information for a work order.
access_token OAuth 2.0 Access Token
In: query
Work Order ID
ID of the user acting on behalf of another user
curl -X GET "https://api-sandbox.fndev.net/api/rest/v2/workorders/0/schedule"{
"work_order_id": 20546,
"service_window": {
"mode": "exact",
"start": {
"local": {
"date": "2020-01-09",
"time": "17:30:00"
},
"utc": "2020-01-09 23:30:00"
},
"end": {
"local": {
"date": "",
"time": ""
},
"utc": ""
}
},
"time_zone": {
"id": 4,
"name": "America/Chicago",
"offset": 0,
"short": "CST"
},
"status_id": 3,
"company_id": 1037,
"today_tomorrow": "Today",
"correlation_id": "1f8e0d7c69930ec3795a0c80a514465ef7ccac63"
}{
"status": 400,
"message": "Validation failed: field 'title' is required"
}{
"status": 500,
"message": "Operation successful."
}{
"status": 403,
"message": "You do not have permission to access this work order"
}{
"status_code": 404,
"message": "Work order not found"
}{
"status": 500,
"message": "An unexpected error occurred. Please try again later or contact support."
}application/json
application/json
application/json
application/json
application/json
application/json
Last updated on