PUT api/Contract/ContractFile/UpdateContractFile

Update Contract attached file (IsArchive or/add Name change)

Request Information

URI Parameters

None.

Body Parameters

ContractFile
NameDescriptionTypeAdditional information
ContractFileId

integer

None.

ContractId

integer

None.

Name

string

None.

IsArchive

boolean

None.

FileType

integer

None.

IsDeleted

boolean

None.

IsScrapped

boolean

None.

ScrappedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "contractFileId": 1,
  "contractId": 1,
  "name": "sample string 2",
  "isArchive": true,
  "fileType": 1,
  "isDeleted": true,
  "isScrapped": true,
  "scrappedDate": "2025-12-08T03:59:55.7211528Z"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ContractFile'.

Response Information

Resource Description

None.