Professional Documents
Culture Documents
Api Action Part49
Api Action Part49
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.
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