MaxSignatures Api Create Sub User Account

createSignatureSubUserAccount($email)

createSignatureSubUserAccount should be called for sub user account sign up from an existing admin account. It can be retrieved via a soap request using the "createSignatureSubUserAccount" method to https://api.maxsignatures.com/DSAccount.php?wsdl.

createSignatureSubUserAccount:{
admin_account:,//Your admin account, String
admin_password:,//Your admin password, String
email:,//email address, string
common_name:,//common name, String (optional)
address:,//address, String (optional)
phone:,//phone, String (optional)
password:,//password, String
}

Response

The response comes in a soap object containing three elements.

(string) code:{//response code
000//success
001.U.A//No administrator defined or multiple administrators defined.
001.D.E//User information validation failed. User already exists in digital user table.
001.L.P//User information validation failed. Email address already exists in LDAP but password is wrong.
001.T.P//User information validation failed. Tuser account already exists but password is wrong.
002.C.E-10//Credit card validation failed. No credit card.
002.C.E-20//Credit card validation failed. Credit authorization failed.
002.C.E-30//Credit card validation failed. Void of credit authorization failed.
005.S.E//Create subscription failed.
008.G.C//Provision failed. Create group failed.
008.L.C//Provision failed. Create LDAP account failed.
008.D.C//Provision failed. Create DSUser account failed.
}
(string) message - A description of the response code
(string array) values - If create account succeed, return all the usernames.

Sample Code (using NuSoap) (PHP)

The xml for the WSDL can be found here