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 | |
---|---|
Request | web/wwwroot/ws/java/timecontrol/ExecuteIsolatedActionRequestType.java |
Return | web/wwwroot/ws/java/timecontrol/ExecuteIsolatedActionResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IsolatedActionID | X | Isolated action ID #. |
UserID | X | ID of the user that will be used to execute the action. |
ExecStartDt | Actual start date (When?) in the YYYY-MM-DD format. | |
ExecStartTm | Actual start time (When?) in the HH:MM format. | |
ExecEndDt | Actual end date (When?) in the YYYY-MM-DD format. | |
ExecEndTm | Actual end time (When?) in the HH:MM format. | |
ExecCostVl | Executed cost (How much?), in the 10000.00 format, where the "." is the decimal separator. Thousandth separator is not used. | |
ResultDs | Result. 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 |
---|---|
Status | Method execution status. Its value may be: SUCCESS: Method executed successfully. FAILURE: An error occurred during the method execution. |
Code | 1. 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 |
Detail | SUCCESS: Method executed successfully. FAILURE: Description of the error that was found. |