createTrialAccount($email)
createTrialAccount should be called for free trial account sign up from max signature reseller site. It can be retrieved via a soap request using the "createTrialAccount" method to https://api.maxsignatures.com/DSAccount.php?wsdl.
createTrialAccountRequest:{
email:,
//email address, string
common_name:,
//common name, String (optional)
address:,
//address, String (optional)
phone:,
//phone, String (optional)
}
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