Skip to main content
Version: 2.2.1

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>