POST api/Images/PostUploadUserPhotoV2

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": "8890915a-2c9d-46fb-a56c-d582d00b0294"
}

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>8890915a-2c9d-46fb-a56c-d582d00b0294</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

ResponseImageModel
NameDescriptionTypeAdditional information
Status

boolean

None.

StatusCode

integer

None.

Message

string

None.

Data

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "StatusCode": 2,
  "Message": "sample string 3",
  "Data": "sample string 4"
}

application/xml, text/xml

Sample:
<ResponseImageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common">
  <Data>sample string 4</Data>
  <Message>sample string 3</Message>
  <Status>true</Status>
  <StatusCode>2</StatusCode>
</ResponseImageModel>