Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Action Objects Work Plan and Work Step Actions

Table 9: Inputs
Input Details
recordId Type
string
Description
Required. The ID of the work order or work order line item to add the work plans to.

workPlanTemplateIdList Type
array of strings
Description
Required. The IDs of the work plan templates used to instantiate the work plans.

Table 10: 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 list of work plan IDs.

Sample Input
The following code sample adds work plans:
{
"inputs" : [ {
"recordId" : "0WOxx00000007j3",
"workPlanTemplateIdList" : ["7Iyxx0000004LSS", "7Iyxx0000004LTT"]
}]
}

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

45

You might also like