GET students/{userIdentifier}/contracts/future/next?synchronizeUserData={synchronizeUserData}

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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userIdentifier

PearsonEnglish.LearningServices.Business.Helpers.UserIdentifier

Required

synchronizeUserData

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

PearsonEnglish.LearningServices.Wse.Models.NextFutureRegistrationModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

ContractId

string

None.

EndDate

date

None.

StartDate

date

None.

ContractStatusLabel

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "9ade9f9f-6d2e-494e-a584-43ccda8a415a",
  "ContractId": "sample string 2",
  "EndDate": "2024-10-05T09:27:50.002072+00:00",
  "StartDate": "2024-10-05T09:27:50.002072+00:00",
  "ContractStatusLabel": "sample string 5"
}