POST api/user/update

Request Information

URI Parameters

None.

Body Parameters

UpdateUserPasswordRequestModel
NameDescriptionTypeAdditional information
UserID

integer

None.

UserName

string

None.

Passwd

string

None.

Image

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "UserName": "sample string 2",
  "Passwd": "sample string 3",
  "Image": "sample string 4"
}

application/xml, text/xml

Sample:
<UpdateUserPasswordRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <Image>sample string 4</Image>
  <Passwd>sample string 3</Passwd>
  <UserID>1</UserID>
  <UserName>sample string 2</UserName>
</UpdateUserPasswordRequestModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.