Movedigital.accounts.createAccount
From MoveDigital Docs
This function creates a 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.createAccount
- username (required) - The username of the new account.
- password (required) - The password for this new account.
- confirm_password (required) - A repeat of the password.
- 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]

