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.Update

Description

Update admin account information

Oempro Version

Oempro v4.0 and higher versions

Request Parameters

SessionID = {string} (required)
Session ID which is needed to authenticate the access. It's optional and required for desktop applications only
Command = {Admin.Update} (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 number of the admin account
Username = {string} (required)
Username of the admin account
Password = {string} (required)
Password of the admin account
EmailAddress = {string} (required)
Email address of the admin account
Name = {string} (required)
Name of the admin account

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 name is missing
2
Admin username is missing
3
Admin password is missing
4
Admin email address is missing
5
(reserved)
6
Admin ID is missing
7
Email address format is invalid
8
You are not authorized to update another admin account
99998
Authentication failure or session expired
99999
Not enough privileges

Stay connected!