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
Name | Description | Type | Additional information |
---|---|---|---|
centerId | globally unique identifier |
Required |
Body Parameters
PearsonEnglish.LearningServices.Wse.Models.WaitingStudentParametersName | Description | Type | Additional 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": "dfc8c375-c26d-4eca-862d-f11b708a5185" }
Response Information
Resource Description
PearsonEnglish.LearningServices.Wse.Models.Views.WaitingStudentViewModelName | Description | Type | Additional 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": "7dae8af6-3b8f-45e5-bb5f-fb91b1c1f61e", "UserId": "10bf8179-2367-46c4-aec0-d4102dd69cb4", "StudentFullName": "sample string 3", "StudentCode": "sample string 4", "CategoryCode": "sample string 5", "DateAdded": "2024-10-05T09:18:05.4630214+00:00", "ClassType": 0, "PhotoUris": { "Small": "sample string 1" } }