PUT api/Subcontracts/{subcontractId}/Fewo/{fewoId}/CostDetail/WorkItems/{workItemId}
Update Fewo Work Item by id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId | integer |
Required |
|
| fewoId | integer |
Required |
|
| workItemId | integer |
Required |
Body Parameters
FewoWorkItemCreateOrUpdateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| Description | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"code": "sample string 1",
"description": "sample string 2"
}
text/html
Sample:
{"code":"sample string 1","description":"sample string 2"}
application/xml, text/xml
Sample:
<FewoWorkItemCreateOrUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.FewoAgg"> <Code>sample string 1</Code> <Description>sample string 2</Description> </FewoWorkItemCreateOrUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataResultOfFewoWorkItemDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | FewoWorkItemDto |
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.