You are on page 1of 1

Action Objects Work Plan and Work Step Actions

}]
}

Sample Output
The following code sample illustrates a response after a successful request.
[ {
"actionName" : "generateWorkPlans",
"errors" : null,
"isSuccess" : true,
"outputValues" : {
"recordId" : "0WOxx00000007j3",
"workPlanIdList" : ["0gqxx0000000Adh", "0gqxx0000000Adi"]
}
} ]

Delete Work Plans


URI: /services/data/vXX.X/actions/standard/deleteWorkPlans
This action deletes all the work plans (and its child work steps) associated with a WorkOrder or WorkOrderLineItem.

Table 15: Inputs


Input Details
recordId Type
string
Description
Required. The ID of the work order or work order line item.

Table 16: Outputs


Output Details
recordId Type
string
Description
The ID of the work order or work order line item.

workPlanIdList Type
array of strings
Description
The ID list for the work plans that were deleted.

48

You might also like