POST api/Values/ResetPassword

Request Information

URI Parameters

None.

Body Parameters

resetpassword
NameDescriptionTypeAdditional information
userid

integer

None.

userfullname

string

None.

oldpassword

string

None.

newpassword

string

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userid": 1,
  "userfullname": "sample string 2",
  "oldpassword": "sample string 3",
  "newpassword": "sample string 4",
  "Token": "sample string 5"
}

text/html

Sample:
{"userid":1,"userfullname":"sample string 2","oldpassword":"sample string 3","newpassword":"sample string 4","Token":"sample string 5"}

application/xml, text/xml

Sample:
<ValuesController.resetpassword xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers">
  <Token>sample string 5</Token>
  <newpassword>sample string 4</newpassword>
  <oldpassword>sample string 3</oldpassword>
  <userfullname>sample string 2</userfullname>
  <userid>1</userid>
</ValuesController.resetpassword>

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

Response Information

Resource Description

Dictionary of Object [key] and Object [value]

Response Formats

application/json, text/json, text/html

Sample:
{"System.Object":{},"System.Object":{}}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
</ArrayOfKeyValueOfanyTypeanyType>