Movedigital.accounts.proxy.createAccount
From MoveDigital Docs
This special API function allows a new MoveDigital to be created by a proxy user within MoveDigital. The proxy user that creates the account then has the ability to control the new account by sending its proxyid to all subsequent API calls. Note that it may only be invoked by users with the appropriate permissions which give them rights to create accounts for other users. Please contact support@movedigital.com for more details about this or if you are interested in adding account creation priveleges to your MoveDigital account.
| Table of contents |
[edit]
Arguments
Calls are POSTed to https://secure.movedigital.com/services/rest/ and should include the following arguments
- method (required) - Must be set to: movedigital.accounts.proxy.createAccount
- userid (required) - The userid of the MoveDigital account being used to create the new account.
- sessionid (required) - The sessionid for the current session for the userid.
- session (required) - The session value for the associated sessionid.
- username (required) - The username of the new account.
- password (required but ignored) - Though required, this field is currently ignored. Prodigem creates a temporary password for the new user account and emails it to the new user.
- confirm_password (required but ignored) - Though required, this field is currently ignored.
- email (required) - The email address associated with the new account.
- eula_agree (required) - The new account holder's agreement with Prodigem's usage policy. Should be set to 'yes' or 'no'.
- firstname (optional) - The first name for the new account.
- lastname (optional) - The last name for the new account.
- security_question (optional) - The question you should be asked when attempting to reset your password.
- security_answer (optional) - The answer to the security question.
- updates (optional) - Whether the user should get MoveDigital update emails. Should be set to 'on' or 'off'.
- website (optional) - The website/blog URL for this user.
[edit]
Example Responses
- Success
<?xml version="1.0" encoding="utf-8" ?> <rsp stat="ok"> <method>movedigital.accounts.createAccount</method> <format>rest</format> <userid>1000</userid> <messages> <message msg="Successfully created account." /> </messages> </rsp>
- Error
<?xml version="1.0" encoding="utf-8" ?> <rsp stat="fail"> <method>movedigital.accounts.createAccount</method> <errors> <error code="104" msg="This username is already being used by another user." /> </errors> </rsp>
[edit]
Error Codes
- 98 - Insufficient permissions.
- 99 - User not signed in.
- 104 - Username already exists.
- 106 - Some data was missing or invalid.
- 108 - Internal error.
- 109 - Service is currently unavailable.
- 111 - Method must be accessed via SSL.
[edit]

