List Work Order Transitions
Purpose
List all the possible transitions (actions) that can be performed on a work order. E.g. if a work order is in the New status, then the transitions that can be performed on that work order are Cancel, Terminate, etc.
Request URL
https://fsm.zoho.com/fsm/v1/Work_Orders/<record_id>
record_id - The unique ID of the record.
Request Method
GET
Scope
scope=ZohoFSM.modules.WorkOrders.READ
Sample Request
Copiedcurl --request GET 'https://fsm.zoho.com/fsm/v1/Work_Orders/4776000000265036/actions/blueprint/transitions' \
--header 'Authorization: Zoho-oauthtoken 1000.xxxxxx.xxxxxxe'
Sample Response
Copied{
"code": "SUCCESS",
"process_info": {
"field_id": "4776000000115510",
"api_name": "Status",
"field_label": "Status",
"name": "Work Orders",
"field_value": "New"
},
"transitions": [
{
"next_field_value": "Scheduled Appointment",
"name": "Manage Appointment",
"id": "4776000000169075",
"type": "primary",
"enabled": true
},
{
"next_field_value": "Cancelled",
"name": "Cancel",
"id": "4776000000169090",
"fields": [
{
"display_label": "Notes",
"data_type": "notes",
"id": "0",
"transition_sequence": 1,
"mandatory": true
}
],
"enabled": true
},
{
"next_field_value": "Cannot Complete",
"name": "Terminate",
"id": "4776000000169093",
"fields": [
{
"display_label": "Notes",
"data_type": "notes",
"id": "0",
"transition_sequence": 1,
"mandatory": true
}
],
"enabled": true
},
{
"next_field_value": null,
"name": "Download",
"id": "4776000000217003",
"enabled": true
},
{
"next_field_value": null,
"name": "Print",
"id": "4776000000217007",
"enabled": true
}
],
"status": "success"
}