PUT openapi/users/{userIdentifier}/profile/photo
Authorization
Access to this endpoint is granted if all following conditions are true:
- Authenticated territory has access to center which matches identifier given in "centerId" uri parameter.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userIdentifier | PearsonEnglish.LearningServices.Business.Helpers.UserIdentifier |
Required |
Body Parameters
PearsonEnglish.LearningServices.Core.Models.Views.PhotoViewModelName | Description | Type | Additional information |
---|---|---|---|
Base64Content | string |
None. |
|
Url | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Base64Content": "sample string 1", "Url": "sample string 2" }
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.