GET restapi/personal/notifications/stream/v1?UseNewerThan={UseNewerThan}&FromId={FromId}&PageIndex={PageIndex}&PageSize={PageSize}&fromPublishedDate={fromPublishedDate}

Gets user's stream feed, which is collected from user's favorite courses or projects.

If no parameters specified, 100 latest items will be returned.

The client can specify paging with a combination of UseNewerThan, FromId and fromPublishedDate to be able to page directly from a specified NotificationId. Due to the fact that stream items are sorted by PublishedDate (not by ID), it's required to specify both FromId and fromPublishedDate parameters. Both should belong to a single StreamItem entity. By default items older than specified are returned, but it's possible to override that behavior by setting UseNewerThan to true.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UseNewerThan

boolean

None.

FromId

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

fromPublishedDate

[Optional] The PublishedDate of last stream item to get the collection of items next to it. Optional, if not supplied then the list will be populated with the latest items. Date has to contain also time in , for ex. YYYY-MM-DDTHH:MM:SS.sssssss or YYYY-MM-DD HH:MM:SS.

date

None.

Body Parameters

None.

Response Information

Resource Description

The collection of StreamItems.

EntityListOfItslearning.RestApi.Entities.StreamItem
NameDescriptionTypeAdditional information
EntityArray

Collection of Itslearning.RestApi.Entities.StreamItem

None.

Total

integer

None.

CurrentPageIndex

integer

None.

PageSize

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "EntityArray": [
    {
      "NotificationId": 1,
      "Text": "sample string 2",
      "LocationTitle": "sample string 3",
      "PublishedDate": "2025-06-17T10:04:54Z",
      "PublishedBy": {
        "PersonId": 1,
        "FirstName": "sample string 2",
        "LastName": "sample string 3",
        "FullName": "sample string 4",
        "ProfileUrl": "sample string 5",
        "AdditionalInfo": "sample string 6",
        "ProfileImageUrl": "sample string 7",
        "ProfileImageUrlSmall": "sample string 8"
      },
      "Url": "sample string 5",
      "ContentUrl": "sample string 6",
      "IconUrl": "sample string 7",
      "LightBulletin": {
        "LightBulletinId": 1,
        "Text": "sample string 2",
        "EmbedUrl": "sample string 3",
        "AllowComments": true,
        "ElementLinks": [
          {
            "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
          }
        ]
      },
      "ElementId": 1,
      "ElementType": "Unknown"
    },
    {
      "NotificationId": 1,
      "Text": "sample string 2",
      "LocationTitle": "sample string 3",
      "PublishedDate": "2025-06-17T10:04:54Z",
      "PublishedBy": {
        "PersonId": 1,
        "FirstName": "sample string 2",
        "LastName": "sample string 3",
        "FullName": "sample string 4",
        "ProfileUrl": "sample string 5",
        "AdditionalInfo": "sample string 6",
        "ProfileImageUrl": "sample string 7",
        "ProfileImageUrlSmall": "sample string 8"
      },
      "Url": "sample string 5",
      "ContentUrl": "sample string 6",
      "IconUrl": "sample string 7",
      "LightBulletin": {
        "LightBulletinId": 1,
        "Text": "sample string 2",
        "EmbedUrl": "sample string 3",
        "AllowComments": true,
        "ElementLinks": [
          {
            "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
          }
        ]
      },
      "ElementId": 1,
      "ElementType": "Unknown"
    }
  ],
  "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>
    <StreamItem>
      <ContentUrl>sample string 6</ContentUrl>
      <ElementId>1</ElementId>
      <ElementType>Unknown</ElementType>
      <IconUrl>sample string 7</IconUrl>
      <LightBulletin>
        <AllowComments>true</AllowComments>
        <ElementLinks>
          <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>
        </ElementLinks>
        <EmbedUrl>sample string 3</EmbedUrl>
        <LightBulletinId>1</LightBulletinId>
        <Text>sample string 2</Text>
      </LightBulletin>
      <LocationTitle>sample string 3</LocationTitle>
      <NotificationId>1</NotificationId>
      <PublishedBy>
        <AdditionalInfo>sample string 6</AdditionalInfo>
        <FirstName>sample string 2</FirstName>
        <FullName>sample string 4</FullName>
        <LastName>sample string 3</LastName>
        <PersonId>1</PersonId>
        <ProfileImageUrl>sample string 7</ProfileImageUrl>
        <ProfileImageUrlSmall>sample string 8</ProfileImageUrlSmall>
        <ProfileUrl>sample string 5</ProfileUrl>
      </PublishedBy>
      <PublishedDate>2025-06-17T10:04:54Z</PublishedDate>
      <Text>sample string 2</Text>
      <Url>sample string 5</Url>
    </StreamItem>
    <StreamItem>
      <ContentUrl>sample string 6</ContentUrl>
      <ElementId>1</ElementId>
      <ElementType>Unknown</ElementType>
      <IconUrl>sample string 7</IconUrl>
      <LightBulletin>
        <AllowComments>true</AllowComments>
        <ElementLinks>
          <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>
        </ElementLinks>
        <EmbedUrl>sample string 3</EmbedUrl>
        <LightBulletinId>1</LightBulletinId>
        <Text>sample string 2</Text>
      </LightBulletin>
      <LocationTitle>sample string 3</LocationTitle>
      <NotificationId>1</NotificationId>
      <PublishedBy>
        <AdditionalInfo>sample string 6</AdditionalInfo>
        <FirstName>sample string 2</FirstName>
        <FullName>sample string 4</FullName>
        <LastName>sample string 3</LastName>
        <PersonId>1</PersonId>
        <ProfileImageUrl>sample string 7</ProfileImageUrl>
        <ProfileImageUrlSmall>sample string 8</ProfileImageUrlSmall>
        <ProfileUrl>sample string 5</ProfileUrl>
      </PublishedBy>
      <PublishedDate>2025-06-17T10:04:54Z</PublishedDate>
      <Text>sample string 2</Text>
      <Url>sample string 5</Url>
    </StreamItem>
  </EntityArray>
  <PageSize>3</PageSize>
  <Total>1</Total>
</EntityList>