Add a Task
Adds a task by work order id.
URLs
Environment | Method | URL |
---|---|---|
Sandbox | https://api-sandbox.fndev.net/api/rest/v2/workorders/work_order_id/tasks | |
Production | https://api.fieldnation.com/api/rest/v2/workorders/work_order_id/tasks |
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 Parameters
Refer to Tasks for a complete list of parameters.
Examples
This example adds a Post Work task to call a phone number.
{
"group":{
"id":"post"
},
"type":{
"id":8
},
"label":"next steps.",
"alerts":[
{
"email":"alertuser@mail.com"
}
],
"phone":"+1 480-555-1234"
}
Response
Returns the Work Order Response. Refer to Work Orders for parameter details and examples.