POST api/Users/UpdatePasswordData

Documentation for 'UpdatePasswordData'.

Request Information

Parameters

NameDescriptionAdditional information
model
Documentation for 'model'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "userid": 1,
  "newpassword": "sample string 2"
}

application/xml, text/xml

Sample:
<UserPasswordModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BoothApp.WebAPI.Controllers">
  <newpassword>sample string 2</newpassword>
  <userid>1</userid>
</UserPasswordModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'UserPasswordModel'.

Response Information

Response body formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>