POST api/cong-van-file-dinh-kem/sua-doi

Request Information

URI Parameters

None.

Body Parameters

CongVan_FileDinhKem
NameDescriptionTypeAdditional information
ID

integer

None.

IDFileDinhKem

integer

None.

IDCongVan

integer

None.

LoaiCongVan

string

None.

DuongDan

string

None.

TenFile

string

None.

CreatedOn

date

None.

CreatedBy

integer

None.

EditedOn

date

None.

EditedBy

integer

None.

InUsed

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "idFileDinhKem": 2,
  "idCongVan": 3,
  "loaiCongVan": "sample string 4",
  "duongDan": "sample string 5",
  "tenFile": "sample string 6",
  "createdOn": "2025-12-11T20:08:49.4999568+07:00",
  "createdBy": 8,
  "editedOn": "2025-12-11T20:08:49.4999568+07:00",
  "editedBy": 9,
  "inUsed": true
}

application/xml, text/xml

Sample:
<CongVan_FileDinhKem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO.Model_API">
  <CreatedBy>8</CreatedBy>
  <CreatedOn>2025-12-11T20:08:49.4999568+07:00</CreatedOn>
  <DuongDan>sample string 5</DuongDan>
  <EditedBy>9</EditedBy>
  <EditedOn>2025-12-11T20:08:49.4999568+07:00</EditedOn>
  <ID>1</ID>
  <IDCongVan>3</IDCongVan>
  <IDFileDinhKem>2</IDFileDinhKem>
  <InUsed>true</InUsed>
  <LoaiCongVan>sample string 4</LoaiCongVan>
  <TenFile>sample string 6</TenFile>
</CongVan_FileDinhKem>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseObjectOfString
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

Data

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "message": "sample string 2",
  "data": "sample string 3"
}

application/xml, text/xml

Sample:
<ResponseObjectOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuanLyPhatTu_API.Models">
  <Data>sample string 3</Data>
  <Message>sample string 2</Message>
  <Status>true</Status>
</ResponseObjectOfstring>