PUT api/StudentGs/Put
Registers the student for a gs for the specified course
Request Information
URI Parameters
None.
Body Parameters
PutStudentGsDto| Name | Description | Type | Additional information |
|---|---|---|---|
| GsId | integer |
Required |
|
| ForRecurringSessions | boolean |
Required |
Request Formats
application/json, text/json
Sample:
{
"GsId": 1,
"ForRecurringSessions": true
}
application/xml, text/xml
Sample:
<PutStudentGsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudyTree.Core.Dtos.EventNs.GsNs"> <ForRecurringSessions>true</ForRecurringSessions> <GsId>1</GsId> </PutStudentGsDto>
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. |