Skip to main content
Version: 2.2.2

executeIsolatedAction

This method allows executing an isolated action. To insert each of these items, it is necessary to follow the standard documented below.

Java class
Requestweb/wwwroot/ws/java/timecontrol/ExecuteIsolatedActionRequestType.java
Returnweb/wwwroot/ws/java/timecontrol/ExecuteIsolatedActionResponseType.java

Request:

ID #RequiredDescription
IsolatedActionIDXIsolated action ID #.
UserIDXID of the user that will be used to execute the action.
ExecStartDtActual start date (When?) in the YYYY-MM-DD format.
ExecStartTmActual start time (When?) in the HH:MM format.
ExecEndDtActual end date (When?) in the YYYY-MM-DD format.
ExecEndTmActual end time (When?) in the HH:MM format.
ExecCostVlExecuted cost (How much?), in the 10000.00 format, where the "." is the decimal separator. Thousandth separator is not used.
ResultDsResult. Note: The Result field may be mandatory depending on the action plan category configuration.

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:timecontrol">
<soapenv:Header/>
<soapenv:Body>
<urn:executeIsolatedAction>
<!--You may enter the following 8 items in any order-->
<urn:IsolatedActionID>?</urn:IsolatedActionID>
<urn:UserID>?</urn:UserID>
<urn:ExecStartDt>?</urn:ExecStartDt>
<urn:ExecStartTm>?</urn:ExecStartTm>
<urn:ExecEndDt>?</urn:ExecEndDt>
<urn:ExecEndTm>?</urn:ExecEndTm>
<urn:ExecCostVl>?</urn:ExecCostVl>
<urn:ResultDs>?</urn:ResultDs>
</urn:executeIsolatedAction>
</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.
Code1. Method executed successfully.
-1. Values with wrong formatting.
-2. Action plan not found
-3. Dates with incorrect values
-4. Executor user not found
-5. Inactive executor user
-6. Executor user without permission
-7. Blocked menu
-8. Status not allowed
-9. Configurations pending in the category
-10. Unknown error
DetailSUCCESS: Method executed successfully.
FAILURE: Description of the error that was found.