POST api/Account/UploadUserPhoto?userImageBase64={userImageBase64}

Upload User Photo as Image string Base 64, allowed photo extensions ".jpg", ".gif", ".png"

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userImageBase64

Image string Base 64

string

Required

Body Parameters

None.

Response Information

Resource Description

True on success otherwise false

StatusModel
NameDescriptionTypeAdditional information
Status

integer

None.

Success

boolean

None.

UserMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Success": true,
  "UserMessage": "sample string 3"
}

application/xml, text/xml

Sample:
<StatusModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AbsoluteHealth.API.Models">
  <Success>true</Success>
  <UserMessage>sample string 3</UserMessage>
  <Status>1</Status>
</StatusModel>