POST api/v{version}/LecturePlanning/EditLectureDescription

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

EditLectureDesc
NameDescriptionTypeAdditional information
TimetableId

string

None.

Material

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TimetableId": "sample string 1",
  "Material": "sample string 2"
}

application/xml, text/xml

Sample:
<EditLectureDesc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudbudAPI.V2.Models">
  <Material>sample string 2</Material>
  <TimetableId>sample string 1</TimetableId>
</EditLectureDesc>

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 'EditLectureDesc'.

Response Information

Resource Description

EditLectureDesc
NameDescriptionTypeAdditional information
TimetableId

string

None.

Material

string

None.

Response Formats

application/json, text/json

Sample:
{
  "TimetableId": "sample string 1",
  "Material": "sample string 2"
}

application/xml, text/xml

Sample:
<EditLectureDesc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudbudAPI.V2.Models">
  <Material>sample string 2</Material>
  <TimetableId>sample string 1</TimetableId>
</EditLectureDesc>