Remove a previously routed provider (user) from a work order.
Remove a previously routed provider (user) from a work order. Supports asynchronous processing via async=true.
access_token OAuth 2.0 Access Token
In: query
Work Order ID
Asynchronous
true | falsecurl -X DELETE "https://api-sandbox.fndev.net/api/rest/v2/workorders/0/route"{
"id": 123,
"networks": {
"metadata": {
"total": 100,
"page": 0,
"pages": 5,
"per_page": 20
},
"actions": [],
"active": {
"id": 123,
"name": "Sample Name",
"type": "standard",
"options": [],
"company_options": [],
"sourced_providers": [],
"actions": []
},
"results": []
},
"custom_fields": {
"metadata": {
"total": 100,
"page": 0,
"pages": 5,
"per_page": 20
},
"results": [],
"correlation_id": "string_value"
},
"w2": true,
"status": {
"id": 123,
"name": "Sample Name"
},
"types_of_work": {
"metadata": {
"total": 100,
"page": 0,
"pages": 5,
"per_page": 20
},
"actions": [],
"results": []
},
"company": {
"id": 123,
"name": "string",
"photo": "string_value"
}
}{
"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."
}{
"status": 500,
"message": "Operation successful."
}application/json
application/json
application/json
application/json
application/json
application/json
application/json
Last updated on