POST api/semesternyear/Add
Request Information
URI Parameters
None.
Body Parameters
SetSemesterName | Description | Type | Additional information |
---|---|---|---|
Year | integer |
None. |
|
Semester | integer |
None. |
|
BeginDate | date |
None. |
|
EndDate | date |
None. |
|
Stop | boolean |
None. |
|
CreateDate | date |
None. |
|
CreateByUser | string |
None. |
|
UpdateDate | date |
None. |
|
UpdateByUser | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "year": 1, "semester": 2, "beginDate": "2024-12-12T08:04:33.5713399+07:00", "endDate": "2024-12-12T08:04:33.5713399+07:00", "stop": true, "createDate": "2024-12-12T08:04:33.5713399+07:00", "createByUser": "sample string 5", "updateDate": "2024-12-12T08:04:33.5713399+07:00", "updateByUser": "sample string 6" }
text/html
Sample:
{"year":1,"semester":2,"beginDate":"2024-12-12T08:04:33.5713399+07:00","endDate":"2024-12-12T08:04:33.5713399+07:00","stop":true,"createDate":"2024-12-12T08:04:33.5713399+07:00","createByUser":"sample string 5","updateDate":"2024-12-12T08:04:33.5713399+07:00","updateByUser":"sample string 6"}
application/xml, text/xml
Sample:
<SetSemester xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/App.Model.Model"> <BeginDate>2024-12-12T08:04:33.5713399+07:00</BeginDate> <CreateByUser>sample string 5</CreateByUser> <CreateDate>2024-12-12T08:04:33.5713399+07:00</CreateDate> <EndDate>2024-12-12T08:04:33.5713399+07:00</EndDate> <Semester>2</Semester> <Stop>true</Stop> <UpdateByUser>sample string 6</UpdateByUser> <UpdateDate>2024-12-12T08:04:33.5713399+07:00</UpdateDate> <Year>1</Year> </SetSemester>
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. |