Perform a Work Order Transition
Purpose
To perform a transition on a work order. The transitions that are supported for a work order are:
Complete, Cancel, Terminate
Request URL
https://fsm.zoho.com/fsm/v1/Work_Orders/<record_id>
record_id - The unique ID of the record.
Request Method
PUT
Scope
scope=ZohoFSM.modules.WorkOrders.UPDATE
Input JSON Keys
Name | Description | Type | Mandatory |
transition_id | The ID of the transition you want to perform on the work order. It can be obtained from the record using the List Work Order Transitions API. | String | Yes |
data | Use this to add notes while canceling or terminating a work order. N.B. Error will be thrown if the user does not have the Notes -> Create permission. | Map | Mandatory when canceling or terminating a work order. |
Optional Parameters
Name | Description | Type |
$force_complete | Complete partially completed line items (if any) and complete the work order. An error will be thrown in the following cases:
| Boolean |
Sample Request
Copied
Sample Input
Copied
Sample Input (with Optional Data)
Copied
Sample Response
Copied
Sample Error Response
Copied