Remove the assigned provider (user) from a work order.
Remove the assigned provider (user) from a work order.
access_token OAuth 2.0 Access Token
In: query
Work Order ID
Asynchronous
true | falseapplication/json
Un-assignment details (assigned user and reason)
TypeScript Definitions
Use the request body type in TypeScript.
curl -X DELETE "https://api-sandbox.fndev.net/api/rest/v2/workorders/0/assignee" \ -H "Content-Type: application/json" \ -d '{ "user": { "id": 202020 }, "reason_id": 43, "comment": "Provider did not show for the scheduled visit and was unreachable.", "initiated_by": "buyer" }'{
"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
Last updated on
The assigned provider (user) to remove. Only the user id is required.
Reason the provider is being removed. Must be one of the following supported values:
55 — Provider failed to check in or out properly
56 — Scope of work not completed or performed improperly
57 — Provider failed to turn in proper deliverables
7 — Provider canceled prior to confirmation window
28 — Provider canceled after confirmation window
8 — Provider unresponsive to buyer's requests
9 — Provider failed to complete pre-site tasks
48 — Provider did not arrive by the scheduled start time
67 — Provider is sick or injured
71 — No fault provider removal
43 — No Call No Show
55 | 56 | 57 | 7 | 28 | 8 | 9 | 48 | 67 | 71 | 43Optional free-text note explaining the removal. Shown in the work order activity timeline.
Who initiated the removal. One of buyer or provider; send an empty string (or omit the field) when it does not apply.
"buyer" | "provider" | ""