GET restapi/personal/courses/{courseId}/topics/{topicId}/elementids/v1?PageIndex={PageIndex}&PageSize={PageSize}
Provides the list of element IDs for a given topic in a course.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| courseId |
ID of course. |
integer |
Required |
| topicId |
ID of topic. |
integer |
Required |
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Returns a collection of entity .
EntityListOfItslearning.RestApi.Entities.Personal.Course.ElementSimple| Name | Description | Type | Additional information |
|---|---|---|---|
| EntityArray | Collection of Itslearning.RestApi.Entities.Personal.Course.ElementSimple |
None. |
|
| Total | integer |
None. |
|
| CurrentPageIndex | integer |
None. |
|
| PageSize | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"EntityArray": [
{
"ElementId": 1
},
{
"ElementId": 1
}
],
"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>
<ElementSimple>
<ElementId>1</ElementId>
</ElementSimple>
<ElementSimple>
<ElementId>1</ElementId>
</ElementSimple>
</EntityArray>
<PageSize>3</PageSize>
<Total>1</Total>
</EntityList>