POST centers/{centerId}/waitingList

Authorization

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

  • Authenticated user who is either StaffMember
  • Authenticated user belongs to center which matches identifier given in "centerId" uri parameter.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
centerId

globally unique identifier

Required

Body Parameters

PearsonEnglish.LearningServices.Wse.Models.WaitingStudentParameters
NameDescriptionTypeAdditional information
UnitNumber

integer

None.

ClassType

PearsonEnglish.LearningServices.Core.Models.Enums.ClassTypes

None.

StudentId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "UnitNumber": 1,
  "ClassType": 0,
  "StudentId": "27cb9315-e57f-4ee3-8d00-d5c85eb984ad"
}

Response Information

Resource Description

PearsonEnglish.LearningServices.Wse.Models.Views.WaitingStudentViewModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

UserId

globally unique identifier

None.

StudentFullName

string

None.

StudentCode

string

None.

CategoryCode

string

None.

DateAdded

date

None.

ClassType

PearsonEnglish.LearningServices.Core.Models.Enums.ClassTypes

None.

PhotoUris

Dictionary of Nse.ServiceBus.DataContracts.ImageResolution [key] and string [value]

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "a6961693-686c-48c3-a244-4db9767e34ba",
  "UserId": "1b359142-339a-4c8a-8977-affdbe236064",
  "StudentFullName": "sample string 3",
  "StudentCode": "sample string 4",
  "CategoryCode": "sample string 5",
  "DateAdded": "2024-12-20T14:01:34.4351006+00:00",
  "ClassType": 0,
  "PhotoUris": {
    "Small": "sample string 1"
  }
}