POST centers/{centerId}/prospects
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
| Name | Description | Type | Additional information |
|---|---|---|---|
| centerId | globally unique identifier |
Required |
Body Parameters
PearsonEnglish.LearningServices.Wse.Models.Prospects.ProspectParameters| Name | Description | Type | Additional information |
|---|---|---|---|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| string |
None. |
||
| Password | string |
None. |
|
| CompanyId | globally unique identifier |
None. |
|
| CenterId | globally unique identifier |
None. |
|
| ShowPlacementResultFlag | boolean |
None. |
|
| PhoneNumber | string |
None. |
|
| IsB2bProspect | boolean |
None. |
|
| Trial | PearsonEnglish.LearningServices.Wse.Models.Prospects.ProspectTrialParameters |
None. |
|
| PlacementTestEntryPoint | PearsonEnglish.LearningServices.Core.Models.Enums.PlacementTestEntryPoint |
None. |
Request Formats
application/json, text/json
Sample:
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"Email": "sample string 3",
"Password": "sample string 4",
"CompanyId": "797c8c5a-2118-4239-86c0-c93a64ebd092",
"CenterId": "902a9a0d-9e34-4643-9a1a-e2c84da83376",
"ShowPlacementResultFlag": true,
"PhoneNumber": "sample string 6",
"IsB2bProspect": true,
"Trial": {
"Enabled": true,
"StartDate": "2025-12-09T23:40:18.9911258+00:00",
"EndDate": "2025-12-09T23:40:18.9911258+00:00",
"CenterId": "d52e9ef7-160f-4a36-bce7-bfda69b7fa8c",
"UnitNumber": 1,
"OnboardingEnabled": true
},
"PlacementTestEntryPoint": 0
}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.