PUT api/Topic/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
Topic| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| lessonId | integer |
Required |
|
| chapterId | integer |
Required |
|
| courseId | integer |
Required |
|
| topic | string |
Required |
|
| url | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"lessonId": 2,
"chapterId": 3,
"courseId": 4,
"topic": "sample string 5",
"url": "sample string 6"
}
application/xml, text/xml
Sample:
<Topic xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/cos_webapi.Models.CourseModule"> <chapterId>3</chapterId> <courseId>4</courseId> <id>1</id> <lessonId>2</lessonId> <topic>sample string 5</topic> <url>sample string 6</url> </Topic>
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.