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-10",
"UserId": "ba076ca5-4393-401b-9067-90d448d5e049",
"LastName": "sample string 9",
"FirstName": "sample string 10",
"NationalityId": "da12c977-020d-49b9-b6ab-b781965ae767",
"CenterId": "03a78bc0-f345-494b-b92c-45fc789e5cb5",
"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": "5c611df9-a0a9-4fd0-967f-425091d1d16c",
"SocialNetworkId2": "72089a35-5fcc-4b53-811c-9cd4a67cb4e5",
"SocialNetworkId3": "21f2b6b2-1941-4d1f-9a30-c97a00566624",
"SocialNetworkId4": "2d2e3f13-0ddb-47dc-88ff-849fda64c951",
"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.