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

editAction

Previous  Top  Next

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

 

Java class

Request

web/wwwroot/ws/java/timecontrol/EditActionRequestType.java

Return

web/wwwroot/ws/java/timecontrol/EditActionResponseType.java

 

Request

ID #

Required

Description

ActionPlanID

X

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

ActionID

X

Action ID #.

ActionIdNew

 

New action ID #.

ActionTitle

X

Action title (What?).

CatID

 

Action category ID #.

TeamID

 

Action team ID #.

RespID

X

User ID of the Responsible for execution (Who?).

DtPlanStart

 

Planned start date (When?) in the YYYY-MM-DD format.

TmPlanStart

 

Planned start time (When?) in the HH:MM format.

DtPlanEnd

 

Planned end date (When?) in the YYYY-MM-DD format.

TmPlanEnd

 

Planned end time (When?) in the HH:MM format.

VlPlanCost

 

Planned cost (How much?), in the 10000.00 format, where the "." is the decimal separator. Thousandth separator is not used.

DsWhy

 

Why?

DsWhere

 

Where?

DsHow

 

How?

DsResult

 

Result.

 

Request structure

<editAction>

       <ActionplanID>?</ActionplanID>

        <ActionID>?</ActionID>

        <ActionIdNew>?</ActionIdNew>

        <ActionTitle>?</ActionTitle>

        <CatID>?</CatID>

        <TeamID>?</TeamID>

        <RespID>?</RespID>

        <DtPlanStart>?</DtPlanStart>

        <TmPlanStart>?</TmPlanStart>

        <DtPlanEnd>?</DtPlanEnd>

        <TmPlanEnd>?</TmPlanEnd>

        <VlPlanCost>?</VlPlanCost>

        <DsWhy>?</DsWhy>

        <DsWhere>?</DsWhere>

        <DsHow>?</DsHow>

        <DsResult>?</DsResult>

</editAction>

 

Return structure

<editActionResponse>

        <Status>?</Status>

        <Code>?</Code>

        <Detail>?</Detail>

</editActionResponse>

 

Return

ID #

Description

Status

Returns the status of the execution. SUCCESS on success and FAILURE on failure.

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.

-11 - Action plan not found;

-12 - Action not found;

-13 - The user does not have permission in the Plan;

-14 - The user does not have permission in the category;

-15 - The action ID # cannot be edited;

-16 - The action cannot be edited because of its status;

-17 - The entered ID # already exists. Please edit it;

-18 - Inexistent user;

-19 - Disabled user;

-20 - Inexistent team;

-21 - Disabled team;

-22 - Inexistent category;

-23 - Disabled category;

-24 - The end date cannot be before the start date;

-25 - Plan or action already finished;

-26 - The user does not have permission in the entered category;

-27 - The category selected for the action is not among those allowed in the action plan category;

-28 - Retroactive dates are not allowed;

-29 - The validation flow has been successfully executed, but there was an unknown error while processing;

-30 - The action plan had the maximum value of the How much? field exceeded;

-31 - Cancelled action;

-32 - The action plan cannot be edited because of its status.

Detail

SUCCESS: Method executed successfully

FAILURE: Description of the error that occurred.