newActionPlan
This method enables the creation of action plans. To use it, it is necessary to follow the standard documented below:
Java class | |
---|---|
Request | web/wwwroot/ws/java/timecontrol/NewActionPlanRequestType.java |
Return | web/wwwroot/ws/java/timecontrol/NewActionPlanResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDMODELPLANACTIVITY | Action plan template ID #. | |
IDACTIONPLAN | X¹ | Action plan ID #. |
TITLE | X² | Action plan title. |
IDCATEGORY | X² | Category ID #. |
IDPLANNINGRESP | X | ID of the user responsible for planning the action plan. |
IDACTIONPLANRESP | X | ID of the user responsible for the action plan. |
IDTEAMPLANNINGRESP | ID of the team responsible for planning the action plan. | |
IDTEAMMONITORINGRESP | ID # of the team responsible for the action plan. | |
IDCALENDAR | Calendar ID #. | |
SUMMARY | Action plan description. | |
OBJECTIVE | Action plan objective. | |
JUSTIFY | Action plan explanation. | |
BENEFIT | Action 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 |
---|---|
Return | SUCCESS: 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; |