GET restapi/personal/courses/notifications/{notificationId}/elements/v1?PageIndex={PageIndex}&PageSize={PageSize}

Gets the list of elements related to given notification

Request Information

URI Parameters

NameDescriptionTypeAdditional information
notificationId

The notification identifier

integer

Required

PageIndex

integer

None.

PageSize

integer

None.

Body Parameters

None.

Response Information

Resource Description

The collection of elements.

EntityListOfItslearning.RestApi.Entities.ElementLink
NameDescriptionTypeAdditional information
EntityArray

Collection of Itslearning.RestApi.Entities.ElementLink

None.

Total

integer

None.

CurrentPageIndex

integer

None.

PageSize

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "EntityArray": [
    {
      "ElementId": 1,
      "ElementType": "Unknown",
      "Title": "sample string 2",
      "Url": "sample string 3",
      "ContentUrl": "sample string 4",
      "IconUrl": "sample string 5",
      "LearningToolId": 6,
      "Homework": true
    },
    {
      "ElementId": 1,
      "ElementType": "Unknown",
      "Title": "sample string 2",
      "Url": "sample string 3",
      "ContentUrl": "sample string 4",
      "IconUrl": "sample string 5",
      "LearningToolId": 6,
      "Homework": true
    }
  ],
  "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>
    <ElementLink>
      <ContentUrl>sample string 4</ContentUrl>
      <ElementId>1</ElementId>
      <ElementType>Unknown</ElementType>
      <Homework>true</Homework>
      <IconUrl>sample string 5</IconUrl>
      <LearningToolId>6</LearningToolId>
      <Title>sample string 2</Title>
      <Url>sample string 3</Url>
    </ElementLink>
    <ElementLink>
      <ContentUrl>sample string 4</ContentUrl>
      <ElementId>1</ElementId>
      <ElementType>Unknown</ElementType>
      <Homework>true</Homework>
      <IconUrl>sample string 5</IconUrl>
      <LearningToolId>6</LearningToolId>
      <Title>sample string 2</Title>
      <Url>sample string 3</Url>
    </ElementLink>
  </EntityArray>
  <PageSize>3</PageSize>
  <Total>1</Total>
</EntityList>