POST api/Teacher/AddTeachToCourseGroup
Request Information
URI Parameters
None.
Body Parameters
CourseTeacherModelName | Description | Type | Additional information |
---|---|---|---|
TeacherID | string |
None. |
|
ID | integer |
None. |
|
CreateDate | date |
None. |
|
CreateByUser | string |
None. |
|
UpdateDate | date |
None. |
|
UpdateByUser | string |
None. |
|
CourseID | integer |
None. |
|
Stop | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "teacherID": "sample string 1", "id": 2, "createDate": "2024-12-26T18:46:26.5764254+07:00", "createByUser": "sample string 3", "updateDate": "2024-12-26T18:46:26.5764254+07:00", "updateByUser": "sample string 4", "courseID": 5, "stop": true }
text/html
Sample:
{"teacherID":"sample string 1","id":2,"createDate":"2024-12-26T18:46:26.5764254+07:00","createByUser":"sample string 3","updateDate":"2024-12-26T18:46:26.5764254+07:00","updateByUser":"sample string 4","courseID":5,"stop":true}
application/xml, text/xml
Sample:
<CourseTeacherModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/App.Model.ViewModel"> <CourseID>5</CourseID> <CreateByUser>sample string 3</CreateByUser> <CreateDate>2024-12-26T18:46:26.5764254+07:00</CreateDate> <ID>2</ID> <Stop>true</Stop> <TeacherID>sample string 1</TeacherID> <UpdateByUser>sample string 4</UpdateByUser> <UpdateDate>2024-12-26T18:46:26.5764254+07:00</UpdateDate> </CourseTeacherModel>
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. |