POST api/AdminSr/Post

Creates a SrJob object and asks all the students from the assignment's course to self-reflect on the topics from the assignment.

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

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.