PUT api/Lesson/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
Lesson| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| chapterId | integer |
Required |
|
| courseId | integer |
Required |
|
| lesson | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"chapterId": 2,
"courseId": 3,
"lesson": "sample string 4"
}
application/xml, text/xml
Sample:
<Lesson xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/cos_webapi.Models.CourseModule"> <chapterId>2</chapterId> <courseId>3</courseId> <id>1</id> <lesson>sample string 4</lesson> </Lesson>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.