POST api/xep-loai-thi-dua/them-moi
Request Information
URI Parameters
None.
Body Parameters
XepHangThiDua| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| IDSoYeuLyLich | integer |
None. |
|
| IDDanhGia | integer |
None. |
|
| Thang | integer |
None. |
|
| Nam | integer |
None. |
|
| GhiChu | string |
None. |
|
| InUsed | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedOn | date |
None. |
|
| EditedBy | integer |
None. |
|
| EditedOn | date |
None. |
|
| TenNhanSu | string |
None. |
|
| MaNhanSu | string |
None. |
|
| MaXepLoaiThiDua | string |
None. |
|
| TenXepLoaiThiDua | string |
None. |
|
| IDDonVi | integer |
None. |
|
| PhapDanh | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"idSoYeuLyLich": 2,
"idDanhGia": 3,
"thang": 4,
"nam": 5,
"ghiChu": "sample string 6",
"inUsed": true,
"createdBy": 8,
"createdOn": "2025-12-11T20:08:47.1391184+07:00",
"editedBy": 1,
"editedOn": "2025-12-11T20:08:47.1391184+07:00",
"tenNhanSu": "sample string 10",
"maNhanSu": "sample string 11",
"maXepLoaiThiDua": "sample string 12",
"tenXepLoaiThiDua": "sample string 13",
"idDonVi": 14,
"phapDanh": "sample string 15"
}
application/xml, text/xml
Sample:
<XepHangThiDua xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO"> <CreatedBy>8</CreatedBy> <CreatedOn>2025-12-11T20:08:47.1391184+07:00</CreatedOn> <EditedBy>1</EditedBy> <EditedOn>2025-12-11T20:08:47.1391184+07:00</EditedOn> <GhiChu>sample string 6</GhiChu> <ID>1</ID> <IDDanhGia>3</IDDanhGia> <IDDonVi>14</IDDonVi> <IDSoYeuLyLich>2</IDSoYeuLyLich> <InUsed>true</InUsed> <MaNhanSu>sample string 11</MaNhanSu> <MaXepLoaiThiDua>sample string 12</MaXepLoaiThiDua> <Nam>5</Nam> <PhapDanh>sample string 15</PhapDanh> <TenNhanSu>sample string 10</TenNhanSu> <TenXepLoaiThiDua>sample string 13</TenXepLoaiThiDua> <Thang>4</Thang> </XepHangThiDua>
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>