POST api/rep/validatePasswordResetKey
To validate that a password reset key is still valid
Request Information
URI Parameters
None.
Body Parameters
RepPasswordResetViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RepDID |
The Rep # of the Representative |
string |
None. |
| PasswordResetKey |
The randomized key received in the Password Reset Email |
string |
None. |
| NewPassword |
The new password input by the Representative |
string |
None. |
| UseRevolutionLink |
Whether to use the Revolution link for the login url |
boolean |
None. |
Request Formats
application/xml, text/xml
Sample:
<RepPasswordResetViewModel> <RepDID>sample string 1</RepDID> <PasswordResetKey>sample string 2</PasswordResetKey> <NewPassword>sample string 3</NewPassword> <UseRevolutionLink>True</UseRevolutionLink> </RepPasswordResetViewModel>
application/json, text/json
Sample:
{
"RepDID": "sample string 1",
"PasswordResetKey": "sample string 2",
"NewPassword": "sample string 3",
"UseRevolutionLink": true
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiResult| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccessful |
Whether the action was successful |
boolean |
None. |
| MessageTranslationKey |
A translation key for any message that is returned. It will be the first of the messages if more than one exists. |
string |
None. |
| Message |
Any message that needs to be conveyed related to the request. It will be the first of the messages if more than one exists. |
string |
None. |
| Messages |
Any message that needs to be conveyed related to the request. |
Collection of ApiResultMessage |
None. |
Response Formats
application/xml, text/xml, application/json, text/json
Sample:
Sample not available.