PUT api/Subcontracts/{subcontractId}/Fewo/CommunicateToSubcontractor
Fewo Communicate To Subcontractor
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId | integer |
Required |
Body Parameters
FewoCommunicateToSubcontractorCommandRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| SubcontractId | integer |
None. |
|
| AllSelection | boolean |
None. |
|
| SelectedItems | Collection of integer |
None. |
|
| AllSelectionFilter | FewoListFilter |
None. |
Request Formats
application/json, text/json
Sample:
{
"subcontractId": 1,
"allSelection": true,
"selectedItems": [
1,
2
],
"allSelectionFilter": {
"sieiCode": "sample string 1",
"fewoCode": "sample string 2",
"discipline": "sample string 3",
"workDescription": "sample string 4",
"fewoIssuedDate": [
"2026-05-08T17:18:26.8050748+02:00",
"2026-05-08T17:18:26.8050748+02:00"
],
"fewoApprovedDate": [
"2026-05-08T17:18:26.8050748+02:00",
"2026-05-08T17:18:26.8050748+02:00"
],
"workReasonTypeId": 1,
"pricingMethodTypeIds": [
1,
2
],
"ncncor": "sample string 5",
"fewoStatusId": 1,
"backChargeable": true,
"backChargeProposeDestinyType": 1,
"backChargeProposeDestinyCode": "sample string 6",
"entityCertificationStatusId": 1,
"appliedCertificationCode": "sample string 7",
"finalAmount": [
1.0,
1.0
],
"proposedAmount": [
1.0,
1.0
],
"pepCode": "sample string 8",
"hasNotDefinedFields": true,
"hasFewo": true,
"lastCertifiedAmount": [
1.0,
1.0
],
"page": {
"number": 1,
"size": 2,
"skip": 0
},
"sortedColumns": [
{
"name": "sample string 1",
"descending": true
},
{
"name": "sample string 1",
"descending": true
}
]
}
}
text/html
Sample:
{"subcontractId":1,"allSelection":true,"selectedItems":[1,2],"allSelectionFilter":{"sieiCode":"sample string 1","fewoCode":"sample string 2","discipline":"sample string 3","workDescription":"sample string 4","fewoIssuedDate":["2026-05-08T17:18:26.8050748+02:00","2026-05-08T17:18:26.8050748+02:00"],"fewoApprovedDate":["2026-05-08T17:18:26.8050748+02:00","2026-05-08T17:18:26.8050748+02:00"],"workReasonTypeId":1,"pricingMethodTypeIds":[1,2],"ncncor":"sample string 5","fewoStatusId":1,"backChargeable":true,"backChargeProposeDestinyType":1,"backChargeProposeDestinyCode":"sample string 6","entityCertificationStatusId":1,"appliedCertificationCode":"sample string 7","finalAmount":[1.0,1.0],"proposedAmount":[1.0,1.0],"pepCode":"sample string 8","hasNotDefinedFields":true,"hasFewo":true,"lastCertifiedAmount":[1.0,1.0],"page":{"number":1,"size":2,"skip":0},"sortedColumns":[{"name":"sample string 1","descending":true},{"name":"sample string 1","descending":true}]}}
application/xml, text/xml
Sample:
<FewoCommunicateToSubcontractorCommandRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.FewoAgg">
<AllSelection>true</AllSelection>
<AllSelectionFilter>
<Page xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.SortAndPage.Entities">
<Number>1</Number>
<Size>2</Size>
</Page>
<SortedColumns xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.SortAndPage.Entities">
<Order>
<Descending>true</Descending>
<Name>sample string 1</Name>
</Order>
<Order>
<Descending>true</Descending>
<Name>sample string 1</Name>
</Order>
</SortedColumns>
<AppliedCertificationCode>sample string 7</AppliedCertificationCode>
<BackChargeProposeDestinyCode>sample string 6</BackChargeProposeDestinyCode>
<BackChargeProposeDestinyType>1</BackChargeProposeDestinyType>
<BackChargeable>true</BackChargeable>
<Discipline>sample string 3</Discipline>
<EntityCertificationStatusId>1</EntityCertificationStatusId>
<FewoApprovedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:dateTime>2026-05-08T17:18:26.8050748+02:00</d3p1:dateTime>
<d3p1:dateTime>2026-05-08T17:18:26.8050748+02:00</d3p1:dateTime>
</FewoApprovedDate>
<FewoCode>sample string 2</FewoCode>
<FewoIssuedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:dateTime>2026-05-08T17:18:26.8050748+02:00</d3p1:dateTime>
<d3p1:dateTime>2026-05-08T17:18:26.8050748+02:00</d3p1:dateTime>
</FewoIssuedDate>
<FewoStatusId>1</FewoStatusId>
<FinalAmount xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:decimal>1</d3p1:decimal>
<d3p1:decimal>1</d3p1:decimal>
</FinalAmount>
<HasFewo>true</HasFewo>
<HasNotDefinedFields>true</HasNotDefinedFields>
<LastCertifiedAmount xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:decimal>1</d3p1:decimal>
<d3p1:decimal>1</d3p1:decimal>
</LastCertifiedAmount>
<NCNCOR>sample string 5</NCNCOR>
<PepCode>sample string 8</PepCode>
<PricingMethodTypeIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:long>1</d3p1:long>
<d3p1:long>2</d3p1:long>
</PricingMethodTypeIds>
<ProposedAmount xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:decimal>1</d3p1:decimal>
<d3p1:decimal>1</d3p1:decimal>
</ProposedAmount>
<SIEICode>sample string 1</SIEICode>
<WorkDescription>sample string 4</WorkDescription>
<WorkReasonTypeId>1</WorkReasonTypeId>
</AllSelectionFilter>
<SelectedItems xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</SelectedItems>
<SubcontractId>1</SubcontractId>
</FewoCommunicateToSubcontractorCommandRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataResultOfFewoCommunicateToSubcontractorResponseDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | FewoCommunicateToSubcontractorResponseDto |
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.