POST api/CauHinhBaiThi/create
Request Information
URI Parameters
None.
Body Parameters
CauHinhBaiThiViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| DiemMoiCau | integer |
None. |
|
| ThoiGianThi | integer |
None. |
|
| SoCauHoi | integer |
None. |
|
| KichHoat | boolean |
None. |
|
| NgayTao | date |
None. |
|
| NguoiTao | string |
None. |
|
| NgaySua | date |
None. |
|
| NguoiSua | string |
None. |
|
| DaXoa | boolean |
None. |
|
| NgayXoa | date |
None. |
|
| NguoiXoa | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"DiemMoiCau": 2,
"ThoiGianThi": 3,
"SoCauHoi": 4,
"KichHoat": true,
"NgayTao": "2026-11-09T06:04:55.9160328+07:00",
"NguoiTao": "sample string 5",
"NgaySua": "2026-11-09T06:04:55.9160328+07:00",
"NguoiSua": "sample string 6",
"DaXoa": true,
"NgayXoa": "2026-11-09T06:04:55.9160328+07:00",
"NguoiXoa": "sample string 7"
}
application/xml, text/xml
Sample:
<CauHinhBaiThiViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LcdCNTT.Web.Models"> <DaXoa>true</DaXoa> <DiemMoiCau>2</DiemMoiCau> <ID>1</ID> <KichHoat>true</KichHoat> <NgaySua>2026-11-09T06:04:55.9160328+07:00</NgaySua> <NgayTao>2026-11-09T06:04:55.9160328+07:00</NgayTao> <NgayXoa>2026-11-09T06:04:55.9160328+07:00</NgayXoa> <NguoiSua>sample string 6</NguoiSua> <NguoiTao>sample string 5</NguoiTao> <NguoiXoa>sample string 7</NguoiXoa> <SoCauHoi>4</SoCauHoi> <ThoiGianThi>3</ThoiGianThi> </CauHinhBaiThiViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |