GET restapi/personal/courses/{courseId}/topics/v1?PageIndex={PageIndex}&PageSize={PageSize}
Provides the list of topic IDs and names for a given course.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| courseId |
ID of course to get topics. |
integer |
Required |
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Returns a collection of entity .
EntityListOfItslearning.RestApi.Entities.CourseTopic| Name | Description | Type | Additional information |
|---|---|---|---|
| EntityArray | Collection of Itslearning.RestApi.Entities.CourseTopic |
None. |
|
| Total | integer |
None. |
|
| CurrentPageIndex | integer |
None. |
|
| PageSize | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"EntityArray": [
{
"TopicId": 1,
"TopicName": "sample string 2"
},
{
"TopicId": 1,
"TopicName": "sample string 2"
}
],
"Total": 1,
"CurrentPageIndex": 2,
"PageSize": 3
}
application/xml, text/xml
Sample:
<EntityList xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<CurrentPageIndex>2</CurrentPageIndex>
<EntityArray>
<CourseTopic>
<TopicId>1</TopicId>
<TopicName>sample string 2</TopicName>
</CourseTopic>
<CourseTopic>
<TopicId>1</TopicId>
<TopicName>sample string 2</TopicName>
</CourseTopic>
</EntityArray>
<PageSize>3</PageSize>
<Total>1</Total>
</EntityList>