POST api/Images
Upload User Photo as Image string Base 64, allowed photo extensions ".jpg", ".gif", ".png"
Request Information
URI Parameters
None.
Body Parameters
UserImageName | Description | Type | Additional information |
---|---|---|---|
ProfileImage | string |
None. |
|
UserID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProfileImage": "sample string 1", "UserID": "75889aa5-3269-4405-a344-672fcfac977e" }
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>75889aa5-3269-4405-a344-672fcfac977e</UserID> </UserImage>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
True on success otherwise false
stringResponse 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>