PUT centers/{centerId}/prospects/{prospectId}

Authorization

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

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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
centerId

globally unique identifier

Required

prospectId

globally unique identifier

Required

Body Parameters

PearsonEnglish.LearningServices.Wse.Models.Prospects.ProspectTrialParameters
NameDescriptionTypeAdditional information
Enabled

boolean

None.

StartDate

date

None.

EndDate

date

None.

CenterId

globally unique identifier

None.

UnitNumber

integer

None.

OnboardingEnabled

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Enabled": true,
  "StartDate": "2024-12-20T13:55:05.0217646+00:00",
  "EndDate": "2024-12-20T13:55:05.0217646+00:00",
  "CenterId": "5e5ad235-7b6c-4c3b-867f-fa71aa3c5ff8",
  "UnitNumber": 1,
  "OnboardingEnabled": true
}

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.