GET users/{userIdentifier}/sessions

Gets the user sessions asynchronous.

Authorization

Access to this endpoint is granted if all following conditions are true:

  • Authenticated user passes at least one of the following conditions: Authenticated user matches identifier given in "userIdentifier, studentIdentifier" uri parameter. Authenticated user is a staff member and is assigned to the same center as a user who matches identifier given in "userIdentifier, studentIdentifier" uri parameter.
  • Authenticated user who is either StaffMember, Student, Administrator, ProspectWithTrial, User
  • Authenticated user who is either StaffMember, Student, QA, ISUSTeacher, Administrator, FocusTool, ProspectWithTrial, User

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userIdentifier

The user identifier.

PearsonEnglish.LearningServices.Business.Helpers.UserIdentifier

Required

Body Parameters

None.

Response Information

Resource Description

PearsonEnglish.LearningServices.Core.Models.Views.TeacherSessionViewModel
NameDescriptionTypeAdditional information
Name

string

None.

Contact

string

None.

Photo

string

None.

StartDate

integer

None.

EndDate

integer

None.

PartnerId

globally unique identifier

Required

ContentItemId

globally unique identifier

Required

TeacherId

globally unique identifier

Required

MeetingUrl

string

Required

StartDateTime

date

Required

EndDateTime

date

Required

Response Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Contact": "sample string 2",
  "Photo": "sample string 3",
  "StartDate": 4,
  "EndDate": 5,
  "PartnerId": "2f590fe7-a48c-44da-a688-0d8bd82b67c4",
  "ContentItemId": "c6e4ef28-519d-4c55-89f1-25aac2c2786b",
  "TeacherId": "12a3121c-4d89-43cb-bf77-272451a04a76",
  "MeetingUrl": "sample string 9",
  "StartDateTime": "2024-10-05T09:22:04.8538385+00:00",
  "EndDateTime": "2024-10-05T09:22:04.8538385+00:00"
}