POST api/Account/photo

Request Information

URI Parameters

None.

Body Parameters

UserInfo
NameDescriptionTypeAdditional information
OldPass

string

None.

NewPass

string

None.

Image

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OldPass": "sample string 1",
  "NewPass": "sample string 2",
  "Image": "sample string 3"
}

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1