PUT api/Subcontracts/{subcontractId}/Sfr/{sfrId}
Update an SFR by id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId | integer |
Required |
|
| sfrId | integer |
Required |
Body Parameters
SfrCreateOrUpdateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| LetterToTrNumber | string |
None. |
|
| RequestDate | date |
None. |
|
| Reference | string |
None. |
|
| RequesterName | string |
None. |
|
| RequesterTitle | string |
None. |
|
| LocationUnit | string |
None. |
|
| LocationArea | string |
None. |
|
| Title | string |
None. |
|
| OriginatorTypeId | integer |
None. |
|
| DisciplineId | string |
None. |
|
| WorkReasonTypeId | integer |
None. |
|
| WorkDescription | string |
None. |
|
| WorkScheduleStart | date |
None. |
|
| WorkScheduleEnd | date |
None. |
|
| WorkEstimatedCost | decimal number |
None. |
|
| WorkOriginalEstimatedCost | decimal number |
None. |
|
| CurrentCost | decimal number |
None. |
|
| WorkEstimatedCurrencyCode | string |
None. |
|
| LetterToSubcontractorNumber | string |
None. |
|
| AcceptanceAckAccept | boolean |
None. |
|
| AcceptanceAckWithExceptions | boolean |
None. |
|
| AcceptanceExceptions | string |
None. |
|
| PricingMethodTypeIds | Collection of integer |
None. |
|
| ResolutionConclusionTypeIds | Collection of integer |
None. |
|
| ApprovedExternally | boolean |
None. |
|
| ApplyEiSi | boolean |
None. |
|
| SfrLetterAprovalRejection | string |
None. |
|
| ToChargeCostTypeId | CostChargeToTypeId |
None. |
|
| CrNconformity | string |
None. |
|
| DeclaredAsBackchargeableOn | date |
None. |
|
| MainServiceTypeId | SfrfewoMainServiceTypeId |
None. |
|
| IsRepliedNotAgreed | boolean |
None. |
|
| DrawingAttached | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"letterToTrNumber": "sample string 1",
"requestDate": "2026-05-09T14:09:19.0499309+02:00",
"reference": "sample string 2",
"requesterName": "sample string 3",
"requesterTitle": "sample string 4",
"locationUnit": "sample string 5",
"locationArea": "sample string 6",
"title": "sample string 7",
"originatorTypeId": 8,
"disciplineId": "sample string 9",
"workReasonTypeId": 10,
"workDescription": "sample string 11",
"workScheduleStart": "2026-05-09T14:09:19.0499309+02:00",
"workScheduleEnd": "2026-05-09T14:09:19.0499309+02:00",
"workEstimatedCost": 1.0,
"workOriginalEstimatedCost": 1.0,
"currentCost": 1.0,
"workEstimatedCurrencyCode": "sample string 12",
"letterToSubcontractorNumber": "sample string 13",
"acceptanceAckAccept": true,
"acceptanceAckWithExceptions": true,
"acceptanceExceptions": "sample string 14",
"pricingMethodTypeIds": [
1,
2
],
"resolutionConclusionTypeIds": [
1,
2
],
"approvedExternally": true,
"applyEiSi": true,
"sfrLetterAprovalRejection": "sample string 16",
"toChargeCostTypeId": 1,
"crNconformity": "sample string 17",
"declaredAsBackchargeableOn": "2026-05-09T14:09:19.0549614+02:00",
"mainServiceTypeId": 1,
"isRepliedNotAgreed": true,
"drawingAttached": true
}
text/html
Sample:
{"id":1,"letterToTrNumber":"sample string 1","requestDate":"2026-05-09T14:09:19.0499309+02:00","reference":"sample string 2","requesterName":"sample string 3","requesterTitle":"sample string 4","locationUnit":"sample string 5","locationArea":"sample string 6","title":"sample string 7","originatorTypeId":8,"disciplineId":"sample string 9","workReasonTypeId":10,"workDescription":"sample string 11","workScheduleStart":"2026-05-09T14:09:19.0499309+02:00","workScheduleEnd":"2026-05-09T14:09:19.0499309+02:00","workEstimatedCost":1.0,"workOriginalEstimatedCost":1.0,"currentCost":1.0,"workEstimatedCurrencyCode":"sample string 12","letterToSubcontractorNumber":"sample string 13","acceptanceAckAccept":true,"acceptanceAckWithExceptions":true,"acceptanceExceptions":"sample string 14","pricingMethodTypeIds":[1,2],"resolutionConclusionTypeIds":[1,2],"approvedExternally":true,"applyEiSi":true,"sfrLetterAprovalRejection":"sample string 16","toChargeCostTypeId":1,"crNconformity":"sample string 17","declaredAsBackchargeableOn":"2026-05-09T14:09:19.0549614+02:00","mainServiceTypeId":1,"isRepliedNotAgreed":true,"drawingAttached":true}
application/xml, text/xml
Sample:
<SfrCreateOrUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.SfrAgg">
<AcceptanceAckAccept>true</AcceptanceAckAccept>
<AcceptanceAckWithExceptions>true</AcceptanceAckWithExceptions>
<AcceptanceExceptions>sample string 14</AcceptanceExceptions>
<ApplyEiSi>true</ApplyEiSi>
<ApprovedExternally>true</ApprovedExternally>
<CrNconformity>sample string 17</CrNconformity>
<CurrentCost>1</CurrentCost>
<DeclaredAsBackchargeableOn>2026-05-09T14:09:19.0549614+02:00</DeclaredAsBackchargeableOn>
<DisciplineId>sample string 9</DisciplineId>
<DrawingAttached>true</DrawingAttached>
<Id>1</Id>
<IsRepliedNotAgreed>true</IsRepliedNotAgreed>
<LetterToSubcontractorNumber>sample string 13</LetterToSubcontractorNumber>
<LetterToTrNumber>sample string 1</LetterToTrNumber>
<LocationArea>sample string 6</LocationArea>
<LocationUnit>sample string 5</LocationUnit>
<MainServiceTypeId>Main</MainServiceTypeId>
<OriginatorTypeId>8</OriginatorTypeId>
<PricingMethodTypeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</PricingMethodTypeIds>
<Reference>sample string 2</Reference>
<RequestDate>2026-05-09T14:09:19.0499309+02:00</RequestDate>
<RequesterName>sample string 3</RequesterName>
<RequesterTitle>sample string 4</RequesterTitle>
<ResolutionConclusionTypeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</ResolutionConclusionTypeIds>
<SfrLetterAprovalRejection>sample string 16</SfrLetterAprovalRejection>
<Title>sample string 7</Title>
<ToChargeCostTypeId>BudgetTR</ToChargeCostTypeId>
<WorkDescription>sample string 11</WorkDescription>
<WorkEstimatedCost>1</WorkEstimatedCost>
<WorkEstimatedCurrencyCode>sample string 12</WorkEstimatedCurrencyCode>
<WorkOriginalEstimatedCost>1</WorkOriginalEstimatedCost>
<WorkReasonTypeId>10</WorkReasonTypeId>
<WorkScheduleEnd>2026-05-09T14:09:19.0499309+02:00</WorkScheduleEnd>
<WorkScheduleStart>2026-05-09T14:09:19.0499309+02:00</WorkScheduleStart>
</SfrCreateOrUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataResultOfSfrWithVersionInfoDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | SfrWithVersionInfoDto |
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.