PUT api/Subcontracts/{subcontractId}/Sfr/{sfrId}/UpdateSentInfo

Update an SFR by id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subcontractId

integer

Required

sfrId

integer

Required

Body Parameters

SfrUpdateSentInfoDto
NameDescriptionTypeAdditional information
MainServiceTypeId

SfrfewoMainServiceTypeId

None.

SfrLetterAprovalRejection

string

None.

Reference

string

None.

ApprovedExternally

boolean

None.

WorkReasonTypeId

integer

None.

ToChargeCostTypeId

CostChargeToTypeId

None.

ResolutionConclusionTypeIds

Collection of integer

None.

AcceptanceAckAccept

boolean

None.

AcceptanceAckWithExceptions

boolean

None.

AcceptanceExceptions

string

None.

DeclaredAsBackchargeableOn

date

None.

CrNconformity

string

None.

Request Formats

application/json, text/json

Sample:
{
  "mainServiceTypeId": 1,
  "sfrLetterAprovalRejection": "sample string 2",
  "reference": "sample string 3",
  "approvedExternally": true,
  "workReasonTypeId": 5,
  "toChargeCostTypeId": 1,
  "resolutionConclusionTypeIds": [
    1,
    2
  ],
  "acceptanceAckAccept": true,
  "acceptanceAckWithExceptions": true,
  "acceptanceExceptions": "sample string 6",
  "declaredAsBackchargeableOn": "2026-05-09T14:09:09.1940918+02:00",
  "crNconformity": "sample string 7"
}

text/html

Sample:
{"mainServiceTypeId":1,"sfrLetterAprovalRejection":"sample string 2","reference":"sample string 3","approvedExternally":true,"workReasonTypeId":5,"toChargeCostTypeId":1,"resolutionConclusionTypeIds":[1,2],"acceptanceAckAccept":true,"acceptanceAckWithExceptions":true,"acceptanceExceptions":"sample string 6","declaredAsBackchargeableOn":"2026-05-09T14:09:09.1940918+02:00","crNconformity":"sample string 7"}

application/xml, text/xml

Sample:
<SfrUpdateSentInfoDto 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 6</AcceptanceExceptions>
  <ApprovedExternally>true</ApprovedExternally>
  <CrNconformity>sample string 7</CrNconformity>
  <DeclaredAsBackchargeableOn>2026-05-09T14:09:09.1940918+02:00</DeclaredAsBackchargeableOn>
  <MainServiceTypeId>Main</MainServiceTypeId>
  <Reference>sample string 3</Reference>
  <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 2</SfrLetterAprovalRejection>
  <ToChargeCostTypeId>BudgetTR</ToChargeCostTypeId>
  <WorkReasonTypeId>5</WorkReasonTypeId>
</SfrUpdateSentInfoDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiDataResultOfSfrWithVersionInfoDto
NameDescriptionTypeAdditional 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.