Skip to main content
Version: 2.2.3

newActionPlan

This method enables the creation of action plans. To use it, it is necessary to follow the standard documented below:

Java class
Requestweb/wwwroot/ws/java/timecontrol/NewActionPlanRequestType.java
Returnweb/wwwroot/ws/java/timecontrol/NewActionPlanResponseType.java

Request:

ID #RequiredDescription
IDMODELPLANACTIVITYAction plan template ID #.
IDACTIONPLANAction plan ID #.
TITLEAction plan title.
IDCATEGORYCategory ID #.
IDPLANNINGRESPXID of the user responsible for planning the action plan.
IDACTIONPLANRESPXID of the user responsible for the action plan.
IDTEAMPLANNINGRESPID of the team responsible for planning the action plan.
IDTEAMMONITORINGRESPID # of the team responsible for the action plan.
IDCALENDARCalendar ID #.
SUMMARYAction plan description.
OBJECTIVEAction plan objective.
JUSTIFYAction plan explanation.
BENEFITAction plan benefit.
info
  • ¹ - Required only when there are no identification masks configured in the category.
  • ² - Required only when an action plan template is not used.

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:timecontrol">
<soapenv:Header/>
<soapenv:Body>
<urn:newActionPlan>
<!--You may enter the following 13 items in any order-->
<urn:IDModelPlanActivity>?</urn:IDModelPlanActivity>
<urn:IDActionPlan>?</urn:IDActionPlan>
<urn:Title>?</urn:Title>
<urn:IDCategory>?</urn:IDCategory>
<urn:IDPlanningResp>?</urn:IDPlanningResp>
<urn:IDActionPlanResp>?</urn:IDActionPlanResp>
<urn:IDTeamPlanningResp>?</urn:IDTeamPlanningResp>
<urn:IDTeamMonitoringResp>?</urn:IDTeamMonitoringResp>
<urn:IDCalendar>?</urn:IDCalendar>
<urn:Summary>?</urn:Summary>
<urn:Objective>?</urn:Objective>
<urn:Justify>?</urn:Justify>
<urn:Benefit>?</urn:Benefit>
</urn:newActionPlan>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
ReturnSUCCESS: Action plan ID # created.
FAILURE: Code regarding the error that occurred:
▪ -1 - Action plan ID # already exists;
▪ -2 - The authentication user does not have permission to execute this method;
▪ -3 - The user does not have permission in the specified category;
▪ -4 - Category not found;
▪ -5 - User not found;
▪ -6 - Team not found;
▪ -7 - Calendar not found;
▪ -8 - Inactive user;
▪ -9 - Inactive team;
▪ -10 - Inactive category;
▪ -11 - Action plan template not found;
▪ -12 - Required parameter not entered;
▪ -13  - The user entered as responsible for planning the action plan does not have access to the planning menu;
▪ -14  - The user entered as responsible for the action plan does not have access to the tracking menu;