Add Contact
Adds a Location Contact, Project manager, Resource coordinator, Emergency contact, Technical help, or Check-in / Check-out contact to an existing work order by work order id.
Note: You can not add a Work Order Manager using this path.
URLs
Environment | Method | URL |
---|---|---|
Sandbox | https://api-sandbox.fndev.net/api/rest/v2/workorders/work_order_id/contacts | |
Production | https://api.fieldnation.com/api/rest/v2/workorders/work_order_id/contacts |
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 Contacts for a complete list of parameters.
Examples
Add a Project Manager
https://URL/workorders/2539/contacts?access_token=abc123defg459hijk786lmn45
{
"role":"Project manager",
"name":"Project Mgr",
"email":"sitecontact@email.com",
"phone":"4805551234"
}
Response
Returns the Work Order Response. Refer to Work Orders for parameter details and examples.