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": "be8cc2df-687d-48c2-9601-4ad821d88523"
}

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>be8cc2df-687d-48c2-9601-4ad821d88523</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>