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": "68b1a0f1-6d56-44e2-8eac-1440adfc7837",
  "ContentItemId": "04cbbbde-14a4-4d06-b8ef-9c514105e623",
  "TeacherId": "b2dd9ef5-3032-42df-8618-8894a93105f9",
  "MeetingUrl": "sample string 9",
  "StartDateTime": "2024-12-20T14:38:10.6042016+00:00",
  "EndDateTime": "2024-12-20T14:38:10.6042016+00:00"
}