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": "9bfa5eb2-b8b9-44f9-b595-5aa708645bc1",
"SecondaryLanguageId": "32874bbe-117c-4f54-85a5-2e84f6f564b5",
"PersonalMotivationId": "a0ca8319-29ef-4db0-b948-c63a90f0bfe8",
"NationalityId": "703f3b3f-36a0-42f8-b6b6-00830dbc3e9d",
"ProfessionId": "1a7a0542-06dd-4108-9c2d-19aff3e9d742",
"NativeLanguage": "sample string 3",
"SecondaryLanguage": "sample string 4",
"PersonalMotivation": "sample string 5",
"Nationality": "sample string 6",
"Profession": "sample string 7",
"SocialNetworkId1": "6d630400-7821-406a-9287-ed339cc7147f",
"SocialNetworkId2": "145f54bc-1426-45ff-8b80-3abd0aa51a38",
"SocialNetworkId3": "a5315f1c-5719-4e61-8a29-c1e4f5ae7b0f",
"SocialNetworkId4": "62fae78e-8e9b-4a5a-baf0-9278f765c585",
"ConsultantId": "9041ef65-87b4-4693-9834-54aaa6852b4d",
"CenterId": "96b99966-8bef-4b72-9f2a-80ecd472c5de",
"CenterName": "sample string 8",
"CenterReferenceId": "sample string 9",
"ConsultantFullName": "sample string 10",
"ConsultantPhotoUris": {
"Small": "sample string 1"
},
"LabTeacherId": "7a7ab841-8632-4906-a301-b3969ff67849",
"LabTeacherFullName": "sample string 11",
"LabTeacherPhotoUris": {
"Small": "sample string 1"
},
"IsAycl": true,
"Birthdate": "2025-12-25",
"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": "cc03b13f-e67b-4b09-aa7b-9b973a902619",
"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": "bea2a28f-d559-45ae-94ca-2b883ae4f9ee",
"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.