The following table describes the parameters of the AccountType type.
Parameter | Mandatory | Type | Description |
---|---|---|---|
userId | / | Integer | The user id of requested account |
userToken | / | String | The user token of the requested account |
username | / | String | Username / account login name |
password | / | String | Password for the account, this parameter is only used to create new accounts, passwords are stored encrypted and can not be retrieved |
credits | / | Integer | Credits available to the account, upon creation the credits will added to the account and will be substracted from the agency account. Upon update the credits will be adjusted to the new amount. |
previewCredits | / | Integer | Preview credits available to the account, upon creation the preview credits will added to the account and will be substracted from the agency account. Upon update the preview credits will be adjusted to the new amount. |
company | / | String | Company |
name | / | String | Name |
surname | / | String | Surname |
emailAddress | / | String | Email address |
website | / | String | Website |
address | / | String | Address |
zipCity | / | String | Zip code and city |
phone | / | String | Phone |
fax | / | String | Fax |
mobile | / | String | Mobile |
language | / | String | Language, allowed values: EN, FR, NL |
countryCode | / | String | Country code (ISO:3166-2 code) |
defaultCampaignSenderFromName | / | String | Default campaign sender from name |
defaultCampaignSenderEmailAddress | / | String | Default campaign sender email address |
defaultCampaignReplyEmailAddress | / | String | Default campaign reply email address |
allowProfile | / | Boolean | Allow profile access |
allowSettings | / | Boolean | Allow settings access |
allowContacts | / | Boolean | Allow contacts access |
allowMessages | / | Boolean | Allow messages access |
allowCampaigns | / | Boolean | Allow campaign access |
allowReports | / | Boolean | Allow reports access |