POST api/tblconfig/AddConfig
thêm tbl config
Request Information
URI Parameters
None.
Body Parameters
TblConfigModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Semester | integer |
None. |
|
IsCurrent | boolean |
None. |
|
Year | string |
None. |
|
BeginDate | date |
None. |
|
EndDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "semester": 2, "isCurrent": true, "year": "sample string 4", "beginDate": "2024-12-13T19:03:38.0321019+07:00", "endDate": "2024-12-13T19:03:38.0321019+07:00" }
text/html
Sample:
{"id":1,"semester":2,"isCurrent":true,"year":"sample string 4","beginDate":"2024-12-13T19:03:38.0321019+07:00","endDate":"2024-12-13T19:03:38.0321019+07:00"}
application/xml, text/xml
Sample:
<TblConfigModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/App.Model.ViewModel"> <BeginDate>2024-12-13T19:03:38.0321019+07:00</BeginDate> <EndDate>2024-12-13T19:03:38.0321019+07:00</EndDate> <ID>1</ID> <IsCurrent>true</IsCurrent> <Semester>2</Semester> <Year>sample string 4</Year> </TblConfigModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |