POST api/v{version}/Drive/UpdateAssignment

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

UpdateAssignment
NameDescriptionTypeAdditional information
Flag

string

None.

TeacherId

string

None.

HomeWork

string

None.

TimeTableId

string

None.

StudentId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Flag": "sample string 1",
  "TeacherId": "sample string 2",
  "HomeWork": "sample string 3",
  "TimeTableId": "sample string 4",
  "StudentId": "sample string 5"
}

application/xml, text/xml

Sample:
<UpdateAssignment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudbudAPI.V2.Models">
  <Flag>sample string 1</Flag>
  <HomeWork>sample string 3</HomeWork>
  <StudentId>sample string 5</StudentId>
  <TeacherId>sample string 2</TeacherId>
  <TimeTableId>sample string 4</TimeTableId>
</UpdateAssignment>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UpdateAssignment'.

Response Information

Resource Description

UpdateAssignment
NameDescriptionTypeAdditional information
Flag

string

None.

TeacherId

string

None.

HomeWork

string

None.

TimeTableId

string

None.

StudentId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Flag": "sample string 1",
  "TeacherId": "sample string 2",
  "HomeWork": "sample string 3",
  "TimeTableId": "sample string 4",
  "StudentId": "sample string 5"
}

application/xml, text/xml

Sample:
<UpdateAssignment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudbudAPI.V2.Models">
  <Flag>sample string 1</Flag>
  <HomeWork>sample string 3</HomeWork>
  <StudentId>sample string 5</StudentId>
  <TeacherId>sample string 2</TeacherId>
  <TimeTableId>sample string 4</TimeTableId>
</UpdateAssignment>