POST api/to-cong-van/sua-doi
Request Information
URI Parameters
None.
Body Parameters
ToVanBan| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| IDNguoiKy | integer |
None. |
|
| IDLoaiVanBan | integer |
None. |
|
| SoVanBan | string |
None. |
|
| NgayVanBan | date |
None. |
|
| TrichYeu | string |
None. |
|
| SoTrang | integer |
None. |
|
| CapDo | string |
None. |
|
| LoaiCongVan | string |
None. |
|
| GhiChu | string |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedOn | date |
None. |
|
| EditedOn | date |
None. |
|
| EditedBy | integer |
None. |
|
| InUsed | boolean |
None. |
|
| TenNguoiKy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"idNguoiKy": 2,
"idLoaiVanBan": 3,
"soVanBan": "sample string 4",
"ngayVanBan": "2025-12-11T19:58:24.9769348+07:00",
"trichYeu": "sample string 6",
"soTrang": 7,
"capDo": "sample string 8",
"loaiCongVan": "sample string 9",
"ghiChu": "sample string 10",
"createdBy": 11,
"createdOn": "2025-12-11T19:58:24.9769348+07:00",
"editedOn": "2025-12-11T19:58:24.9769348+07:00",
"editedBy": 13,
"inUsed": true,
"tenNguoiKy": "sample string 15"
}
application/xml, text/xml
Sample:
<ToVanBan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO.Model_API"> <CapDo>sample string 8</CapDo> <CreatedBy>11</CreatedBy> <CreatedOn>2025-12-11T19:58:24.9769348+07:00</CreatedOn> <EditedBy>13</EditedBy> <EditedOn>2025-12-11T19:58:24.9769348+07:00</EditedOn> <GhiChu>sample string 10</GhiChu> <ID>1</ID> <IDLoaiVanBan>3</IDLoaiVanBan> <IDNguoiKy>2</IDNguoiKy> <InUsed>true</InUsed> <LoaiCongVan>sample string 9</LoaiCongVan> <NgayVanBan>2025-12-11T19:58:24.9769348+07:00</NgayVanBan> <SoTrang>7</SoTrang> <SoVanBan>sample string 4</SoVanBan> <TenNguoiKy>sample string 15</TenNguoiKy> <TrichYeu>sample string 6</TrichYeu> </ToVanBan>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseObjectOfString| Name | Description | Type | Additional 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>