POST api/danh-muc-nguoi-ky/them-moi
Request Information
URI Parameters
None.
Body Parameters
DM_NguoiKy| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| IDSoYeuLyLich | integer |
None. |
|
| ten | string |
None. |
|
| PhapDanh | string |
None. |
|
| Ma | 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,
"idSoYeuLyLich": 2,
"ten": "sample string 3",
"phapDanh": "sample string 4",
"ma": "sample string 5",
"createdOn": "2025-12-11T20:09:32.0323945+07:00",
"createdBy": 7,
"editedOn": "2025-12-11T20:09:32.0323945+07:00",
"editedBy": 8,
"inUsed": true,
"isDelete": true
}
application/xml, text/xml
Sample:
<DM_NguoiKy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO.Model_API"> <CreatedBy>7</CreatedBy> <CreatedOn>2025-12-11T20:09:32.0323945+07:00</CreatedOn> <EditedBy>8</EditedBy> <EditedOn>2025-12-11T20:09:32.0323945+07:00</EditedOn> <ID>1</ID> <IDSoYeuLyLich>2</IDSoYeuLyLich> <InUsed>true</InUsed> <IsDelete>true</IsDelete> <Ma>sample string 5</Ma> <PhapDanh>sample string 4</PhapDanh> <ten>sample string 3</ten> </DM_NguoiKy>
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>