Assign Provider

Assigns a provider to a work order.

URLs

Environment Method URL
Sandbox https://api-sandbox.fndev.net/api/rest/v2/workorders/work_order_id/assignee
Production https://api.fieldnation.com/api/rest/v2/workorders/work_order_id/assignee

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

Examples

Assign provider id 557.

{"user":{"id":557}}

Response

Returns the User Object. Refer to Users for more information.

Errors

Standard HTTP and OAuth error codes.

Examples

400 Bad Request, Missing Parameter
403 Forbidden, Invalid Provider
400 Bad Request, Invalid Work Order ID