Skip to main content
Version: 2.2.0

newProgramCost

This method allows adding the cost to a program. For this action, it is necessary to follow the standard documented below.

Java class
Requestweb/wwwroot/ws/java/project/NewProgramCostRequestType.java
Returnweb/wwwroot/ws/java/project/NewProgramCostResponseType.java

Request:

ID #RequiredDescription
ProgramIdXProgram ID #
NameXCost name
TypeIdXID # of cost type
PhaseXStep to add:
1 - Planned;
2 - Rescheduled;
3 - Actual.
DateXDate (format: DD/MM/YYYY or YYYY-MM-DD)
AmountXQuantity
UnitValueXUnit value
DocumentNumberDocument number
DescriptionDescription
CostClassificationCost classification

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:project">
<soapenv:Header/>
<soapenv:Body>
<urn:newProgramCost>
<!--You may enter the following 10 items in any order-->
<urn:ProgramId>?</urn:ProgramId>
<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:newProgramCost>
</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.
CodeRecord code.
DetailMethod return detail.