POST api/cong-van-di/sua-doi
Request Information
URI Parameters
None.
Body Parameters
CongVanDi| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| IDNguoiKy | integer |
None. |
|
| IDLoaiVanBan | integer |
None. |
|
| idlinhvucvanban | integer |
None. |
|
| IDNoiDen | integer |
None. |
|
| SoVanBan | string |
None. |
|
| NgayVanBan | date |
None. |
|
| NgayGui | 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. |
|
| TenNoiDen | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"idNguoiKy": 2,
"idLoaiVanBan": 3,
"idlinhvucvanban": 4,
"idNoiDen": 5,
"soVanBan": "sample string 6",
"ngayVanBan": "2025-12-11T20:08:50.774418+07:00",
"ngayGui": "2025-12-11T20:08:50.774418+07:00",
"trichYeu": "sample string 9",
"soTrang": 10,
"noiLuu": "sample string 11",
"idNoiLuu": 12,
"capDo": "sample string 13",
"ghiChu": "sample string 14",
"createdOn": "2025-12-11T20:08:50.774418+07:00",
"createdBy": 16,
"editedOn": "2025-12-11T20:08:50.774418+07:00",
"editedBy": 17,
"inUsed": true,
"duongDan": "sample string 19",
"loaiCongVan": "sample string 20",
"tenNguoiKy": "sample string 21",
"tenNoiDen": "sample string 22"
}
application/xml, text/xml
Sample:
<CongVanDi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO.Model_API"> <CapDo>sample string 13</CapDo> <CreatedBy>16</CreatedBy> <CreatedOn>2025-12-11T20:08:50.774418+07:00</CreatedOn> <DuongDan>sample string 19</DuongDan> <EditedBy>17</EditedBy> <EditedOn>2025-12-11T20:08:50.774418+07:00</EditedOn> <GhiChu>sample string 14</GhiChu> <ID>1</ID> <IDLoaiVanBan>3</IDLoaiVanBan> <IDNguoiKy>2</IDNguoiKy> <IDNoiDen>5</IDNoiDen> <IDNoiLuu>12</IDNoiLuu> <InUsed>true</InUsed> <LoaiCongVan>sample string 20</LoaiCongVan> <NgayGui>2025-12-11T20:08:50.774418+07:00</NgayGui> <NgayVanBan>2025-12-11T20:08:50.774418+07:00</NgayVanBan> <NoiLuu>sample string 11</NoiLuu> <SoTrang>10</SoTrang> <SoVanBan>sample string 6</SoVanBan> <TenNguoiKy>sample string 21</TenNguoiKy> <TenNoiDen>sample string 22</TenNoiDen> <TrichYeu>sample string 9</TrichYeu> <idlinhvucvanban>4</idlinhvucvanban> </CongVanDi>
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>