PUT api/Courses/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Course
NameDescriptionTypeAdditional information
id

integer

Required

course

string

Required

code

integer

Required

introVideoId

string

Required

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "course": "sample string 2",
  "code": 3,
  "introVideoId": "sample string 4"
}

application/xml, text/xml

Sample:
<Course xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/cos_webapi.Models.CourseModule">
  <code>3</code>
  <course>sample string 2</course>
  <id>1</id>
  <introVideoId>sample string 4</introVideoId>
</Course>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.