POST user/updateProfilePic

Request Information

URI Parameters

None.

Body Parameters

ProfileImage
NameDescriptionTypeAdditional information
UserId

integer

None.

Image

string

None.

TenantId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "Image": "sample string 2",
  "TenantId": 3
}

text/html

Sample:
{"UserId":1,"Image":"sample string 2","TenantId":3}

application/xml, text/xml

Sample:
<ProfileImage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.UserManagement">
  <Image>sample string 2</Image>
  <TenantId>3</TenantId>
  <UserId>1</UserId>
</ProfileImage>

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 'ProfileImage'.

Response Information

Resource Description

GenericResult
NameDescriptionTypeAdditional information
WasSuccessful

boolean

None.

Message

string

None.

RefId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "WasSuccessful": true,
  "Message": "sample string 2",
  "RefId": 3
}

text/html

Sample:
{"WasSuccessful":true,"Message":"sample string 2","RefId":3}

application/xml, text/xml

Sample:
<GenericResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Common">
  <Message>sample string 2</Message>
  <RefId>3</RefId>
  <WasSuccessful>true</WasSuccessful>
</GenericResult>