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": "20fe0fe9-b1b5-4dc3-915a-7d920b59d2b4", "LastName": "sample string 9", "FirstName": "sample string 10", "NationalityId": "dc78544d-6e0a-4c56-bf6d-ce143025a9f7", "CenterId": "a226532d-4c5c-4bf1-8029-8593602f5561", "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": "1258a845-3de1-4bb9-8404-0964c803e428", "SocialNetworkId2": "bdb351ea-4b41-4edd-9b4b-c3e0a8031928", "SocialNetworkId3": "916aa75b-e575-4bab-97a0-c9f510e8eb2c", "SocialNetworkId4": "29b65a61-49a4-497f-a80a-0dff4133b541", "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.