Support and Documentation


Important!
This documentation has been deprecated. We are migrating Oempro help articles to our new help portal. Take a look at more detailed help articles on our new help portal.

Sections:

  1. Description
  2. Oempro Version
  3. Request Parameters
  4. Response Parameters
  5. Error Codes

Admin.PasswordReset

Description

Resets admin password and sends the new password with email.

Oempro Version

Oempro v4.0 and higher versions

Request Parameters

Command = {Admin.PasswordReset} (required)
API Command
ResponseFormat = {JSON | XML} (required)
Response format
JSONPCallBack = {bool}
Send this parameter for cross-domain. More info about JSONP can be found here
AdminID = {integer} (required)
ID of the admin whose password will be reset
CustomResetLink = {string}
If you want to display a custom password reset link inside the sent email, enter it here with base64_encoded and then rawurlencoded. PHP Example: rawurlencode(base64_encode($Link))

Response Parameters

Success = {true | false}
States if there is an error or not
ErrorCode = {integer}
If there is an error, error's code

Error Codes

1
Admin ID is missing
2
Invalid admin id
99998
Authentication failure or session expired
99999
Not enough privileges

Stay connected!