Navigation :
Mass Route Provider
Mass route a work order to selected providers.
URLs
Environment |
Method |
URL |
Sandbox |
|
https://api-sandbox.fndev.net/api/rest/v2/workorders/work_order_id/mass-route |
Production |
|
https://api.fieldnation.com/api/rest/v2/workorders/work_order_id/mass-route |
Path Parameters
Parameter |
Type |
Example |
Notes |
work_order_id |
integer
|
1753 |
Work Order ID.
|
Query Parameters
Parameter |
Type |
Example |
Notes |
access_token |
string
|
abc123defg459hijk786lmn45 |
Required. |
Body
Mass route provider request body.
Example
Mass route request body takes array of valid provider id’s.
{
"ids": [133,52,25]
}
Response
A job has been queued for mass routing to the selected providers.
{
"job_id": 725
}
Errors
Standard HTTP and OAuth error codes.
Examples
400 Bad Request
You must provide a valid OAuth token to make a request