PUT students/{userIdentifier}/profile
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 matches identifier given in "userIdentifier, studentIdentifier" uri parameter.
- Authenticated user who is either StaffMember, Student
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userIdentifier | PearsonEnglish.LearningServices.Business.Helpers.UserIdentifier |
Required |
Body Parameters
PearsonEnglish.LearningServices.Core.Models.Views.StudentViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserName | string |
None. |
|
| StudentCode | string |
None. |
|
| Gender | PearsonEnglish.LearningServices.Core.Models.Enums.Gender |
None. |
|
| NativeLanguageId | globally unique identifier |
None. |
|
| SecondaryLanguageId | globally unique identifier |
None. |
|
| PersonalMotivationId | globally unique identifier |
None. |
|
| NationalityId | globally unique identifier |
None. |
|
| ProfessionId | globally unique identifier |
None. |
|
| NativeLanguage | string |
None. |
|
| SecondaryLanguage | string |
None. |
|
| PersonalMotivation | string |
None. |
|
| Nationality | string |
None. |
|
| Profession | string |
None. |
|
| SocialNetworkId1 | globally unique identifier |
None. |
|
| SocialNetworkId2 | globally unique identifier |
None. |
|
| SocialNetworkId3 | globally unique identifier |
None. |
|
| SocialNetworkId4 | globally unique identifier |
None. |
|
| ConsultantId | globally unique identifier |
None. |
|
| CenterId | globally unique identifier |
None. |
|
| CenterName | string |
None. |
|
| CenterReferenceId | string |
None. |
|
| ConsultantFullName | string |
None. |
|
| ConsultantPhotoUris | Dictionary of Nse.ServiceBus.DataContracts.ImageResolution [key] and string [value] |
None. |
|
| LabTeacherId | globally unique identifier |
None. |
|
| LabTeacherFullName | string |
None. |
|
| LabTeacherPhotoUris | Dictionary of Nse.ServiceBus.DataContracts.ImageResolution [key] and string [value] |
None. |
|
| IsAycl | boolean |
None. |
|
| Birthdate | date |
None. |
|
| About_Me | string |
None. |
|
| Interest_hobbies | string |
None. |
|
| Why_study_english | Collection of string |
None. |
|
| Study_reason | string |
None. |
|
| UserId | globally unique identifier |
None. |
|
| tempisNewStudent | boolean |
None. |
|
| LastName | string |
None. |
|
| FirstName | string |
None. |
|
| SsdsId | string |
None. |
|
| StudentId | integer |
None. |
|
| PhotoUris | Dictionary of Nse.ServiceBus.DataContracts.ImageResolution [key] and string [value] |
None. |
|
| SocialNetworkAddress1 | string |
None. |
|
| SocialNetworkAddress2 | string |
None. |
|
| SocialNetworkAddress3 | string |
None. |
|
| SocialNetworkAddress4 | string |
None. |
|
| SocialNetwork1 | string |
None. |
|
| SocialNetwork2 | string |
None. |
|
| SocialNetwork3 | string |
None. |
|
| SocialNetwork4 | string |
None. |
|
| string |
None. |
||
| MobileTelephone | string |
None. |
|
| HomeTelephone | string |
None. |
|
| WorkTelephone | string |
None. |
|
| PreferredContactMethod | PearsonEnglish.LearningServices.Core.Models.Enums.StudentPreferredContactMethods |
None. |
|
| PreferredSocialNetworkId | globally unique identifier |
None. |
|
| PreferredSocialNetworkName | string |
None. |
|
| PreferredSocialNetworkAddress | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserName": "sample string 1",
"StudentCode": "sample string 2",
"Gender": 0,
"NativeLanguageId": "5d9bc62a-e8b9-4e44-a328-9b3d2c4c524a",
"SecondaryLanguageId": "67604cbb-69c1-41d2-85e4-c3428893560f",
"PersonalMotivationId": "c29526ee-f604-4d99-a708-0e54451c40de",
"NationalityId": "06ef243b-a1e2-491b-a891-8e07de4c3cf7",
"ProfessionId": "6d262bdd-d79b-42b7-b3d2-17a728b12715",
"NativeLanguage": "sample string 3",
"SecondaryLanguage": "sample string 4",
"PersonalMotivation": "sample string 5",
"Nationality": "sample string 6",
"Profession": "sample string 7",
"SocialNetworkId1": "02114fde-66c9-43a1-a264-439045d260e9",
"SocialNetworkId2": "84f74d7c-c26c-40cd-a8a8-20637865df0e",
"SocialNetworkId3": "592d80a4-a85d-4055-af71-850571fde66e",
"SocialNetworkId4": "eb6b62a5-6e45-4fe9-b427-612f9c1588de",
"ConsultantId": "ceb502f1-810c-423a-9f46-ec0bd64536da",
"CenterId": "344e64a5-9cb3-4668-9c90-8abadf0eee71",
"CenterName": "sample string 8",
"CenterReferenceId": "sample string 9",
"ConsultantFullName": "sample string 10",
"ConsultantPhotoUris": {
"Small": "sample string 1"
},
"LabTeacherId": "d29c8d01-7da3-4f8d-8f17-bb23680d01ea",
"LabTeacherFullName": "sample string 11",
"LabTeacherPhotoUris": {
"Small": "sample string 1"
},
"IsAycl": true,
"Birthdate": "2025-12-11",
"About_Me": "sample string 13",
"Interest_hobbies": "sample string 14",
"Why_study_english": [
"sample string 1",
"sample string 2"
],
"Study_reason": "sample string 15",
"UserId": "70ac36d3-feb6-48e3-8e02-8030d4af1387",
"tempisNewStudent": true,
"LastName": "sample string 18",
"FirstName": "sample string 19",
"SsdsId": "sample string 20",
"StudentId": 21,
"PhotoUris": {
"Small": "sample string 1"
},
"SocialNetworkAddress1": "sample string 22",
"SocialNetworkAddress2": "sample string 23",
"SocialNetworkAddress3": "sample string 24",
"SocialNetworkAddress4": "sample string 25",
"SocialNetwork1": "sample string 26",
"SocialNetwork2": "sample string 27",
"SocialNetwork3": "sample string 28",
"SocialNetwork4": "sample string 29",
"Email": "sample string 30",
"MobileTelephone": "sample string 31",
"HomeTelephone": "sample string 32",
"WorkTelephone": "sample string 33",
"PreferredContactMethod": 0,
"PreferredSocialNetworkId": "2f31309d-2241-469f-a556-dc3a0c37454a",
"PreferredSocialNetworkName": "sample string 34",
"PreferredSocialNetworkAddress": "sample string 35"
}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.