PUT api/Subcontracts/{subcontractId}/Sfr/CommunicateToSubcontractor
Recover sfr
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId | integer |
Required |
Body Parameters
SfrCommunicateToSubcontractorCommandRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| SubcontractId | integer |
None. |
|
| AllSelection | boolean |
None. |
|
| SelectedItems | Collection of integer |
None. |
|
| AllSelectionFilter | SfrFewoListFilter |
None. |
Request Formats
application/json, text/json
Sample:
{
"subcontractId": 1,
"allSelection": true,
"selectedItems": [
1,
2
],
"allSelectionFilter": {
"subcontractCode": "sample string 2",
"subcontractorCode": "sample string 3",
"subcontractorName": "sample string 4",
"currencyCode": "sample string 5",
"subcontractDescription": "sample string 6",
"sfrUnit": "sample string 7",
"sieiCode": "sample string 8",
"sfrCode": "sample string 9",
"fewoCode": "sample string 10",
"discipline": "sample string 11",
"sfrTitle": "sample string 12",
"workDescription": "sample string 13",
"sfrRegisteredDate": [
"2026-05-09T14:07:17.5906148+02:00",
"2026-05-09T14:07:17.5906148+02:00"
],
"sfrRequestDate": [
"2026-05-09T14:07:17.5906148+02:00",
"2026-05-09T14:07:17.5906148+02:00"
],
"sfrApprovedDate": [
"2026-05-09T14:07:17.5906148+02:00",
"2026-05-09T14:07:17.5906148+02:00"
],
"fewoIssuedDate": [
"2026-05-09T14:07:17.5906148+02:00",
"2026-05-09T14:07:17.5906148+02:00"
],
"fewoApprovedDate": [
"2026-05-09T14:07:17.5906148+02:00",
"2026-05-09T14:07:17.5906148+02:00"
],
"workReasonTypeId": 1,
"pricingMethodTypeIds": [
1,
2
],
"ncncor": "sample string 14",
"fewoStatusId": 1,
"sfrStatusId": 1,
"backChargeable": true,
"indirects": true,
"isOperative": true,
"backChargeProposeDestinyType": 1,
"backChargeProposeDestinyCode": "sample string 15",
"entityCertificationStatusId": 1,
"appliedCertificationCode": "sample string 16",
"extendedView": true,
"subcontractType": 1,
"finalAmount": [
1.0,
1.0
],
"proposedAmount": [
1.0,
1.0
],
"pepCode": "sample string 17",
"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":{"subcontractCode":"sample string 2","subcontractorCode":"sample string 3","subcontractorName":"sample string 4","currencyCode":"sample string 5","subcontractDescription":"sample string 6","sfrUnit":"sample string 7","sieiCode":"sample string 8","sfrCode":"sample string 9","fewoCode":"sample string 10","discipline":"sample string 11","sfrTitle":"sample string 12","workDescription":"sample string 13","sfrRegisteredDate":["2026-05-09T14:07:17.5906148+02:00","2026-05-09T14:07:17.5906148+02:00"],"sfrRequestDate":["2026-05-09T14:07:17.5906148+02:00","2026-05-09T14:07:17.5906148+02:00"],"sfrApprovedDate":["2026-05-09T14:07:17.5906148+02:00","2026-05-09T14:07:17.5906148+02:00"],"fewoIssuedDate":["2026-05-09T14:07:17.5906148+02:00","2026-05-09T14:07:17.5906148+02:00"],"fewoApprovedDate":["2026-05-09T14:07:17.5906148+02:00","2026-05-09T14:07:17.5906148+02:00"],"workReasonTypeId":1,"pricingMethodTypeIds":[1,2],"ncncor":"sample string 14","fewoStatusId":1,"sfrStatusId":1,"backChargeable":true,"indirects":true,"isOperative":true,"backChargeProposeDestinyType":1,"backChargeProposeDestinyCode":"sample string 15","entityCertificationStatusId":1,"appliedCertificationCode":"sample string 16","extendedView":true,"subcontractType":1,"finalAmount":[1.0,1.0],"proposedAmount":[1.0,1.0],"pepCode":"sample string 17","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:
<SfrCommunicateToSubcontractorCommandRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos">
<AllSelection>true</AllSelection>
<AllSelectionFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.SfrAgg">
<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>
<d2p1:AppliedCertificationCode>sample string 16</d2p1:AppliedCertificationCode>
<d2p1:BackChargeProposeDestinyCode>sample string 15</d2p1:BackChargeProposeDestinyCode>
<d2p1:BackChargeProposeDestinyType>1</d2p1:BackChargeProposeDestinyType>
<d2p1:BackChargeable>true</d2p1:BackChargeable>
<d2p1:CurrencyCode>sample string 5</d2p1:CurrencyCode>
<d2p1:Discipline>sample string 11</d2p1:Discipline>
<d2p1:EntityCertificationStatusId>1</d2p1:EntityCertificationStatusId>
<d2p1:ExtendedView>true</d2p1:ExtendedView>
<d2p1:FewoApprovedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:dateTime>2026-05-09T14:07:17.5906148+02:00</d3p1:dateTime>
<d3p1:dateTime>2026-05-09T14:07:17.5906148+02:00</d3p1:dateTime>
</d2p1:FewoApprovedDate>
<d2p1:FewoCode>sample string 10</d2p1:FewoCode>
<d2p1:FewoIssuedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:dateTime>2026-05-09T14:07:17.5906148+02:00</d3p1:dateTime>
<d3p1:dateTime>2026-05-09T14:07:17.5906148+02:00</d3p1:dateTime>
</d2p1:FewoIssuedDate>
<d2p1:FewoStatusId>1</d2p1:FewoStatusId>
<d2p1:FinalAmount xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:decimal>1</d3p1:decimal>
<d3p1:decimal>1</d3p1:decimal>
</d2p1:FinalAmount>
<d2p1:HasFewo>true</d2p1:HasFewo>
<d2p1:HasNotDefinedFields>true</d2p1:HasNotDefinedFields>
<d2p1:Indirects>true</d2p1:Indirects>
<d2p1:IsOperative>true</d2p1:IsOperative>
<d2p1:LastCertifiedAmount xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:decimal>1</d3p1:decimal>
<d3p1:decimal>1</d3p1:decimal>
</d2p1:LastCertifiedAmount>
<d2p1:NCNCOR>sample string 14</d2p1:NCNCOR>
<d2p1:PepCode>sample string 17</d2p1:PepCode>
<d2p1:PricingMethodTypeIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:long>1</d3p1:long>
<d3p1:long>2</d3p1:long>
</d2p1:PricingMethodTypeIds>
<d2p1:ProposedAmount xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:decimal>1</d3p1:decimal>
<d3p1:decimal>1</d3p1:decimal>
</d2p1:ProposedAmount>
<d2p1:SIEICode>sample string 8</d2p1:SIEICode>
<d2p1:SfrApprovedDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:dateTime>2026-05-09T14:07:17.5906148+02:00</d3p1:dateTime>
<d3p1:dateTime>2026-05-09T14:07:17.5906148+02:00</d3p1:dateTime>
</d2p1:SfrApprovedDate>
<d2p1:SfrCode>sample string 9</d2p1:SfrCode>
<d2p1:SfrRegisteredDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:dateTime>2026-05-09T14:07:17.5906148+02:00</d3p1:dateTime>
<d3p1:dateTime>2026-05-09T14:07:17.5906148+02:00</d3p1:dateTime>
</d2p1:SfrRegisteredDate>
<d2p1:SfrRequestDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:dateTime>2026-05-09T14:07:17.5906148+02:00</d3p1:dateTime>
<d3p1:dateTime>2026-05-09T14:07:17.5906148+02:00</d3p1:dateTime>
</d2p1:SfrRequestDate>
<d2p1:SfrStatusId>1</d2p1:SfrStatusId>
<d2p1:SfrTitle>sample string 12</d2p1:SfrTitle>
<d2p1:SfrUnit>sample string 7</d2p1:SfrUnit>
<d2p1:SubcontractCode>sample string 2</d2p1:SubcontractCode>
<d2p1:SubcontractDescription>sample string 6</d2p1:SubcontractDescription>
<d2p1:SubcontractType>Both</d2p1:SubcontractType>
<d2p1:SubcontractorCode>sample string 3</d2p1:SubcontractorCode>
<d2p1:SubcontractorName>sample string 4</d2p1:SubcontractorName>
<d2p1:WorkDescription>sample string 13</d2p1:WorkDescription>
<d2p1:WorkReasonTypeId>1</d2p1: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>
</SfrCommunicateToSubcontractorCommandRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataResultOfSfrCommunicateToSubcontractorResponseDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | SfrCommunicateToSubcontractorResponseDto |
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.