GET restapi/personal/courses/yourstudents/v1?PageIndex={PageIndex}&PageSize={PageSize}&sort={sort}&sortDescending={sortDescending}&search={search}

Get a list of the all students for teacher in all courses where teacher has teacher's role.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PageIndex

integer

None.

PageSize

integer

None.

sort

Field to sort by

string

Default value is LastLogon

sortDescending

True if sorting ascending

boolean

Default value is True

search

Search term over student first and last name.

string

Default value is

Body Parameters

None.

Response Information

Resource Description

Collection of Itslearning.RestApi.Entities.Personal.Course.YourStudent
NameDescriptionTypeAdditional information
FallbackPictureUrl

Used if main picture will not be loaded on client side.

string

None.

CompletedTasks

Completed Tasks for this Course.

integer

None.

TotalTasks

Total Tasks for this Course.

integer

None.

PersonId

The id of the course participant

integer

None.

FullName

Full name of the course participant

string

None.

LastVisited

Last time the course participant visited this course

date

None.

LastVisitedRelative

Last time the course participant visited this course relative to the current time Examples: 3 days ago, 2 hours ago, Just now, etc.

string

None.

PictureUrl

Avatar Url

string

None.

Role

The role that the course participant has in the course

string

None.

RoleId

The role id that the course participant has in the course

integer

None.

ExtraInformation

Extra information for this participant

string

None.

CanHaveTasks

Show if course participant can have tasks

boolean

None.

Groups

Comma-separated list of course groups the participant is a member of

string

None.

TemporaryAccess

Boolean value indicating if the participant has been granted temporary access to the course

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "FallbackPictureUrl": "sample string 1",
    "CompletedTasks": 2,
    "TotalTasks": 3,
    "PersonId": 4,
    "FullName": "sample string 5",
    "LastVisited": "2026-05-28T17:47:15Z",
    "LastVisitedRelative": "sample string 6",
    "PictureUrl": "sample string 7",
    "Role": "sample string 8",
    "RoleId": 9,
    "ExtraInformation": "sample string 10",
    "CanHaveTasks": true,
    "Groups": "sample string 12",
    "TemporaryAccess": true
  },
  {
    "FallbackPictureUrl": "sample string 1",
    "CompletedTasks": 2,
    "TotalTasks": 3,
    "PersonId": 4,
    "FullName": "sample string 5",
    "LastVisited": "2026-05-28T17:47:15Z",
    "LastVisitedRelative": "sample string 6",
    "PictureUrl": "sample string 7",
    "Role": "sample string 8",
    "RoleId": 9,
    "ExtraInformation": "sample string 10",
    "CanHaveTasks": true,
    "Groups": "sample string 12",
    "TemporaryAccess": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfYourStudent xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <YourStudent>
    <CanHaveTasks>true</CanHaveTasks>
    <CompletedTasks>0</CompletedTasks>
    <ExtraInformation>sample string 10</ExtraInformation>
    <FullName>sample string 5</FullName>
    <Groups>sample string 12</Groups>
    <LastVisited>2026-05-28T17:47:15Z</LastVisited>
    <LastVisitedRelative>sample string 6</LastVisitedRelative>
    <PersonId>4</PersonId>
    <PictureUrl>sample string 7</PictureUrl>
    <Role>sample string 8</Role>
    <RoleId>9</RoleId>
    <TemporaryAccess>true</TemporaryAccess>
    <TotalTasks>0</TotalTasks>
    <CompletedTasks>2</CompletedTasks>
    <FallbackPictureUrl>sample string 1</FallbackPictureUrl>
    <TotalTasks>3</TotalTasks>
  </YourStudent>
  <YourStudent>
    <CanHaveTasks>true</CanHaveTasks>
    <CompletedTasks>0</CompletedTasks>
    <ExtraInformation>sample string 10</ExtraInformation>
    <FullName>sample string 5</FullName>
    <Groups>sample string 12</Groups>
    <LastVisited>2026-05-28T17:47:15Z</LastVisited>
    <LastVisitedRelative>sample string 6</LastVisitedRelative>
    <PersonId>4</PersonId>
    <PictureUrl>sample string 7</PictureUrl>
    <Role>sample string 8</Role>
    <RoleId>9</RoleId>
    <TemporaryAccess>true</TemporaryAccess>
    <TotalTasks>0</TotalTasks>
    <CompletedTasks>2</CompletedTasks>
    <FallbackPictureUrl>sample string 1</FallbackPictureUrl>
    <TotalTasks>3</TotalTasks>
  </YourStudent>
</ArrayOfYourStudent>