GET restapi/personal/courses/{courseId}/resources/lastupdated/v1?elementType={elementType}&numberOfElements={numberOfElements}&excludeLearningPathSubElements={excludeLearningPathSubElements}
Gets the last three updated resources for a given element type in a given course for the current user
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| courseId |
The course identifier |
integer |
Required |
| elementType |
The element type |
integer |
Required |
| numberOfElements |
[OPTIONAL] Number of elements to return for each element type. Value can be between 1 and 10. By default, this value is 3. |
integer |
Default value is 3 |
| excludeLearningPathSubElements |
[OPTIONAL] If it is true sub-elements of a learning path will not be returned. |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
EntityListOfItslearning.RestApi.Entities.Personal.Course.CourseResource| Name | Description | Type | Additional information |
|---|---|---|---|
| EntityArray | Collection of Itslearning.RestApi.Entities.Personal.Course.CourseResource |
None. |
|
| Total | integer |
None. |
|
| CurrentPageIndex | integer |
None. |
|
| PageSize | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"EntityArray": [
{
"Title": "sample string 1",
"ElementId": 2,
"ElementType": "Unknown",
"CourseId": 3,
"Url": "sample string 4",
"ContentUrl": "sample string 5",
"IconUrl": "sample string 6",
"BrandIconUrl": "sample string 7",
"Active": true,
"LearningToolId": 9,
"AddElementUrl": "sample string 10",
"Homework": true,
"Path": "sample string 12",
"LearningObjectId": 13,
"LearningObjectInstanceId": 14
},
{
"Title": "sample string 1",
"ElementId": 2,
"ElementType": "Unknown",
"CourseId": 3,
"Url": "sample string 4",
"ContentUrl": "sample string 5",
"IconUrl": "sample string 6",
"BrandIconUrl": "sample string 7",
"Active": true,
"LearningToolId": 9,
"AddElementUrl": "sample string 10",
"Homework": true,
"Path": "sample string 12",
"LearningObjectId": 13,
"LearningObjectInstanceId": 14
}
],
"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>
<CourseResource>
<Active>true</Active>
<AddElementUrl>sample string 10</AddElementUrl>
<BrandIconUrl>sample string 7</BrandIconUrl>
<ContentUrl>sample string 5</ContentUrl>
<CourseId>3</CourseId>
<ElementId>2</ElementId>
<ElementType>Unknown</ElementType>
<Homework>true</Homework>
<IconUrl>sample string 6</IconUrl>
<LearningObjectId>13</LearningObjectId>
<LearningObjectInstanceId>14</LearningObjectInstanceId>
<LearningToolId>9</LearningToolId>
<Path>sample string 12</Path>
<Title>sample string 1</Title>
<Url>sample string 4</Url>
</CourseResource>
<CourseResource>
<Active>true</Active>
<AddElementUrl>sample string 10</AddElementUrl>
<BrandIconUrl>sample string 7</BrandIconUrl>
<ContentUrl>sample string 5</ContentUrl>
<CourseId>3</CourseId>
<ElementId>2</ElementId>
<ElementType>Unknown</ElementType>
<Homework>true</Homework>
<IconUrl>sample string 6</IconUrl>
<LearningObjectId>13</LearningObjectId>
<LearningObjectInstanceId>14</LearningObjectInstanceId>
<LearningToolId>9</LearningToolId>
<Path>sample string 12</Path>
<Title>sample string 1</Title>
<Url>sample string 4</Url>
</CourseResource>
</EntityArray>
<PageSize>3</PageSize>
<Total>1</Total>
</EntityList>