Skip to main content
Version: 2.2.3

editActionStatus

This method enables editing the status of an action associated with an action plan. To use it, it is necessary to follow the standard documented below:

Java class
Requestweb/wwwroot/ws/java/timecontrol/EditActionStatusRequestType.java
Returnweb/wwwroot/ws/java/timecontrol/EditActionStatusResponseType.java

Request:

ID #RequiredDescription
ActionPlanIDXID # of the action plan to which the action belongs.
ActionIDXAction ID #.
ActionFgXType of the operation to be executed:
1 - Cancel;
2 - Reactivate.
JustifyDsXExplanation for cancelling/reactivating the action

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:timecontrol">
<soapenv:Header/>
<soapenv:Body>
<urn:editActionStatus>
<!--You may enter the following 4 items in any order-->
<urn:ActionPlanID>?</urn:ActionPlanID>
<urn:ActionID>?</urn:ActionID>
<urn:ActionFg>?</urn:ActionFg>
<urn:JustifyDs>?</urn:JustifyDs>
</urn:editActionStatus>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
StatusMethod execution status. Its value may be:
SUCCESS: Method executed successfully
FAILURE: An error occurred during the method execution
CodeReturns the execution code:
▪ 1 - Method executed successfully;
▪ -1 - Error in the configuration of the input parameters;
▪ -2 - ID # of the plan or action is duplicated in the database;
▪ -3 - The authentication user does not have the necessary permission to execute this method. Check if the user has access to the PL025 menu.
▪ -10 - Action plan not found;
▪ -11 - Action not found;
▪ -12 - The authentication user does not have the necessary permission;
▪ -13 - The action plan is not under execution;
▪ -14 - The action has already been finished;
▪ -15 - The action has already been cancelled;
▪ -16 - The action is already active;
▪ -17 - Error during the change of status;
DetailSUCCESS: Method executed successfully
FAILURE: Description of the error that was found.

Return structure:

<editActionStatusResponse>
<Status>?</Status>
<Code>?</Code>
<Detail>?</Detail>
</editActionStatusResponse>