PUT staffmembers/{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 who is either StaffMember
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userIdentifier | PearsonEnglish.LearningServices.Business.Helpers.UserIdentifier |
Required |
Body Parameters
PearsonEnglish.LearningServices.Core.Models.Views.StaffMemberProfileViewModelName | Description | Type | Additional information |
---|---|---|---|
UserName | string |
None. |
|
SsdsId | string |
None. |
|
string |
None. |
||
MobileTelephone | string |
None. |
|
HomeTelephone | string |
None. |
|
WorkTelephone | string |
None. |
|
City | string |
None. |
|
Birthdate | date |
None. |
|
UserId | globally unique identifier |
None. |
|
LastName | string |
None. |
|
FirstName | string |
None. |
|
NationalityId | globally unique identifier |
None. |
|
CenterId | globally unique identifier |
None. |
|
PhotoUris | Dictionary of Nse.ServiceBus.DataContracts.ImageResolution [key] and string [value] |
None. |
|
Gender | PearsonEnglish.LearningServices.Core.Models.Enums.Gender |
None. |
|
CenterName | string |
None. |
|
CenterReferenceId | string |
None. |
|
WorkMotivation | string |
None. |
|
AboutMe | string |
None. |
|
Nationality | string |
None. |
|
SocialNetworkAddress1 | string |
None. |
|
SocialNetworkAddress2 | string |
None. |
|
SocialNetworkAddress3 | string |
None. |
|
SocialNetworkAddress4 | string |
None. |
|
SocialNetworkId1 | globally unique identifier |
None. |
|
SocialNetworkId2 | globally unique identifier |
None. |
|
SocialNetworkId3 | globally unique identifier |
None. |
|
SocialNetworkId4 | globally unique identifier |
None. |
|
SocialNetwork1 | string |
None. |
|
SocialNetwork2 | string |
None. |
|
SocialNetwork3 | string |
None. |
|
SocialNetwork4 | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserName": "sample string 1", "SsdsId": "sample string 2", "Email": "sample string 3", "MobileTelephone": "sample string 4", "HomeTelephone": "sample string 5", "WorkTelephone": "sample string 6", "City": "sample string 7", "Birthdate": "2024-10-05", "UserId": "f436cc7e-3fdf-40ae-b33c-b974f999d79d", "LastName": "sample string 9", "FirstName": "sample string 10", "NationalityId": "b595c5b3-05db-4d64-8753-cbb156a811a7", "CenterId": "c66ec123-537d-4c76-8036-ff9a2fc9714a", "PhotoUris": { "Small": "sample string 1" }, "Gender": 0, "CenterName": "sample string 12", "CenterReferenceId": "sample string 13", "WorkMotivation": "sample string 14", "AboutMe": "sample string 15", "Nationality": "sample string 16", "SocialNetworkAddress1": "sample string 17", "SocialNetworkAddress2": "sample string 18", "SocialNetworkAddress3": "sample string 19", "SocialNetworkAddress4": "sample string 20", "SocialNetworkId1": "74617d38-96bc-412e-99d2-3ec6f9d7b8e0", "SocialNetworkId2": "8cf6c60d-c078-4ee2-8fdf-5ff4b0dfc52c", "SocialNetworkId3": "d2f02e7e-aaf1-4874-9499-6432919a6671", "SocialNetworkId4": "84bf89cc-4771-4cf0-812a-f8d261fea93c", "SocialNetwork1": "sample string 21", "SocialNetwork2": "sample string 22", "SocialNetwork3": "sample string 23", "SocialNetwork4": "sample string 24" }
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.