editProjectTaskCost
This method allows editing the cost of a project task. For this action, it is necessary to follow the standard documented below.
Java class | |
---|---|
Request | web/wwwroot/ws/java/project/editProjectTaskCostRequestType.java |
Return | web/wwwroot/ws/java/project/editProjectTaskCostResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
ProjectId | X | Project ID # |
ProjectTaskId | X | Project task ID # |
Name | X | Cost name for editing |
TypeId | X | ID # of cost type |
Phase | X | Step to add: 1 - Planned; 2 - Rescheduled; 3 - Actual. |
Date | X | Date [DD/MM/YYYY or YYYY-MM-DD] |
Amount | X | Quantity |
UnitValue | X | Unit value |
DocumentNumber | Document number | |
Description | Description | |
CostClassification | Cost classification |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:project">
<soapenv:Header/>
<soapenv:Body>
<urn:editProjectTaskCost>
<!--You may enter the following 11 items in any order-->
<urn:ProjectId>?</urn:ProjectId>
<urn:ProjectTaskId>?</urn:ProjectTaskId>
<urn:Name>?</urn:Name>
<urn:TypeId>?</urn:TypeId>
<urn:Phase>?</urn:Phase>
<urn:Date>?</urn:Date>
<urn:Amount>?</urn:Amount>
<urn:UnitValue>?</urn:UnitValue>
<urn:DocumentNumber>?</urn:DocumentNumber>
<urn:Description>?</urn:Description>
<urn:Classification>?</urn:Classification>
</urn:editProjectTaskCost>
</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. |