GET api/mobile/userpasswordreset?userID={userID}&token={token}&oldPassword={oldPassword}&newPassword={newPassword}
Reset a password
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userID |
The user id returned after login used for authentication |
unsigned integer |
Required |
| token |
The token returned after login used for authentication |
string |
Required |
| oldPassword |
The old password |
string |
Required |
| newPassword |
The new password |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
UserPasswordResetRequestResponse
UserPasswordResetRequestResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Result |
Will be true if password reset was accepted |
boolean |
None. |
| ErrorCode |
Any errors which may have occurred |
WebserviceErrorCode |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": true,
"ErrorCode": 0
}
application/xml, text/xml
Sample:
<UserPasswordResetRequestResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Result>true</Result> <ErrorCode>None</ErrorCode> </UserPasswordResetRequestResponse>