POST api/AdminGsCreator/Post

Creates a GroupSessionCreator object, which will: - Ask all the students from the assignment's course to self-reflect on the topics from the assignment. This process will take 2 days. - Cluster students depending on their self-reflection. - Create a study group for each cluster and choose an optimal time.

Request Information

URI Parameters

None.

Body Parameters

PostGsCreatorDto
NameDescriptionTypeAdditional information
AssignmentId

integer

Required

LocationId

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "AssignmentId": 1,
  "LocationId": 2
}

application/xml, text/xml

Sample:
<PostGsCreatorDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudyTree.Common.Dtos.AdminNs">
  <AssignmentId>1</AssignmentId>
  <LocationId>2</LocationId>
</PostGsCreatorDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The DTO of the GroupSessionCreator object.

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.