POST api/danh-muc-loai-van-ban/them-moi
Request Information
URI Parameters
None.
Body Parameters
DM_LoaiVanBan| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Ma | string |
None. |
|
| Ten | string |
None. |
|
| CreatedOn | date |
None. |
|
| CreatedBy | integer |
None. |
|
| EditedOn | date |
None. |
|
| EditedBy | integer |
None. |
|
| InUsed | boolean |
None. |
|
| IsDelete | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"ma": "sample string 2",
"ten": "sample string 3",
"createdOn": "2025-12-11T19:59:33.5664476+07:00",
"createdBy": 5,
"editedOn": "2025-12-11T19:59:33.5664476+07:00",
"editedBy": 6,
"inUsed": true,
"isDelete": true
}
application/xml, text/xml
Sample:
<DM_LoaiVanBan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO.Model_API"> <CreatedBy>5</CreatedBy> <CreatedOn>2025-12-11T19:59:33.5664476+07:00</CreatedOn> <EditedBy>6</EditedBy> <EditedOn>2025-12-11T19:59:33.5664476+07:00</EditedOn> <ID>1</ID> <InUsed>true</InUsed> <IsDelete>true</IsDelete> <Ma>sample string 2</Ma> <Ten>sample string 3</Ten> </DM_LoaiVanBan>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseObjectOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| Data | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"message": "sample string 2",
"data": 3
}
application/xml, text/xml
Sample:
<ResponseObjectOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuanLyPhatTu_API.Models"> <Data>3</Data> <Message>sample string 2</Message> <Status>true</Status> </ResponseObjectOfint>