PUT api/Subcontracts/{subcontractId}/Fewo/{fewoId}/CostDetail/WorkItems/{workItemId}/Items/{itemId}
Update fewo Item
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId |
Subcontract identifier. |
integer |
Required |
| fewoId |
Fewo identifier. |
integer |
Required |
| workItemId |
FewoWorkItem identifier. |
integer |
Required |
| itemId |
Fewo Item identifier. |
integer |
Required |
Body Parameters
Item params create.
FewoItemCreateOrUpdateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| CommodityCode | string |
None. |
|
| CommodityDescription | string |
None. |
|
| ProposedQuantity | decimal number |
None. |
|
| MeasurementUnit | string |
None. |
|
| UnitPrice | decimal number |
None. |
|
| ProposedUnitPrice | decimal number |
None. |
|
| AgreedQuantity | decimal number |
None. |
|
| AgreedUnitPrice | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"commodityCode": "sample string 1",
"commodityDescription": "sample string 2",
"proposedQuantity": 3.0,
"measurementUnit": "sample string 4",
"unitPrice": 1.0,
"proposedUnitPrice": 5.0,
"agreedQuantity": 1.0,
"agreedUnitPrice": 1.0
}
text/html
Sample:
{"commodityCode":"sample string 1","commodityDescription":"sample string 2","proposedQuantity":3.0,"measurementUnit":"sample string 4","unitPrice":1.0,"proposedUnitPrice":5.0,"agreedQuantity":1.0,"agreedUnitPrice":1.0}
application/xml, text/xml
Sample:
<FewoItemCreateOrUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.FewoAgg"> <AgreedQuantity>1</AgreedQuantity> <AgreedUnitPrice>1</AgreedUnitPrice> <CommodityCode>sample string 1</CommodityCode> <CommodityDescription>sample string 2</CommodityDescription> <MeasurementUnit>sample string 4</MeasurementUnit> <ProposedQuantity>3</ProposedQuantity> <ProposedUnitPrice>5</ProposedUnitPrice> <UnitPrice>1</UnitPrice> </FewoItemCreateOrUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataResultOfFewoItemDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | FewoItemDto |
None. |
|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Errors | Collection of CustomError |
None. |
|
| Warnings | Collection of string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.