POST 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

NameDescriptionTypeAdditional information
userIdentifier

PearsonEnglish.LearningServices.Business.Helpers.UserIdentifier

Required

Body Parameters

PearsonEnglish.LearningServices.Core.Models.Views.PhotoViewModel
NameDescriptionTypeAdditional 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.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.