POST Api/Authenticate/ResetPassword

Request Information

URI Parameters

None.

Body Parameters

ResetPasswordRequest
NameDescriptionTypeAdditional information
Email

string

None.

AppUsername

string

None.

AppPassword

string

None.

PasswordResetCode

string

None.

NewPassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "AppUsername": "sample string 2",
  "AppPassword": "sample string 3",
  "PasswordResetCode": "sample string 4",
  "NewPassword": "sample string 5"
}

application/xml, text/xml

Sample:
<ResetPasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPWAssistMobileAPI.Models">
  <AppPassword>sample string 3</AppPassword>
  <AppUsername>sample string 2</AppUsername>
  <Email>sample string 1</Email>
  <NewPassword>sample string 5</NewPassword>
  <PasswordResetCode>sample string 4</PasswordResetCode>
</ResetPasswordRequest>

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

Response Information

Resource Description

ResetPasswordResponse
NameDescriptionTypeAdditional information
Username

string

None.

Password

string

None.

Success

boolean

None.

ErrorMessage

string

None.

ServerDateTime

string

None.

ErrorType

Errors

None.

Response Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Password": "sample string 2",
  "Success": true,
  "ErrorMessage": "sample string 4",
  "ServerDateTime": "sample string 5",
  "ErrorType": 0
}

application/xml, text/xml

Sample:
<ResetPasswordResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPWAssistMobileAPI.Models">
  <ErrorMessage>sample string 4</ErrorMessage>
  <ErrorType>SystemError</ErrorType>
  <ServerDateTime>sample string 5</ServerDateTime>
  <Success>true</Success>
  <Password>sample string 2</Password>
  <Username>sample string 1</Username>
</ResetPasswordResponse>