executeNonProjectTask
This method allows executing a nonproject task. For this action, it is necessary to follow the standard documented below.
Java class | |
---|---|
Request | web/wwwroot/ws/java/workforce/ExecuteNonProjectTaskRequestType.java |
Return | web/wwwroot/ws/java/workforce/ExecuteNonProjectTaskResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
NonProjectTaskId | X | Nonproject task ID # |
UserId | X | Executor user ID |
StartDate | Actual start date (format: DD/MM/YYYY or YYYY-MM-DD) | |
EndDate | Actual end date (format: DD/MM/YYYY or YYYY-MM-DD) | |
ActualPercentage | Task execution percentage | |
UsePlannedOrRescheduledDates | Completion option: 1 - Apply planned dates, 2 - Apply rescheduled dates. |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:workforce">
<soapenv:Header/>
<soapenv:Body>
<urn:executeNonProjectTask>
<!--You may enter the following 6 items in any order-->
<urn:NonProjectTaskId>?</urn:NonProjectTaskId>
<urn:UserId>?</urn:UserId>
<urn:ActualPercentage>?</urn:ActualPercentage>
<urn:StartDate>?</urn:StartDate>
<urn:EndDate>?</urn:EndDate>
<urn:UsePlannedOrRescheduledDates>?</urn:UsePlannedOrRescheduledDates>
</urn:executeNonProjectTask>
</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 | Record code. |
Detail | Method return detail. |