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.StaffMemberProfileViewModel| Name | 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": "2025-12-24",
"UserId": "baf51163-c8cd-4a01-93d5-f44c8a30ee74",
"LastName": "sample string 9",
"FirstName": "sample string 10",
"NationalityId": "b0917ede-fa99-4f8f-ae01-20ed54bfcbb4",
"CenterId": "54dbfe7a-2411-4887-a12c-f188722c6d59",
"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": "b1e5807a-f195-4a23-9faa-2dbe8443ddb4",
"SocialNetworkId2": "86c4fc8d-20c0-4323-a736-4e99fb67c45e",
"SocialNetworkId3": "cc740bbc-0214-48f1-8d0e-946de7ce260c",
"SocialNetworkId4": "767b3dc2-21cf-4c08-9ce4-b83010a0e0a1",
"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.