AddAccount

Overview

• Adds an account to the database via an http form post.
• A successful post will return a success message and the accountid for the new account.

Please note:
This API Function is not enabled by default in new White Label accounts. Please contact us to have this function enabled for your account.

URL

POST/api/2/AddAccount.aspx

Parameters

FieldMax LengthRequiredNotes
response_typefalseDefault results will be returned in XML
Set this field value to json to return results in JSON format
apiusernametrueAPI User Name and password are assigned by AllClients
apipasswordtrueAPI User Name and password are assigned by AllClients
email50true
password50trueYou need to assign a password, even if you are using other sign on methods
timezoneNumericfalseGMT Offset (default value is '-8.0' for Pacific Standard Time)
group50falseMust match a group in your WLCRM Control Panel.
Otherwise, first alphabetical group will be used
affiliatecode10falseMust match an affiliate code in your WLCRM Control Panel
professionalmodulefalse
featuresfalseAvailable options are Gold or Silver (default is Gold)

This new feature/field is under development – Should be released by 2/21/2013
skiptemplates1false0 (default) Copy templates from defaults
(Emails, Letters, Autoresponders, Landing Pages)
1 = Skip copying of templates
(Emails, Letters, Autoresponders, Landing Pages)
mailmerge_newsletter50falseMail Merge Profile: Newsletter Title, ie: 'John's Newsletter'
mailmerge_fullname50falseie: 'John Smith'
mailmerge_company50false
mailmerge_address60falseie: '123 Mail Street Suite A'
mailmerge_citystatezip60falseie: 'Windsor, CA 95492'
mailmerge_phone30false
mailmerge_email75false
mailmerge_website75falseUse full URL, ie: 'http://www.mywebsite.com/'
trialdays3falseFor use with Recurly Billing Integration

# of Days until Trial Expires
billingstatus20falseFor use with Recurly Billing Integration

Use an exact value from the Billing Status dropdown in the White Label Admin ( 'Trial', etc... )