Skip to main content
Version: 2.2.0

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 #.
IDACTIONPLANX¹Action plan ID #.
TITLEX²Action plan title.
IDCATEGORYX²Category 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;