Navigation:  Integration via SOAP web services > Published web services > Action plan >

editActionStatus

Previous  Top  Next

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

Request

web/wwwroot/ws/java/timecontrol/EditActionStatusRequestType.java

Return

web/wwwroot/ws/java/timecontrol/EditActionStatusResponseType.java

 

Request

ID #

Required

Description

ActionPlanID

X

ID # of the action plan to which the action belongs.

ActionID

X

Action ID #.

ActionFg

X

Type of the operation to be executed:

1- Cancel;

2 – Reactivate.

JustifyDs

X

Explanation for cancelling/reactivating the action

 

Request structure

<editActionStatus>

       <ActionPlanID>?</ActionPlanID>

       <ActionID>?</ActionID>

       <ActionFg>?</ActionFg>

       <JustifyDs >?</JustifyDs >

</editActionStatus>

 

Return structure

<editActionStatusResponse>

       <Status>?</Status>

       <Code>?</Code>

       <Detail>?</Detail>

</editActionStatusResponse>

 

Return

ID #

Description

Status

Method execution status. Its value may be:

SUCCESS: Method executed successfully

FAILURE: An error occurred during the method execution

Code

Returns 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;

Detail

SUCCESS: Method executed successfully

FAILURE: Description of the error that occurred.