POST api/cong-van-den/sua-doi

Request Information

URI Parameters

None.

Body Parameters

CongVanDen
NameDescriptionTypeAdditional information
ID

integer

None.

IDNguoiKy

integer

None.

IDLoaiVanBan

integer

None.

IDLinhVucVanBan

integer

None.

IDNoiGui

integer

None.

SoDen

string

None.

NgayDen

date

None.

SoVanBan

string

None.

NgayVanBan

date

None.

TrichYeu

string

None.

SoTrang

integer

None.

NoiLuu

string

None.

IDNoiLuu

integer

None.

CapDo

string

None.

GhiChu

string

None.

CreatedOn

date

None.

CreatedBy

integer

None.

EditedOn

date

None.

EditedBy

integer

None.

InUsed

boolean

None.

DuongDan

string

None.

LoaiCongVan

string

None.

TenNguoiKy

string

None.

TenNoiGui

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "idNguoiKy": 2,
  "idLoaiVanBan": 3,
  "idLinhVucVanBan": 4,
  "idNoiGui": 5,
  "soDen": "sample string 6",
  "ngayDen": "2025-12-11T19:58:50.3369459+07:00",
  "soVanBan": "sample string 8",
  "ngayVanBan": "2025-12-11T19:58:50.3374764+07:00",
  "trichYeu": "sample string 10",
  "soTrang": 11,
  "noiLuu": "sample string 12",
  "idNoiLuu": 13,
  "capDo": "sample string 14",
  "ghiChu": "sample string 15",
  "createdOn": "2025-12-11T19:58:50.3379434+07:00",
  "createdBy": 17,
  "editedOn": "2025-12-11T19:58:50.3379434+07:00",
  "editedBy": 18,
  "inUsed": true,
  "duongDan": "sample string 20",
  "loaiCongVan": "sample string 21",
  "tenNguoiKy": "sample string 22",
  "tenNoiGui": "sample string 23"
}

application/xml, text/xml

Sample:
<CongVanDen xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO.Model_API">
  <CapDo>sample string 14</CapDo>
  <CreatedBy>17</CreatedBy>
  <CreatedOn>2025-12-11T19:58:50.3379434+07:00</CreatedOn>
  <DuongDan>sample string 20</DuongDan>
  <EditedBy>18</EditedBy>
  <EditedOn>2025-12-11T19:58:50.3379434+07:00</EditedOn>
  <GhiChu>sample string 15</GhiChu>
  <ID>1</ID>
  <IDLinhVucVanBan>4</IDLinhVucVanBan>
  <IDLoaiVanBan>3</IDLoaiVanBan>
  <IDNguoiKy>2</IDNguoiKy>
  <IDNoiGui>5</IDNoiGui>
  <IDNoiLuu>13</IDNoiLuu>
  <InUsed>true</InUsed>
  <LoaiCongVan>sample string 21</LoaiCongVan>
  <NgayDen>2025-12-11T19:58:50.3369459+07:00</NgayDen>
  <NgayVanBan>2025-12-11T19:58:50.3374764+07:00</NgayVanBan>
  <NoiLuu>sample string 12</NoiLuu>
  <SoDen>sample string 6</SoDen>
  <SoTrang>11</SoTrang>
  <SoVanBan>sample string 8</SoVanBan>
  <TenNguoiKy>sample string 22</TenNguoiKy>
  <TenNoiGui>sample string 23</TenNoiGui>
  <TrichYeu>sample string 10</TrichYeu>
</CongVanDen>

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>