POST api/Images

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

Request Information

URI Parameters

None.

Body Parameters

UserImage
NameDescriptionTypeAdditional information
ProfileImage

string

None.

UserID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "ProfileImage": "sample string 1",
  "UserID": "474cb663-7284-4ead-8849-4bc7a92764dd"
}

application/xml, text/xml

Sample:
<UserImage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.API">
  <ProfileImage>sample string 1</ProfileImage>
  <UserID>474cb663-7284-4ead-8849-4bc7a92764dd</UserID>
</UserImage>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserImage'.

Response Information

Resource Description

True on success otherwise false

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>