ActiveCampaign Connector for CData Sync

Build 24.0.9175
  • ActiveCampaign
    • Establishing a Connection
    • Data Model
      • Tables
        • AccountContacts
        • AccountCustomFieldData
        • Accounts
        • ContactCustomFieldData
        • Contacts
        • DealCustomFieldData
        • DealGroups
        • Deals
        • DealStages
        • Tasks
      • Views
        • Addresses
        • Automations
        • Campaigns
        • ContactAutomations
        • ContactLists
        • ContactTags
        • DealActivities
        • Lists
        • Scores
        • Tags
        • TrackingLogs
        • Users
    • Connection String Options
      • Authentication
        • APIKey
        • URL
      • SSL
        • SSLServerCert
      • Firewall
        • FirewallType
        • FirewallServer
        • FirewallPort
        • FirewallUser
        • FirewallPassword
      • Proxy
        • ProxyAutoDetect
        • ProxyServer
        • ProxyPort
        • ProxyAuthScheme
        • ProxyUser
        • ProxyPassword
        • ProxySSLType
        • ProxyExceptions
      • Logging
        • LogModules
      • Schema
        • Location
        • BrowsableSchemas
        • Tables
        • Views
      • Miscellaneous
        • MaxRows
        • Other
        • Pagesize
        • PaginationMode
        • PseudoColumns
        • Timeout
        • UserDefinedViews

ActiveCampaign Connector for CData Sync

Overview

The CData Sync App provides a straightforward way to continuously pipeline your ActiveCampaign data to any database, data lake, or data warehouse, making it easily available for Analytics, Reporting, AI, and Machine Learning.

The ActiveCampaign connector can be used from the CData Sync application to pull data from ActiveCampaign and move it to any of the supported destinations.

ActiveCampaign Version Support

The Sync App leverages version 3 of the ActiveCampaign API to enable bidirectional access to ActiveCampaign data.

ActiveCampaign Connector for CData Sync

Establishing a Connection

Adding a Connection to ActiveCampaign

To add a connection to ActiveCampaign:

  1. In the application console, navigate to the Connections page.
  2. At the Add Connections panel, select the icon for the connection you want to add.
  3. If the ActiveCampaign icon is not available, click the Add More icon to download and install the ActiveCampaign connector from the CData site.

For required properties, see the Settings tab.

For connection properties that are not typically required, see the Advanced tab.

Connecting to ActiveCampaign

ActiveCampaign supports authenticating with the API Key. To connect to ActiveCampaign, in your account navigate to the Developer page and set the following:

  • URL: Navigate to the My Settings page to set this property. For example: https://<yourAccountName>.api-us1.com
  • APIKey: Navigate to the Settings page to set this property. Each user in your ActiveCampaign account has their own unique API key.

Make sure to distinguish between My Settings and Settings when setting these properties.

ActiveCampaign Connector for CData Sync

Data Model

Overview

The Sync App models ActiveCampaign resources like Contacts, Accounts as relational tables, allowing you to write SQL to query ActiveCampaign data.

Live connectivity to these objects means any changes to your ActiveCampaign account are immediately reflected when using the Sync App.

Views

Views are tables that cannot be modified. Typically, data that are read-only and cannot be updated are shown as views.

Dynamic Views

Along with the default static views, the Sync App also allows querying on dynamic views.

These are views that are created based on the "lists" (also called "audiences") in your ActiveCampaign account.
For example, suppose you have these 3 lists in your account: Master Contact List, New Audience, VIP List.

The Sync App lists 3 views based on them: List_MasterList, List_New Audience, List_VIP List.
The views return data about each contact that is a member of that specific list.

Tables

Tables describes the available tables. Tables are statically defined to model resources like Accounts, Deals, DealGroups, DealStages, Tasks, etc.

The Sync App also supports querying tables like AccountCustomFieldData, DealCustomFieldData, ContactCustomFieldData which represent custom field data information.

Additionally, the Sync App supports updating, inserting custom fields data from the main resource (available for the Accounts, Contacts, Deals tables) where custom fields are dynamically appended as main resource columns. See the specific table section for more information.

ActiveCampaign Connector for CData Sync

Tables

The Sync App models the data in ActiveCampaign as a list of tables in a relational database that can be queried using standard SQL statements.

ActiveCampaign Connector for CData Sync Tables

Name Description
AccountContacts Usage information for the operation AccountContacts.rsd.
AccountCustomFieldData Create, modify, delete and query the available deal custom field data in ActiveCampaign.
Accounts View many or all contacts by including their ID's or various filters.
ContactCustomFieldData Create, modify, delete and query the available contact custom field data in ActiveCampaign.
Contacts View many or all contacts by including their ID's or various filters.
DealCustomFieldData Create, modify, delete and query the available deal custom field data in ActiveCampaign.
DealGroups Lists all existing accounts.
Deals Usage information for the operation Deals.rsd.
DealStages Usage information for the operation DealStages.rsd.
Tasks Lists all existing accounts.

ActiveCampaign Connector for CData Sync

AccountContacts

Usage information for the operation AccountContacts.rsd.

Table Specific Information

Select

The Sync App uses the ActiveCampaign API to process some of the filters.

For example, the following queries are processed server side:

SELECT * FROM AccountContacts WHERE Id = 10003

SELECT * FROM AccountContacts WHERE AccountId = 1 AND ContactId = 100

Insert

Inserting an account-contact association requires specifying a value for the AccountId and ContactId columns.

INSERT INTO AccountContacts (AccountId, ContactId) VALUES (2, 300)

INSERT INTO AccountContacts (AccountId, ContactId, Jobtitle) VALUES (2, 300, 'nurse')

Update

The driver supports updating account-contact information.

UPDATE AccountContacts SET ContactId = 3, JobTitle = 'updatedJobTitle' WHERE Id = 1

UPDATE AccountContacts SET JobTitle = 'updatedJobTitle' WHERE AccountId = 1

Delete

Remove all account-contacts association or an association by specifying the Id of the association.

DELETE FROM AccountContacts WHERE Id = 10003

Columns

Name Type ReadOnly Description
Id [KEY] String True

The Id of the account-contact association.

AccountId String False

The account Id.

ContactId String False

The contact Id.

CreatedTimestamp Datetime True

Datetime value which indicates when the assosiaction was created.

JobTitle String False

Job Title of the contact at the account.

AccountLink String True

Account link.

ContactLink String True

Contact link.

UpdatedTimestamp Datetime True

Datetime value which indicates when the assosiaction was last updated.

ActiveCampaign Connector for CData Sync

AccountCustomFieldData

Create, modify, delete and query the available deal custom field data in ActiveCampaign.

Table Specific Information

Select

The Sync App uses the ActiveCampaign API to process some of the filters.

For example, the following queries are processed server side:

SELECT * FROM AccountCustomFieldData WHERE Id = 10003

SELECT * FROM AccountCustomFieldData WHERE AccountId = 1

Insert

Inserting an account custom field data requires specifying a value for the AccountId, CustomFieldId, FieldValue columns.

Additionally, the Sync App supports inserting account custom fields data from the Accounts table. See Accounts for more information.

INSERT INTO AccountCustomFieldData (FieldValue, CustomFieldId, AccountId) VALUES ('custom field value', 1, 5)

Update

The Sync App supports updating account custom field data information. Updating an account custom field data requires specifying a value for the Id and CustomFieldId columns.

Additionally, it is possible to update account custom fields data from the Accounts table.

UPDATE AccountCustomFieldData SET FieldValue = 'Custom Field Value' WHERE Id = 13 AND CustomFieldId = 1

Delete

The Sync App supports removing accounts' custom field data.

DELETE FROM AccountcustomFieldData WHERE Id = 10

Columns

Name Type ReadOnly Description
Id [KEY] String True

The Id of the account custom field data.

AccountCustomFieldMetumId Integer True

The custom field metum Id.

AccountId Integer False

The ID of the account the field value relates to.

CreatedTimestamp Datetime True

Datetime value that indicates when the custom field value was set.

CustomFieldId Integer False

The ID of the custom field metum the field value relates to.

CustomFieldName String True

The name of the custom field metum the field value relates to.

FieldValue String False

Values for the field. (For currency field only, this needs to be in cents: eg, 10050 = 100.5).

AccountLink String True

Account link.

AccountCustomFieldMetumLink String True

AccountCustomFieldMetum link.

UpdatedTimestamp Datetime True

Datetime value which indicates when the custom field data was last updated.

FieldCurrency String False

Value of the custom field currency type for a specific contact. This field is required when inserting currency custom fields.

ActiveCampaign Connector for CData Sync

Accounts

View many or all contacts by including their ID's or various filters.

Table Specific Information

Select

The Sync App uses the ActiveCampaign API to process some of the filters.

For example, the following queries are processed server side:

SELECT * FROM Accounts WHERE Id = 10003

SELECT * FROM Accounts WHERE Name = 'testAccount'

As a note, due to server-side performance issues, even when the property IncludeCustomFields is set to TRUE, the custom fields will appear only in the table schema with null values. To retrieve the values of the custom fields, please refer to the AccountCustomFieldData table.

Insert

Inserting an account requires specifying the account name.

INSERT INTO Accounts (Name) VALUES ('testAccount2')

INSERT INTO Accounts (Name, AccountUrl) VALUES ('account', 'http://accountUrl.com/')

Additionally, the Sync App supports inserting account and account custom fields data from the Accounts table. All custom field columns start with CF_.

INSERT INTO Accounts (Name, CF_Description, CF_Hidden, CF_Number) VALUES ('testAccount3', 'custom field value', 'custom field value', 123)

Update

The Sync App supports updating account information.

Additionally, it is possible to update account custom fields data from the Accounts table.

UPDATE Accounts SET Name = 'updatedName', AccountUrl = 'http://updatedAccountUrl.com/' WHERE Id = 1

UPDATE Accounts SET Name = 'updatedName', CF_Description = 'custom field value', CF_Hidden = 'custom field value' WHERE Id = 1

Delete

Remove all accounts or an account by specifying the Id of the account.

DELETE FROM Accounts WHERE Id = 10003

Columns

Name Type ReadOnly Description
Id [KEY] String True

The Id column of the Accounts table.

AccountUrl String False

Account's website.

ContactCount Integer True

The ContactCount column of the Accounts table.

CreatedTimestamp Datetime True

The CreatedTimestamp column of the Accounts table.

DealCount Integer True

The DealCount column of the Accounts table.

AccountContactsLink String True

The AccountContactsLink column of the Accounts table.

AccountCustomFieldDataLink String True

The AccountCustomFieldDataLink column of the Accounts table.

ContactEmailsLink String True

The ContactEmailsLink column of the Accounts table.

EmailActivitiesLink String True

The EmailActivitiesLink column of the Accounts table.

NotesLink String True

The NotesLink column of the Accounts table.

Name String False

Account's name.

UpdatedTimestamp Datetime True

The UpdatedTimestamp column of the Accounts table.

ActiveCampaign Connector for CData Sync

ContactCustomFieldData

Create, modify, delete and query the available contact custom field data in ActiveCampaign.

Table Specific Information

Select

The Sync App uses the ActiveCampaign API to process some of the filters.

For example, the following queries are processed server side:

SELECT * FROM ContactCustomFieldData WHERE Id = 10003

SELECT * FROM ContactCustomFieldData WHERE FieldValue = 'custom field value'

Insert

Inserting a contact custom field data requires specifying a value for the ContactId, FieldId, FieldValue columns.

Additionally, the Sync App supports inserting contact custom fields data from the Contacts table. See Contacts for more information.

INSERT INTO ContactCustomFieldData (FieldValue, FieldId, ContactId) VALUES ('custom field value', 1, 5)

Update

The Sync App supports updating contact custom field data information. Updating contact custom field data requires specifying a value for the Id, ContactId and FieldId columns.

Additionally, it is possible to update contact custom fields data from the Contacts table.

UPDATE ContactCustomFieldData SET FieldValue = 'custom field value' WHERE Id = 8 AND ContactId = 3 AND FieldId = 2"

Delete

The Sync App supports removing contact custom field data.

DELETE FROM ContactCustomFieldData WHERE Id = 10

Columns

Name Type ReadOnly Description
Id [KEY] String False

The Id column of the ContactCustomFieldData table.

CDate Datetime False

The CDate column of the ContactCustomFieldData table.

ContactId String False

The ContactId column of the ContactCustomFieldData table.

CustomFieldName String True

The name of the custom field metum the field value relates to.

FieldId String False

ID of the field the value belongs to.

FieldLink String False

The FieldLink column of the ContactCustomFieldData table.

OwnerLink String False

The OwnerLink column of the ContactCustomFieldData table.

Owner String False

The Owner column of the ContactCustomFieldData table.

Udate Datetime False

The Udate column of the ContactCustomFieldData table.

FieldValue String False

Value of the custom field for a specific contact.

ActiveCampaign Connector for CData Sync

Contacts

View many or all contacts by including their ID's or various filters.

Table Specific Information

Select

The Sync App uses the ActiveCampaign API to process some of the filters.

For example, the following queries are processed server side:

SELECT * FROM Contacts WHERE Id = 10

SELECT * FROM Contacts WHERE Udate >= '2019-06-30T10:44:34-05:00'

SELECT * FROM Contacts WHERE Udate <= '2021-06-30T10:44:34-05:00'

SELECT * FROM Contacts WHERE Cdate >= '2019-06-30T10:44:34-05:00' AND Cdate <= '2021-06-30T10:44:34-05:00'

As a note, due to server-side performance issues, even when the property IncludeCustomFields is set to TRUE, the custom fields will appear only in the table schema with null values. To retrieve the values of the custom fields, please refer to the ContactCustomFieldData table.

Insert

Inserting a contact requires specifying the contact email.

INSERT INTO Contacts (Email) VALUES ('[email protected]')

INSERT INTO Contacts (Email, FirstName, LastName, Phone) VALUES ('[email protected]', 'test', 'test', 'contactphonenumber')

Additionally, the Sync App supports inserting contact and contact custom fields data from the Contacts table. All custom field columns start with CF_.

INSERT INTO Contacts (Name, CF_Description, CF_Hidden, CF_Number) VALUES ('testcontact3', 'custom field value', 'custom field value', 123)

Update

The Sync App supports updating contact information.

Additionally, it is possible to update contact custom fields data from the Contacts table.

UPDATE Contacts SET FirstName = 'updatedName' WHERE Id = 1

UPDATE Contacts SET CF_CustomField1 = 'custom field value', CF_CustomField2 = 'custom field value' WHERE Id = 1

Bulk Import Contacts

The Sync App supports uploading large numbers of contacts into your account. This operation includes:

  • Creating new contacts
  • Updating existing contacts
  • Subscribing and unsubscribing from lists

Contacts are imported in batches of up to 250 items. The importer is not recommended to be used for a small number of contacts. You can import contacts as below:

INSERT INTO Contacts#TEMP (Email) VALUES ('[email protected]')

INSERT INTO Contacts#TEMP (Email) VALUES ('[email protected]')

UPSERT INTO Contacts (Email) SELECT Email FROM Contacts#TEMP

Additionally, the Sync App supports BULK INSERT for the Contacts table. Please note this operation will cause a cost in performance as the Sync App validates if the submitted contacts exist before importing them.

INSERT INTO Contacts#TEMP (Email) VALUES ('[email protected]')

INSERT INTO Contacts#TEMP (Email) VALUES ('[email protected]')

INSERT INTO Contacts (Email) SELECT Email FROM Contacts#TEMP

To subscribe and unsubscribe contacts from a specific list set a value for the SubscribeTo and/or UnsubcribeFrom columns which accept a comma-separated list of list ids. For example:

INSERT INTO Contacts#TEMP (Email, SubscribeTo, UnsubcribeFrom) VALUES ('[email protected]', '1,2', '6,12')

INSERT INTO Contacts#TEMP (Email, SubscribeTo, UnsubcribeFrom) VALUES ('[email protected]', '3,7', '6,1')

UPSERT INTO Contacts (Email, SubscribeTo, UnsubcribeFrom) SELECT Email, SubscribeTo, UnsubcribeFrom FROM Contacts#TEMP

Contacts must meet all the following criteria in order to be created or updated with this API:

  • The imported contacts may not exceed your account limit
  • The contact must have an email address
  • The contact's email address must not be on an exclusion list
  • The contact's email must not be on a list of bounced email addresses
  • The contact must not have unsubscribed to a list that the import would add them to

If contacts do not meet all of these requirements, they will be skipped by the importer.

Delete

Remove all contacts or a contact by specifying the Id of the contact.

DELETE FROM Contacts WHERE Id = 10003

Columns

Name Type ReadOnly Description
Id [KEY] String True

The Id column of the Contacts table.

Adate Datetime True

The Adate column of the Contacts table.

Anonymized String True

The Anonymized column of the Contacts table.

BouncedDate String True

The BouncedDate column of the Contacts table.

BouncedHard String True

The BouncedHard column of the Contacts table.

BouncedSoft String True

The BouncedSoft column of the Contacts table.

Cdate Datetime True

The Cdate column of the Contacts table.

CreatedBy String True

The CreatedBy column of the Contacts table.

CreatedTimestamp Datetime True

The CreatedTimestamp column of the Contacts table.

CreatedUtcTimestamp Datetime True

The CreatedUtcTimestamp column of the Contacts table.

Deleted String True

The Deleted column of the Contacts table.

DeletedAt String True

The DeletedAt column of the Contacts table.

Edate Datetime True

The Edate column of the Contacts table.

Email String False

The Email column of the Contacts table.

EmailDomain String True

The EmailDomain column of the Contacts table.

EmailEmpty Boolean True

The EmailEmpty column of the Contacts table.

EmailLocal String True

The EmailLocal column of the Contacts table.

FirstName String False

The FirstName column of the Contacts table.

Gravatar String True

The Gravatar column of the Contacts table.

Hash String True

The Hash column of the Contacts table.

Ip String True

The Ip column of the Contacts table.

LastName String False

The LastName column of the Contacts table.

AccountContactsLink String True

The AccountContactsLink column of the Contacts table.

AutomationEntryCountsLink String True

The AutomationEntryCountsLink column of the Contacts table.

BounceLogsLink String True

The BounceLogsLink column of the Contacts table.

ContactAutomationsLink String True

The ContactAutomationsLink column of the Contacts table.

ContactDataLink String True

The ContactDataLink column of the Contacts table.

ContactDealsLink String True

The ContactDealsLink column of the Contacts table.

ContactGoalsLink String True

The ContactGoalsLink column of the Contacts table.

ContactListsLink String True

The ContactListsLink column of the Contacts table.

ContactLogsLink String True

The ContactLogsLink column of the Contacts table.

ContactTagsLink String True

The ContactTagsLink column of the Contacts table.

DealsLink String True

The DealsLink column of the Contacts table.

FieldValuesLink String True

The FieldValuesLink column of the Contacts table.

GeoIpsLink String True

The GeoIpsLink column of the Contacts table.

NotesLink String True

The NotesLink column of the Contacts table.

OrganizationLink String True

The OrganizationLink column of the Contacts table.

PlusAppendLink String True

The PlusAppendLink column of the Contacts table.

ScoreValuesLink String True

The ScoreValuesLink column of the Contacts table.

TrackingLogsLink String True

The TrackingLogsLink column of the Contacts table.

Organization String True

The Organization column of the Contacts table.

Orgname String True

The Orgname column of the Contacts table.

Phone String False

The Phone column of the Contacts table.

RatingTStamp String True

The RatingTStamp column of the Contacts table.

SegmentioId String True

The SegmentioId column of the Contacts table.

Sentcnt String True

The Sentcnt column of the Contacts table.

SocialdataLastcheck String True

The SocialdataLastcheck column of the Contacts table.

Ua String True

The Ua column of the Contacts table.

Udate Datetime True

The Udate column of the Contacts table.

UpdatedTimestamp String True

The UpdatedTimestamp column of the Contacts table.

Updated_by String True

The Updated_by column of the Contacts table.

SubscribeTo String False

Comma-separated list of list Ids to subscribe a contact to.

UnsubscribeFrom String False

Comma-separated list of list Ids to unsubscribe a contact from.

ActiveCampaign Connector for CData Sync

DealCustomFieldData

Create, modify, delete and query the available deal custom field data in ActiveCampaign.

Table Specific Information

Select

The Sync App uses the ActiveCampaign API to process some of the filters.

For example, the following queries are processed server side:

SELECT * FROM DealCustomFieldData WHERE Id = 10003

SELECT * FROM DealCustomFieldData WHERE DealId = 1

Insert

Inserting a deal custom field data requires specifying a value for the DealId, CustomFieldId, and FieldValue columns.

Additionally, the Sync App supports inserting deal custom fields data from the Deals table. See Deals for more information.

INSERT INTO DealCustomFieldData (FieldValue, CustomFieldId, DealId) VALUES ('custom field value', 1, 5)

Update

The Sync App supports updating deal custom field data information. Updating deal custom field data requires specifying a value for the Id, DealId and CustomFieldId columns.

Additionally, it is possible to update deal custom fields data from the Deals table.

UPDATE DealCustomFieldData SET FieldValue = 'custom field value' WHERE Id = 8 AND DealId = 3 AND CustomFieldId = 2

Delete

The Sync App supports removing deal custom field data.

DELETE FROM DealCustomFieldData WHERE Id = 10

Columns

Name Type ReadOnly Description
Id [KEY] String False

The Id column of the DealCustomFieldData table.

CreatedTimestamp Datetime False

The CreatedTimestamp column of the DealCustomFieldData table.

CustomFieldName String True

The name of the custom field metum the field value relates to.

CustomFieldId Integer False

The CustomFieldId column of the DealCustomFieldData table.

DealCustomFieldMetumId Integer False

The DealCustomFieldMetumId column of the DealCustomFieldData table.

DealId Integer False

The DealId column of the DealCustomFieldData table.

FieldValue String False

The FieldValue column of the DealCustomFieldData table.

DealLink String False

The DealLink column of the DealCustomFieldData table.

DealCustomFieldMetumLink String False

The DealCustomFieldMetumLink column of the DealCustomFieldData table.

UpdatedTimestamp Datetime False

The UpdatedTimestamp column of the DealCustomFieldData.

FieldCurrency String False

Value of the custom field currency type for a specific deal. This field is required when inserting currency custom fields.

FieldType String False

Value of the custom field currency type for a specific deal. This field is required when inserting currency custom fields.

ActiveCampaign Connector for CData Sync

DealGroups

Lists all existing accounts.

Table Specific Information

Select

The Sync App uses the ActiveCampaign API to process some of the filters.

For example, the following queries are processed server side:

SELECT * FROM DealGroups WHERE Id = 10003

SELECT * FROM DealGroups WHERE Title = 'title'

Insert

Inserting a pipeline/dealgroup requires specifying a value for the Currency, Title columns.

INSERT INTO DealGroups (Currency, Title) VALUES (2, 300)

INSERT INTO DealGroups (Currency, Title, AutoAssign, AllUsers, AllGroups) VALUES ('USD', 'title', 1, 0, 1)

Update

The Sync App supports updating pipeline/dealgroup information.

UPDATE DealGroups SET AllUsers = 0, AllGroups = 1, Currency = 'EUR' WHERE Id = 1

Delete

Remove all pipelines or a pipeline by specifying the Id of the dealgroup.

DELETE FROM DealGroups WHERE Id = 10003

Columns

Name Type ReadOnly Description
Id [KEY] String True

The pipeline Id.

AllGroups String False

The AllGroups column of the DealGroups table. Indicates whether all user groups have permission to manage this pipeline. Can be either 1 or 0. If 1, all user groups can manage this pipeline. If 0, only user groups in dealGroup.groups parameter can manage this pipeline.

AllUsers String False

The AllUsers column of the DealGroups table. Indicates whether new deals get auto-assigned to all users. Can be either 1 or 0. If 1, new deals are auto-assigned to all users unless auto-assign is disabled. If 0, new deals are auto-assigned to only the users in dealGroup.users parameter.

AutoAssign String False

The AutoAssign column of the DealGroups table. Deal auto-assign option. Can be one of 0, 1, and 2. If 0, auto-assign is disabled. If 1, Round Robin method is used to auto-assign new deals. If 2, deals are distributed based on deal values.

Cdate Datetime True

The Cdate column of the DealGroups table.

Currency String False

The Currency column of the DealGroups table.

DealGroupGroupsLink String True

The DealGroupGroupsLink column of the DealGroups table.

DealGroupUsersLink String True

The DealGroupUsersLink column of the DealGroups table.

StagesLink String True

The StagesLink column of the DealGroups table.

Stages String True

The Stages column of the DealGroups table.

Title String False

Pipeline's title.

Udate Datetime True

The Udate column of the DealGroups table.

ActiveCampaign Connector for CData Sync

Deals

Usage information for the operation Deals.rsd.

Table Specific Information

Select

The Sync App uses the ActiveCampaign API to process some of the filters.

For example, the following queries are processed server side:

SELECT * FROM Deals WHERE Id = 10

SELECT * FROM Deals WHERE GroupId = 1

SELECT * FROM Deals WHERE OwnerId = 1

SELECT * FROM Deals WHERE Stage = 1 AND Title = 'title'

As a note, due to server-side performance issues, even when the property IncludeCustomFields is set to TRUE, the custom fields will appear only in the table schema with null values. To retrieve the values of the custom fields, please refer to the DealCustomFieldData table.

Insert

Inserting a deal requires specifying a value for the GroupId, Stage, OwnerId, Title, Value, Currency columns and a value for AccountId or ContactId column.

INSERT INTO Deals (AccountId, GroupId, Stage, OwnerId, Title, Value, Currency) VALUES (1, 1, 1, 1, 'title', 100, 'USD')

INSERT INTO Deals (Email, FirstName, LastName, Phone) VALUES ('[email protected]', 'test', 'test', 'dealphonenumber')

Additionally, the Sync App supports inserting deal and deal custom fields data from the Deals table. All custom field columns start with CF_.

INSERT INTO Deals (AccountId, GroupId, Stage, OwnerId, Title, Value, Currency, CF_CustomField1, CF_CustomField2, CF_CustomField3) VALUES (1, 1, 1, 1, 'title', 100, 'USD', 'value', 'value', 'value')

Update

The Sync App supports updating deal information.

Additionally, it is possible to update deal custom fields data from the Deals table.

UPDATE Deals SET Title = 'updatedTitle' WHERE Id = 1

UPDATE Deals SET CF_CustomField1 = 'custom field value', CF_CustomField2 = 'custom field value' WHERE Id = 1

Delete

Remove all deals or a deal by specifying the Id of the deal.

DELETE FROM Deals

DELETE FROM Deals WHERE Id = 10003

Columns

Name Type ReadOnly Description
Id [KEY] String True

The Id column of the Deals table.

AccountId String False

The AccountId column of the Deals table.

ActivityCount String True

The ActivityCount column of the Deals table.

Cdate Datetime True

The Cdate column of the Deals table.

ContactId String False

Deal's primary contact's Id.

Currency String False

Deal's currency in 3-digit ISO format, lowercased.

CustomerAccount String True

The CustomerAccount column of the Deals table.

Description String False

The Description column of the Deals table.

Edate String True

The Edate column of the Deals table.

Group String False

Deal's pipeline Id. Required if deal.stage is not provided. If deal.group is not provided, the stage's pipeline will be assigned to the deal automatically.

Hash String True

The Hash column of the Deals table.

IsDisabled String True

The IsDisabled column of the Deals table.

AccountLink String True

The AccountLink column of the Deals table.

ContactLink String True

The ContactLink column of the Deals table.

ContactDealsLink String True

The ContactDealsLink column of the Deals table.

CustomerAccountLink String True

The CustomerAccountLink column of the Deals table.

DealActivitiesLink String True

The DealActivitiesLink column of the Deals table.

DealCustomFieldDataLink String True

The DealCustomFieldDataLink column of the Deals table.

GroupLink String True

The GroupLink column of the Deals table.

NextTaskLink String True

The NextTaskLink column of the Deals table.

NotesLink String True

The NotesLink column of the Deals table.

OrganizationLink String True

The OrganizationLink column of the Deals table.

OwnerLink String True

The OwnerLink column of the Deals table.

ScoreValuesLink String True

The ScoreValuesLink column of the Deals table.

StageLink String True

The StageLink column of the Deals table.

TasksLink String True

The TasksLink column of the Deals table.

Mdate Datetime True

The Mdate column of the Deals table.

NextTask String True

The NextTask column of the Deals table.

NextDate Datetime True

The NextDate column of the Deals table.

NextDealId String True

The NextDealId column of the Deals table.

NextTaskId String True

The NextTaskId column of the Deals table.

Organization String True

The Organization column of the Deals table.

Owner String False

Deal's owner Id. Required if pipeline's auto-assign option is disabled.

Percent String False

The Percent column of the Deals table.

Stage String False

Deal's stage Id. Required if deal.group is not provided. If deal.stage is not provided, the deal will be assigned with the first stage in the pipeline provided in deal.group.

Status String False

The Status column of the Deals table.

Title String False

The Title column of the Deals table.

Value String False

Deal's value in cents.

WinProbability Integer True

The WinProbability column of the Deals table.

WinProbabilityMdate Datetime True

The WinProbabilityMdate column of the Deals table.

ActiveCampaign Connector for CData Sync

DealStages

Usage information for the operation DealStages.rsd.

Table Specific Information

Select

The Sync App uses the ActiveCampaign API to process some of the filters.

For example, the following queries are processed server side:

SELECT * FROM DealStages WHERE Id = 10003

SELECT * FROM DealStages WHERE Title = 'title' AND GroupId = 1

Insert

Inserting a stage requires specifying a value for the GroupId, Title columns.

INSERT INTO DealStages (GroupId, Title) VALUES (2, 'title')

INSERT INTO DealStages (Title, GroupId, OrderId, CardRegion3, Color, Width) VALUES ('TestStage', 1, 2, 'hide-avatar', '434343', '280')

Update

The Sync App supports updating stage/dealstage information.

UPDATE DealStages SET Title = 'updatedTitle' WHERE Id = 1

Delete

Remove all stages or a stage by specifying the Id of the stage.

DELETE FROM DealStages WHERE Id = 10003

Columns

Name Type ReadOnly Description
Id [KEY] String True

The Id column of the DealStages table.

CardRegion1 String False

The CardRegion1 column of the DealStages table. Indicates what to show in upper-left corner of Deal Cards.

CardRegion2 String False

The CardRegion2 column of the DealStages table. Indicates what to show in upper-right corner of Deal Cards.

CardRegion3 String False

The CardRegion3 column of the DealStages table. Indicates whether to show the avatar in Deal Cards. Can be one of show-avatar and hide-avatar. If set to show-avatar, deal cards will show the avatars. If set to hide-avatar, deal cards will hide the avatars.

CardRegion4 String False

The CardRegion4 column of the DealStages table. Indicates what to show next to the avatar in Deal Cards.

CardRegion5 String False

The CardRegion5 column of the DealStages table. Indicates what to show in lower-right corner of Deal Cards.

Cdate Datetime True

The Cdate column of the DealStages table.

Color String False

Deal Stage's color. 6-character HEX color code without the hashtag. e.g. 434343 to assign the hex color value #434343.

DealOrder String False

Option and direction to be used to sort deals in the deal stage. The option and direction should be delimited by a space. Direction can be either.

GroupId String False

The GroupId column of the DealStages table.

GroupLink String True

The GroupLink column of the DealStages table.

OrderId String False

The OrderId column of the DealStages table.

Title String False

The Title column of the DealStages table.

Udate Datetime True

The Udate column of the DealStages table.

Width String False

Deal stage's width in pixels, without px unit.

ActiveCampaign Connector for CData Sync

Tasks

Lists all existing accounts.

Table Specific Information

Select

The Sync App uses the ActiveCampaign API to process some of the filters.

For example, the following queries are processed server side:

SELECT * FROM Tasks WHERE Id = 10003

SELECT * FROM Tasks WHERE DealTaskType = 1 

SELECT * FROM Tasks WHERE DueDate >= '2019-06-30T10:44:34-05:00'

SELECT * FROM Tasks WHERE DueDate <= '2021-06-30T10:44:34-05:00'

SELECT * FROM Tasks WHERE OutcomeId = 1 AND RelId = 1 AND Status = 1

Insert

Inserting a stage requires specifying a value for the DealTaskType, DueDate, Relid columns.

INSERT INTO Tasks (DealTaskType, DueDate, Relid) VALUES (2, '2021-06-30T10:44:34-05:00', 7)

Update

The Sync App supports updating stage/dealstage information.

UPDATE Tasks SET Title = 'updatedTitle' WHERE Id = 1

Delete

Remove all stages or a stage by specifying the Id of the stage.

DELETE FROM Tasks WHERE Id = 10003

Columns

Name Type ReadOnly Description
Id [KEY] String True

The Id column of the Tasks table.

Assignee String False

The Assignee column of the Tasks table.

Automation String True

The Automation column of the Tasks table.

Cdate Datetime True

The Cdate column of the Tasks table.

DealTaskType String False

The type of the task based on the available Task Types in the account.

DoneAutomation String False

The DoneAutomation column of the Tasks table.

DueDate Datetime False

Due date of the task.

Edate Datetime True

The Edate column of the Tasks table.

ActivitiesLink String True

The ActivitiesLink column of the Tasks table.

AssigneeLink String True

The AssigneeLink column of the Tasks table.

AutomationLink String True

The AutomationLink column of the Tasks table.

DealTasktypeLink String True

The DealTasktypeLink column of the Tasks table.

DoneAutomationLink String True

The DoneAutomationLink column of the Tasks table.

NotesLink String True

The NotesLink column of the Tasks table.

OwnerLink String True

The OwnerLink column of the Tasks table.

TaskNotificationsLink String True

The TaskNotificationsLink column of the Tasks table.

UserLink String True

The UserLink column of the Tasks table.

Note String False

The content describing the task.

OutcomeId Integer False

The OutcomeId column of the Tasks table.

OutcomeInfo String False

The OutcomeInfo column of the Tasks table.

OwnerId String True

The OwnerId column of the Tasks table.

OwnerType String False

The name of the relating object. Valid values are contact or deal.

Relid String False

The Id of the relational object for this task.

Reltype String True

The Reltype column of the Tasks table.

Status Integer False

The Status column of the Tasks table. 1 is complete and 0 is incomplete..

Title String False

The Title column of the Tasks table.

Udate Datetime True

The Udate column of the Tasks table.

User String True

The User column of the Tasks table.

ActiveCampaign Connector for CData Sync

Views

Views are similar to tables in the way that data is represented; however, views are read-only.

Queries can be executed against a view as if it were a normal table.

ActiveCampaign Connector for CData Sync Views

Name Description
Addresses Usage information for the operation Addresses.rsd.
Automations Usage information for the operation Automations.rsd.
Campaigns Query the campaigns information in ActiveCampaign.
ContactAutomations View many or all contacts by including their ID's or various filters.
ContactLists Retrieve ContactList for each contact Group or for the specific Contact group.
ContactTags Retrieve tags added for each contact or for the specific Contact Id
DealActivities Retrieve Deal Activities for each Deal or for the specific Deal Id.
Lists Usage information for the operation Lists.rsd.
Scores View many or all contacts by including their ID's or various filters.
Tags View many or all tags by including their ID's or various filters.
TrackingLogs Retrieve trackingLogs for the specific contact or all contacts
Users Usage information for the operation Users.rsd.

ActiveCampaign Connector for CData Sync

Addresses

Usage information for the operation Addresses.rsd.

Table Specific Information

Select

The Sync App uses the ActiveCampaign API to process some of the filters.

For example, the following query is processed server side:

SELECT * FROM AccountContacts WHERE Id = 10003

Columns

Name Type Description
Id String The Id column of the Addresses table.
Address1 String The Address1 column of the Addresses table.
Address2 String The Address2 column of the Addresses table.
Allgroup String The Allgroup column of the Addresses table.
City String The City column of the Addresses table.
CompanyName String The CompanyName column of the Addresses table.
Country String The Country column of the Addresses table.
District String The District column of the Addresses table.
isDefault String The isDefault column of the Addresses table.
AddressGroupLink String The AddressGroupLink column of the Addresses table.
AddressListLink String The AddressListLink column of the Addresses table.
FormsLink String The FormsLink column of the Addresses table.
State String The State column of the Addresses table.
Zip String The Zip column of the Addresses table.

ActiveCampaign Connector for CData Sync

Automations

Usage information for the operation Automations.rsd.

Columns

Name Type Description
Id String The Id column of the Automations table.
Cdate Datetime The Cdate column of the Automations table.
DefaultScreenshot String The DefaultScreenshot column of the Automations table.
Entered String The Entered column of the Automations table.
Exited String The Exited column of the Automations table.
Hidden String The Hidden column of the Automations table.
BlocksLink String The BlocksLink column of the Automations table.
CampaignsLink String The CampaignsLink column of the Automations table.
ContactAutomationsLink String The ContactAutomationsLink column of the Automations table.
ContactGoalsLink String The ContactGoalsLink column of the Automations table.
GoalsLink String The GoalsLink column of the Automations table.
SiteMessagesLink String The SiteMessagesLink column of the Automations table.
SmsLink String The SmsLink column of the Automations table.
Mdate Datetime The Mdate column of the Automations table.
Name String The Name column of the Automations table.
Screenshot String The Screenshot column of the Automations table.
Status String The Status column of the Automations table.
UserId String The UserId column of the Automations table.

ActiveCampaign Connector for CData Sync

Campaigns

Query the campaigns information in ActiveCampaign.

Table Specific Information

Select

The Sync App uses the ActiveCampaign API to process some of the filters.

For example, the following query is processed server side:

SELECT * FROM Campaigns WHERE Id = 10003

Columns

Name Type Description
Id [KEY] String The Id column of the Campaigns table.
ActiveRssInterval String The ActiveRssInterval column of the Campaigns table.
ActiveRssItems String The ActiveRssItems column of the Campaigns table.
ActiveRssUrl String The ActiveRssUrl column of the Campaigns table.
AddressId String The AddressId column of the Campaigns table.
AnalyticsCampaignName String The AnalyticsCampaignName column of the Campaigns table.
Automation String The Automation column of the Campaigns table.
BaseMessageId String The BaseMessageId column of the Campaigns table.
BaseTemplateId String The BaseTemplateId column of the Campaigns table.
BounceId String The BounceId column of the Campaigns table.
CanSkipApproval String The can_skip_approval column of the Campaigns table.
Cdate Datetime The Cdate column of the Campaigns table.
CreatedBy String The Created By column of the Campaigns table.
CreatedTimestamp Datetime The Created Timestamp column of the Campaigns table.
DeleteStamp String The DeleteStamp column of the Campaigns table.
EmbedImages String The EmbedImages column of the Campaigns table.
Facebook String The Facebook column of the Campaigns table.
FormId String The FormId column of the Campaigns table.
Forwards String The Forwards column of the Campaigns table.
HardBounces String The HardBounces column of the Campaigns table.
HasPredictiveContent Bit The HasPredictiveContent column of the Campaigns table.
HtmlUnsub String The HtmlUnsub column of the Campaigns table.
HtmlUnsubdata String The HtmlUnsubdata column of the Campaigns table.
Ip String The Ip column of the Campaigns table.
Ip4 String The Ip4 column of the Campaigns table.
LastStep String The LastStep column of the Campaigns table.
Ldate String The Ldate column of the Campaigns table.
LinkClicks String The LinkClicks column of the Campaigns table.
AutomationLink String The AutomationLink column of the Campaigns table.
CampaignAggregateRevenuesLink String The AggregateRevenues column of the Campaigns table.
CampaignListsLink String The CampaignListsLink column of the Campaigns table.
CampaignMessageLink String The CampaignMessageLink column of the Campaigns table.
CampaignMessagesLink String The CampaignMessagesLink column of the Campaigns table.
LinksLink String The LinksLink column of the Campaigns table.
LinksSegment String The Segment column of the Campaigns table.
UserLink String The UserLink column of the Campaigns table.
MailCleanup String The MailCleanup column of the Campaigns table.
MailSend String The MailSend column of the Campaigns table.
MailTransfer String The MailTransfer column of the Campaigns table.
MailerLogFile String The MailerLogFile column of the Campaigns table.
ManageText String The ManageText column of the Campaigns table.
Mdate Datetime The Mdate column of the Campaigns table.
Name String The Name column of the Campaigns table.
Opens String The Opens column of the Campaigns table.
Public String The Public column of the Campaigns table.
RealCid String The RealCid column of the Campaigns table.
Recurring String The Recurring column of the Campaigns table.
ReminderField String The ReminderField column of the Campaigns table.
ReminderFormat String The ReminderFormat column of the Campaigns table.
ReminderLastCronRun String The ReminderLastCronRun column of the Campaigns table.
ReminderOffset String The ReminderOffset column of the Campaigns table.
ReminderOffsetSign String The ReminderOffsetSign column of the Campaigns table.
ReminderOffsetType String The ReminderOffsetType column of the Campaigns table.
ReminderType String The ReminderType column of the Campaigns table.
Replies String The Replies column of the Campaigns table.
ReplySys String The ReplySys column of the Campaigns table.
ResponderExisting String The ResponderExisting column of the Campaigns table.
ResponderOffset String The ResponderOffset column of the Campaigns table.
ResponderType String The ResponderType column of the Campaigns table.
Schedule String The Schedule column of the Campaigns table.
ScheduledDate String The ScheduledDate column of the Campaigns table.
Screenshot String The Screenshot column of the Campaigns table.
Sdate String The Sdate column of the Campaigns table.
SegmentId String The SegmentId column of the Campaigns table.
SegmentName String The SegmentName column of the Campaigns table.
SendAmt String The SendAmt column of the Campaigns table.
SendId String The SendId column of the Campaigns table.
SeriesId String The SeriesId column of the Campaigns table.
Series Send Lock Time String The SeriesSendLockTime column of the Campaigns table.
SocialShares String The SocialShares column of the Campaigns table.
SoftBounces String The SoftBounces column of the Campaigns table.
Source String The Source column of the Campaigns table.
SplitContent String The SplitContent column of the Campaigns table.
SplitOffset String The SplitOffset column of the Campaigns table.
SplitOffsetType String The SplitOffsetType column of the Campaigns table.
SplitType String The SplitType column of the Campaigns table.
SplitWinnerAwaiting String The SplitWinnerAwaiting column of the Campaigns table.
SplitWinnerMessageId String The SplitWinnerMessageId column of the Campaigns table.
Status String The Status column of the Campaigns table.
SubscriberClicks String The SubscriberClicks column of the Campaigns table.
Survey String The Survey column of the Campaigns table.
TextUnsub String The TextUnsub column of the Campaigns table.
TextUnsubData String The TextUnsubData column of the Campaigns table.
ThreadId String The ThreadId column of the Campaigns table.
TotalAmt String The TotalAmt column of the Campaigns table.
TrackLinks String The TrackLinks column of the Campaigns table.
TrackLinksAnalytics String The TrackLinksAnalytics column of the Campaigns table.
TrackReads String The TrackReads column of the Campaigns table.
TrackReadsAnalytics String The TrackReadsAnalytics column of the Campaigns table.
Tweet String The Tweet column of the Campaigns table.
Type String The Type column of the Campaigns table.
UniqueForwards String The UniqueForwards column of the Campaigns table.
UniqueLinkClicks String The UniqueLinkClicks column of the Campaigns table.
UniqueOpens String The UniqueOpens column of the Campaigns table.
UniqueReplies String The UniqueReplies column of the Campaigns table.
UnsubReasons String The UnsubReasons column of the Campaigns table.
Unsubscribes String The Unsubscribes column of the Campaigns table.
Updated By String The UpdatedBy column of the Campaigns table.
Updated Timestamp String The UpdatedTimestamp column of the Campaigns table.
Updates String The Updates column of the Campaigns table.
User String The User column of the Campaigns table.
UserId String The UserId column of the Campaigns table.
WaitPreview String The WaitPreview column of the Campaigns table.
WillRecur String The WillRecur column of the Campaigns table.

ActiveCampaign Connector for CData Sync

ContactAutomations

View many or all contacts by including their ID's or various filters.

Table Specific Information

Select

The Sync App uses the ActiveCampaign API to process some of the filters.

For example, the following query is processed server side:

SELECT * FROM ContactAutomations WHERE Id = 10003

Columns

Name Type Description
Id String The Id column of the ContactAutomations table.
Adddate Datetime The Adddate column of the ContactAutomations table.
Automation String The Automation column of the ContactAutomations table.
Batchid Unknown The Batchid column of the ContactAutomations table.
CompleteValue Integer The CompleteValue column of the ContactAutomations table.
Completed Integer The Completed column of the ContactAutomations table.
CompletedElements String The CompletedElements column of the ContactAutomations table.
ContactId String The ContactId column of the ContactAutomations table.
Lastblock String The Lastblock column of the ContactAutomations table.
Lastdate Datetime The Lastdate column of the ContactAutomations table.
LastLogId String The LastLogId column of the ContactAutomations table.
AutomationLink String The AutomationLink column of the ContactAutomations table.
ContactLink String The ContactLink column of the ContactAutomations table.
ContactGoalsLink String The ContactGoalsLink column of the ContactAutomations table.
Remdate Datetime The Remdate column of the ContactAutomations table.
SeriesId String The SeriesId column of the ContactAutomations table.
StartId String The StartId column of the ContactAutomations table.
Status String The Status column of the ContactAutomations table.
TimeSpan String The TimeSpan column of the ContactAutomations table.
TotalElements String The TotalElements column of the ContactAutomations table.

ActiveCampaign Connector for CData Sync

ContactLists

Retrieve ContactList for each contact Group or for the specific Contact group.

Table Specific Information

Select

Retrieving information from ContactLists requires specifying a ContactId.

SELECT * FROM ContactLists WHERE ContactId = 1000

Columns

Name Type Description
Id [KEY] String The Id column of the ContactLists table.
ContactId String The ContactId column of the ContactLists table.
AutomationId String The AutomationId column of the ContactLists table.
AutosyncLog String The AutosyncLog column of the ContactLists table.
Campaign String The Campaign column of the ContactLists table.
CreatedBy String The CreatedBy column of the ContactLists table.
CreatedTimestamp Datetime The CreatedTimestamp column of the ContactLists table.
FirstName String The FirstName column of the ContactLists table.
Form String The Form column of the ContactLists table.
Ip4Sub String The Ip4Sub column of the ContactLists table.
Ip4Unsub String The Ip4Unsub column of the ContactLists table.
Ip4Last String The Ip4Last column of the ContactLists table.
LastName String The LastName column of the ContactLists table.
AutomationLink String The AutomationLink column of the ContactLists table.
AutosyncLogLink String The AutosyncLogLink column of the ContactLists table.
CampaignLink String The CampaignLink column of the ContactLists table.
ContactLink String The ContactLink column of the ContactLists table.
FormLink String The FormLink column of the ContactLists table.
ListLink String The ListLink column of the ContactLists table.
MessageLink String The MessageLink column of the ContactLists table.
UnsubscribeAutomationLink String The UnsubscribeAutomationLink column of the ContactLists table.
ListId String The ListId column of the ContactLists table.
Message String The Message column of the ContactLists table.
Responder String The Responder column of the ContactLists table.
Sdate Datetime The Sdate column of the ContactLists table.
SeriesId String The SeriesId column of the ContactLists table.
Status String The Status column of the ContactLists table.
SourceId String The SourceId column of the ContactLists table.
Sync String The Sync column of the ContactLists table.
Unsubreason String The Unsubreason column of the ContactLists table.
UnsubscribeAutomation String The UnsubscribeAutomation column of the ContactLists table.
UpdatedBy String The UpdatedBy column of the ContactLists table.
UpdatedTimestamp Datetime The UpdatedTimestamp column of the ContactLists table.

ActiveCampaign Connector for CData Sync

ContactTags

Retrieve tags added for each contact or for the specific Contact Id

Table Specific Information

Select

Retrieving information for ContactTags requires specifying a ContactId.

SELECT * FROM ContactTags WHERE ContactId = 1

Columns

Name Type Description
Id [KEY] String The Id column of the ContactTags table.
ContactId String The ContactId column of the ContactTags table.
Cdate Datetime The Cdate column of the ContactTags table.
CreatedBy String The CreatedBy column of the ContactTags table.
CreatedTimestamp Datetime The CreatedTimestamp column of the ContactTags table.
ContactLink String The ContactLink column of the ContactTags table.
TagLink String The TagLink column of the ContactTags table.
Tag String The Tag column of the ContactTags table.
UpdatedBy String The UpdatedBy column of the ContactTags table.
UpdatedTimestamp Datetime The UpdatedTimestamp column of the ContactTags table.

ActiveCampaign Connector for CData Sync

DealActivities

Retrieve Deal Activities for each Deal or for the specific Deal Id.

Columns

Name Type Description
Id [KEY] String The Id of the activity.
DealId String The Id of the Deal to which the activity belongs to.
StageId String The Id of the Stage to which the parent Deal of the activity belongs to.
UserId String The Id of the User which triggered the activity.
DataId String The Id for the related object (e.g. a Task or Note or similar), if relevant.
DataType String The type of the activity. Examples include 'userid' or 'subscriberid' or 'task' or 'note' or empty quotes ('') for the deal's initial creation.
DataAction String The action taken by this activity. Examples include 'add' or 'complete' or the new value ('100') if the value is changing.
DataOldVal String The previous value, if the value has changed (see DataAction); otherwise, empty quotes ('')
CreatedDate Datetime The creation date of the activity.
SortDate Datetime
IsAddTask Boolean Indicates whether the activity was adding a task to the deal.
Deleted Boolean Indicates whethere the activity was deleted or not.
SeriesId String
DealLink String The API endpoint to the Deal related to this activity.
StageLink String The API endpoint to the Stage related to this activity.
UserLink String The API endpoint to the User related to this activity.
AutomationLink String The API endpoint to the Automation related to this activity.
ActivityLink String The API endpoint to the Activity.
Deal String The related to this Activity.
Stage String The Stage column of the DealActivities table.
User String The User column of the DealActivities table.
Automation String The Automation which triggered this activity.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Exclude String Include this param to exclude 'email', 'connection_email', and 'LinkData' activity types.

The allowed values are email.

ActiveCampaign Connector for CData Sync

Lists

Usage information for the operation Lists.rsd.

Table Specific Information

Select

The Sync App uses the ActiveCampaign API to process some of the filters.

For example, the following queries are processed server side:

SELECT * FROM Lists WHERE Id = 1

SELECT * FROM Lists WHERE Name = 'list1'

In addition the Sync App supports retrieving information about members of lists in your account by supporting them dynamically as VIEWS. Selecting from a dynamic list will return information about all the contacts that are members of that list. Lists names always start with "List_".

Columns

Name Type Description
Id [KEY] String The Id column of the Lists table.
AnalyticsDomains String The AnalyticsDomains column of the Lists table.
AnalyticsSource String The AnalyticsSource column of the Lists table.
AnalyticsUa String The AnalyticsUa column of the Lists table.
CarbonCopy String The CarbonCopy column of the Lists table.
Cdate Datetime The Cdate column of the Lists table.
Udate Datetime The Udate column of the Lists table.
DeleteStamp String The DeleteStamp column of the Lists table.
FacebookSession String The FacebookSession column of the Lists table.
FullAddress String The FullAddress column of the Lists table.
UnsubscribeReason String The UnsubscribeReason column of the Lists table.
AddressListsLink String The AddressListsLink column of the Lists table.
ContactGoalListsLink String The ContactGoalListsLink column of the Lists table.
UserLink String The UserLink column of the Lists table.
Name String The Name column of the Lists table.
OptinMessageId String The OptinMessageId column of the Lists table.
OptinOptout String The OptinOptout column of the Lists table.
OptoutConf String The OptoutConf column of the Lists table.
EmbedImage String The EmbedImage column of the Lists table.
UseAnalyticsLink String The UseAnalyticsLink column of the Lists table.
UseAnalyticsRead String The UseAnalyticsRead column of the Lists table.
UseCaptcha String The UseCaptcha column of the Lists table.
UseFacebook String The UseFacebook column of the Lists table.
UseTracking String The UseTracking column of the Lists table.
UseTwitter String The UseTwitter column of the Lists table.
Private String The Private column of the Lists table.
RequireName String The RequireName column of the Lists table.
SendLastBroadcast String The SendLastBroadcast column of the Lists table.
SenderAddr1 String The SenderAddr1 column of the Lists table.
SenderAddr2 String The SenderAddr2 column of the Lists table.
SenderCity String The SenderCity column of the Lists table.
SenderCountry String The SenderCountry column of the Lists table.
SenderName String The SenderName column of the Lists table.
SenderPhone String The SenderPhone column of the Lists table.
SenderReminder String The SenderReminder column of the Lists table.
SenderState String The SenderState column of the Lists table.
SenderUrl String The SenderUrl column of the Lists table.
SenderZip String The SenderZip column of the Lists table.
StringId String The StringId column of the Lists table.
SubscriptionNotify String The SubscriptionNotify column of the Lists table.
ToName String The ToName column of the Lists table.
TwitterToken String The TwitterToken column of the Lists table.
TwitterTokenSecret String The TwitterTokenSecret column of the Lists table.
UnsubscriptionNotify String The UnsubscriptionNotify column of the Lists table.
ListsUser String The ListsUser column of the Lists table.
ListsUserid String The ListsUserid column of the Lists table.

ActiveCampaign Connector for CData Sync

Scores

View many or all contacts by including their ID's or various filters.

Table Specific Information

Select

The Sync App uses the ActiveCampaign API to process some of the filters.

For example, the following query is processed server side:

SELECT * FROM Scores WHERE Id = 10

Columns

Name Type Description
Id String The Id column of the Scores table.
Cdate Datetime The Cdate column of the Scores table.
Descript String The Descript column of the Scores table.
Mdate Datetime The Mdate column of the Scores table.
Name String The Name column of the Scores table.
RelType String The RelType column of the Scores table.
Status String The Status column of the Scores table.

ActiveCampaign Connector for CData Sync

Tags

View many or all tags by including their ID's or various filters.

Table Specific Information

Select

The Sync App uses the ActiveCampaign API to process some of the filters.

For example, the following query is processed server side:

SELECT * FROM Tags WHERE Id = 10003

Columns

Name Type Description
Id [KEY] String The Id column of the Tags table.
Tag String The Tag column of the Tags table.
TagType String The TagType column of the Tags table.
Description String The Description column of the Tags table.
Cdate Datetime The Cdate column of the Tags table.
ContactGoalTagsLink String The ContactGoalTagsLink column of the Tags table.

ActiveCampaign Connector for CData Sync

TrackingLogs

Retrieve trackingLogs for the specific contact or all contacts

Columns

Name Type Description
Id [KEY] String The Id column of the TrackingLogs table.
ContactId String The ContactId column of the TrackingLogs table.
Hash String The Hash column of the TrackingLogs table.
ContactLink String The ContactLink column of the TrackingLogs table.
SubscriberidLink String The SubscriberidLink column of the TrackingLogs table.
TstampLink Datetime The TstampLink column of the TrackingLogs table.
TypeLink String The TypeLink column of the TrackingLogs table.
ValueLink String The ValueLink column of the TrackingLogs table.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
UDateLink Datetime

ActiveCampaign Connector for CData Sync

Users

Usage information for the operation Users.rsd.

Table Specific Information

Select

The Sync App uses the ActiveCampaign API to process some of the filters.

For example, the following query is processed server side:

SELECT * FROM Users WHERE Id = 10003

Columns

Name Type Description
Id String The Id column of the Users table.
Email String The Email column of the Users table.
FirstName String The FirstName column of the Users table.
LastName String The LastName column of the Users table.
ConfigsLink String The ConfigsLinks column of the Users table.
DealGroupTotalsLink String The DealGroupTotalsLink column of the Users table.
DealGroupUsersLink String The DealGroupUsersLink column of the Users table.
ListsLink String The ListsLink column of the Users table.
UserGroupLink String The UserGroupLink column of the Users table.
Phone Unknown The Phone column of the Users table.
Signature Unknown The Signature column of the Users table.
Username String The Username column of the Users table.

ActiveCampaign Connector for CData Sync

Connection String Options

The connection string properties are the various options that can be used to establish a connection. This section provides a complete list of the options you can configure in the connection string for this provider. Click the links for further details.

For more information on establishing a connection, see Establishing a Connection.

Authentication


PropertyDescription
APIKeyThe APIKey obtained from the ActiveCampaign UI.
URLBase URL which is used to access the API.

SSL


PropertyDescription
SSLServerCertSpecifies the certificate to be accepted from the server when connecting using TLS/SSL.

Firewall


PropertyDescription
FirewallTypeSpecifies the protocol the provider uses to tunnel traffic through a proxy-based firewall.
FirewallServerIdentifies the IP address, DNS name, or host name of a proxy used to traverse a firewall and relay user queries to network resources.
FirewallPortSpecifies the TCP port to be used for a proxy-based firewall.
FirewallUserIdentifies the user ID of the account authenticating to a proxy-based firewall.
FirewallPasswordSpecifies the password of the user account authenticating to a proxy-based firewall.

Proxy


PropertyDescription
ProxyAutoDetectSpecifies whether the provider checks your system proxy settings for existing proxy server configurations, rather than using a manually specified proxy server.
ProxyServerThe hostname or IP address of the proxy server that you want to route HTTP traffic through.
ProxyPortThe TCP port on your specified proxy server (set in the ProxyServer connection property) that has been reserved for routing HTTP traffic to and from the client.
ProxyAuthSchemeSpecifies the authentication method the provider uses when authenticating to the proxy server specified in the ProxyServer connection property.
ProxyUserThe username of a user account registered with the proxy server specified in the ProxyServer connection property.
ProxyPasswordThe password associated with the user specified in the ProxyUser connection property.
ProxySSLTypeThe SSL type to use when connecting to the proxy server specified in the ProxyServer connection property.
ProxyExceptionsA semicolon separated list of destination hostnames or IPs that are exempt from connecting through the proxy server set in the ProxyServer connection property.

Logging


PropertyDescription
LogModulesSpecifies the core modules to include in the log file. Use a semicolon-separated list of module names. By default, all modules are logged.

Schema


PropertyDescription
LocationSpecifies the location of a directory containing schema files that define tables, views, and stored procedures. Depending on your service's requirements, this may be expressed as either an absolute path or a relative path.
BrowsableSchemasOptional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .
TablesOptional setting that restricts the tables reported to a subset of all available tables. For example, Tables=TableA,TableB,TableC .
ViewsOptional setting that restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC .

Miscellaneous


PropertyDescription
MaxRowsSpecifies the maximum rows returned for queries without aggregation or GROUP BY.
OtherSpecifies additional hidden properties for specific use cases. These are not required for typical provider functionality. Use a semicolon-separated list to define multiple properties.
PagesizeThe maximum number of results to return per page from ActiveCampaign.
PaginationModeSpecifies the type of pagination to use: either ID-based (which works only with Contacts ) or limit-offset (default). Use limit-offset pagination with the limit and offset parameters. Use ID-based pagination with the limit, id_greater and orders[id] parameters.
PseudoColumnsSpecifies the pseudocolumns to expose as table columns. Use the format 'TableName=ColumnName;TableName=ColumnName'. The default is an empty string, which disables this property.
TimeoutSpecifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error. The default is 60 seconds. Set to 0 to disable the timeout.
UserDefinedViewsSpecifies a filepath to a JSON configuration file defining custom views. The provider automatically detects and uses the views specified in this file.
ActiveCampaign Connector for CData Sync

Authentication

This section provides a complete list of the Authentication properties you can configure in the connection string for this provider.


PropertyDescription
APIKeyThe APIKey obtained from the ActiveCampaign UI.
URLBase URL which is used to access the API.
ActiveCampaign Connector for CData Sync

APIKey

The APIKey obtained from the ActiveCampaign UI.

Remarks

API key can be found in your account on the Settings page under the "Developer" tab. Each user in your ActiveCampaign account has their own unique API key.

ActiveCampaign Connector for CData Sync

URL

Base URL which is used to access the API.

Remarks

URL can be found in your account on the My Settings page under the "Developer" tab. For example: https://{yourAccountName}.api-us1.com

ActiveCampaign Connector for CData Sync

SSL

This section provides a complete list of the SSL properties you can configure in the connection string for this provider.


PropertyDescription
SSLServerCertSpecifies the certificate to be accepted from the server when connecting using TLS/SSL.
ActiveCampaign Connector for CData Sync

SSLServerCert

Specifies the certificate to be accepted from the server when connecting using TLS/SSL.

Remarks

If using a TLS/SSL connection, this property can be used to specify the TLS/SSL certificate to be accepted from the server. Any other certificate that is not trusted by the machine is rejected.

This property can take the following forms:

Description Example
A full PEM Certificate (example shortened for brevity) -----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE-----
A path to a local file containing the certificate C:\cert.cer
The public key (example shortened for brevity) -----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY-----
The MD5 Thumbprint (hex values can also be either space or colon separated) ecadbdda5a1529c58a1e9e09828d70e4
The SHA1 Thumbprint (hex values can also be either space or colon separated) 34a929226ae0819f2ec14b4a3d904f801cbb150d

If not specified, any certificate trusted by the machine is accepted.

Use '*' to signify to accept all certificates. Note that this is not recommended due to security concerns.

ActiveCampaign Connector for CData Sync

Firewall

This section provides a complete list of the Firewall properties you can configure in the connection string for this provider.


PropertyDescription
FirewallTypeSpecifies the protocol the provider uses to tunnel traffic through a proxy-based firewall.
FirewallServerIdentifies the IP address, DNS name, or host name of a proxy used to traverse a firewall and relay user queries to network resources.
FirewallPortSpecifies the TCP port to be used for a proxy-based firewall.
FirewallUserIdentifies the user ID of the account authenticating to a proxy-based firewall.
FirewallPasswordSpecifies the password of the user account authenticating to a proxy-based firewall.
ActiveCampaign Connector for CData Sync

FirewallType

Specifies the protocol the provider uses to tunnel traffic through a proxy-based firewall.

Remarks

A proxy-based firewall (or proxy firewall) is a network security device that acts as an intermediary between user requests and the resources they access. The proxy accepts the request of an authenticated user, tunnels through the firewall, and transmits the request to the appropriate server.

Because the proxy evaluates and transfers data backets on behalf of the requesting users, the users never connect directly with the servers, only with the proxy.

Note: By default, the Sync App connects to the system proxy. To disable this behavior and connect to one of the following proxy types, set ProxyAutoDetect to false.

The following table provides port number information for each of the supported protocols.

Protocol Default Port Description
TUNNEL 80 The port where the Sync App opens a connection to ActiveCampaign. Traffic flows back and forth via the proxy at this location.
SOCKS4 1080 The port where the Sync App opens a connection to ActiveCampaign. SOCKS 4 then passes theFirewallUser value to the proxy, which determines whether the connection request should be granted.
SOCKS5 1080 The port where the Sync App sends data to ActiveCampaign. If the SOCKS 5 proxy requires authentication, set FirewallUser and FirewallPassword to credentials the proxy recognizes.

To connect to HTTP proxies, use ProxyServer and ProxyPort. To authenticate to HTTP proxies, use ProxyAuthScheme, ProxyUser, and ProxyPassword.

ActiveCampaign Connector for CData Sync

FirewallServer

Identifies the IP address, DNS name, or host name of a proxy used to traverse a firewall and relay user queries to network resources.

Remarks

A proxy-based firewall (or proxy firewall) is a network security device that acts as an intermediary between user requests and the resources they access. The proxy accepts the request of an authenticated user, tunnels through the firewall, and transmits the request to the appropriate server.

Because the proxy evaluates and transfers data backets on behalf of the requesting users, the users never connect directly with the servers, only with the proxy.

ActiveCampaign Connector for CData Sync

FirewallPort

Specifies the TCP port to be used for a proxy-based firewall.

Remarks

A proxy-based firewall (or proxy firewall) is a network security device that acts as an intermediary between user requests and the resources they access. The proxy accepts the request of an authenticated user, tunnels through the firewall, and transmits the request to the appropriate server.

Because the proxy evaluates and transfers data backets on behalf of the requesting users, the users never connect directly with the servers, only with the proxy.

ActiveCampaign Connector for CData Sync

FirewallUser

Identifies the user ID of the account authenticating to a proxy-based firewall.

Remarks

A proxy-based firewall (or proxy firewall) is a network security device that acts as an intermediary between user requests and the resources they access. The proxy accepts the request of an authenticated user, tunnels through the firewall, and transmits the request to the appropriate server.

Because the proxy evaluates and transfers data backets on behalf of the requesting users, the users never connect directly with the servers, only with the proxy.

ActiveCampaign Connector for CData Sync

FirewallPassword

Specifies the password of the user account authenticating to a proxy-based firewall.

Remarks

A proxy-based firewall (or proxy firewall) is a network security device that acts as an intermediary between user requests and the resources they access. The proxy accepts the request of an authenticated user, tunnels through the firewall, and transmits the request to the appropriate server.

Because the proxy evaluates and transfers data backets on behalf of the requesting users, the users never connect directly with the servers, only with the proxy.

ActiveCampaign Connector for CData Sync

Proxy

This section provides a complete list of the Proxy properties you can configure in the connection string for this provider.


PropertyDescription
ProxyAutoDetectSpecifies whether the provider checks your system proxy settings for existing proxy server configurations, rather than using a manually specified proxy server.
ProxyServerThe hostname or IP address of the proxy server that you want to route HTTP traffic through.
ProxyPortThe TCP port on your specified proxy server (set in the ProxyServer connection property) that has been reserved for routing HTTP traffic to and from the client.
ProxyAuthSchemeSpecifies the authentication method the provider uses when authenticating to the proxy server specified in the ProxyServer connection property.
ProxyUserThe username of a user account registered with the proxy server specified in the ProxyServer connection property.
ProxyPasswordThe password associated with the user specified in the ProxyUser connection property.
ProxySSLTypeThe SSL type to use when connecting to the proxy server specified in the ProxyServer connection property.
ProxyExceptionsA semicolon separated list of destination hostnames or IPs that are exempt from connecting through the proxy server set in the ProxyServer connection property.
ActiveCampaign Connector for CData Sync

ProxyAutoDetect

Specifies whether the provider checks your system proxy settings for existing proxy server configurations, rather than using a manually specified proxy server.

Remarks

When this connection property is set to True, the Sync App checks your system proxy settings for existing proxy server configurations (no need to manually supply proxy server details).

This connection property takes precedence over other proxy settings. Set to False if you want to manually configure the Sync App to connect to a specific proxy server.

To connect to an HTTP proxy, see ProxyServer. For other proxies, such as SOCKS or tunneling, see FirewallType.

ActiveCampaign Connector for CData Sync

ProxyServer

The hostname or IP address of the proxy server that you want to route HTTP traffic through.

Remarks

The Sync App only routes HTTP traffic through the proxy server specified in this connection property when ProxyAutoDetect is set to False. If ProxyAutoDetect is set to True, which is the default, the Sync App instead routes HTTP traffic through the proxy server specified in your system proxy settings.

ActiveCampaign Connector for CData Sync

ProxyPort

The TCP port on your specified proxy server (set in the ProxyServer connection property) that has been reserved for routing HTTP traffic to and from the client.

Remarks

The Sync App only routes HTTP traffic through the proxy server port specified in this connection property when ProxyAutoDetect is set to False. If ProxyAutoDetect is set to True, which is the default, the Sync App instead routes HTTP traffic through the proxy server port specified in your system proxy settings.

For other proxy types, see FirewallType.

ActiveCampaign Connector for CData Sync

ProxyAuthScheme

Specifies the authentication method the provider uses when authenticating to the proxy server specified in the ProxyServer connection property.

Remarks

The authentication type can be one of the following:

  • BASIC: The Sync App performs HTTP BASIC authentication.
  • DIGEST: The Sync App performs HTTP DIGEST authentication.
  • NTLM: The Sync App retrieves an NTLM token.
  • NEGOTIATE: The Sync App retrieves an NTLM or Kerberos token based on the applicable protocol for authentication.
  • NONE: Set this when the ProxyServer does not require authentication.

For all values other than "NONE", you must also set the ProxyUser and ProxyPassword connection properties.

If you need to use another authentication type, such as SOCKS 5 authentication, see FirewallType.

ActiveCampaign Connector for CData Sync

ProxyUser

The username of a user account registered with the proxy server specified in the ProxyServer connection property.

Remarks

The ProxyUser and ProxyPassword connection properties are used to connect and authenticate against the HTTP proxy specified in ProxyServer.

After selecting one of the available authentication types in ProxyAuthScheme, set this property as follows:

ProxyAuthScheme Value Value to set for ProxyUser
BASIC The user name of a user registered with the proxy server.
DIGEST The user name of a user registered with the proxy server.
NEGOTIATE The username of a Windows user who is a valid user in the domain or trusted domain that the proxy server is part of, in the format user@domain or domain\user.
NTLM The username of a Windows user who is a valid user in the domain or trusted domain that the proxy server is part of, in the format user@domain or domain\user.
NONE Do not set the ProxyPassword connection property.

The Sync App only uses this username if ProxyAutoDetect is set to False. If ProxyAutoDetect is set to True, which is the default, the Sync App instead uses the username specified in your system proxy settings.

ActiveCampaign Connector for CData Sync

ProxyPassword

The password associated with the user specified in the ProxyUser connection property.

Remarks

The ProxyUser and ProxyPassword connection properties are used to connect and authenticate against the HTTP proxy specified in ProxyServer.

After selecting one of the available authentication types in ProxyAuthScheme, set this property as follows:

ProxyAuthScheme Value Value to set for ProxyPassword
BASIC The password associated with the proxy server user specified in ProxyUser.
DIGEST The password associated with the proxy server user specified in ProxyUser.
NEGOTIATE The password associated with the Windows user account specified in ProxyUser.
NTLM The password associated with the Windows user account specified in ProxyUser.
NONE Do not set the ProxyPassword connection property.

For SOCKS 5 authentication or tunneling, see FirewallType.

The Sync App only uses this password if ProxyAutoDetect is set to False. If ProxyAutoDetect is set to True, which is the default, the Sync App instead uses the password specified in your system proxy settings.

ActiveCampaign Connector for CData Sync

ProxySSLType

The SSL type to use when connecting to the proxy server specified in the ProxyServer connection property.

Remarks

This property determines when to use SSL for the connection to the HTTP proxy specified by ProxyServer. You can set this connection property to the following values :

AUTODefault setting. If ProxyServer is set to an HTTPS URL, the Sync App uses the TUNNEL option. If ProxyServer is set to an HTTP URL, the component uses the NEVER option.
ALWAYSThe connection is always SSL enabled.
NEVERThe connection is not SSL enabled.
TUNNELThe connection is made through a tunneling proxy. The proxy server opens a connection to the remote host and traffic flows back and forth through the proxy.

ActiveCampaign Connector for CData Sync

ProxyExceptions

A semicolon separated list of destination hostnames or IPs that are exempt from connecting through the proxy server set in the ProxyServer connection property.

Remarks

The ProxyServer is used for all addresses, except for addresses defined in this property. Use semicolons to separate entries.

Note that the Sync App uses the system proxy settings by default, without further configuration needed. If you want to explicitly configure proxy exceptions for this connection, set ProxyAutoDetect to False.

ActiveCampaign Connector for CData Sync

Logging

This section provides a complete list of the Logging properties you can configure in the connection string for this provider.


PropertyDescription
LogModulesSpecifies the core modules to include in the log file. Use a semicolon-separated list of module names. By default, all modules are logged.
ActiveCampaign Connector for CData Sync

LogModules

Specifies the core modules to include in the log file. Use a semicolon-separated list of module names. By default, all modules are logged.

Remarks

This property lets you customize the log file content by specifying the logging modules to include. Logging modules categorize logged information into distinct areas, such as query execution, metadata, or SSL communication. Each module is represented by a four-character code, with some requiring a trailing space for three-letter names.

For example, EXEC logs query execution, and INFO logs general provider messages. To include multiple modules, separate their names with semicolons as follows: INFO;EXEC;SSL.

The Verbosity connection property takes precedence over the module-based filtering specified by this property. Only log entries that meet the verbosity level and belong to the specified modules are logged. Leave this property blank to include all available modules in the log file.

For a complete list of available modules and detailed guidance on configuring logging, refer to the Advanced Logging section in Logging.

ActiveCampaign Connector for CData Sync

Schema

This section provides a complete list of the Schema properties you can configure in the connection string for this provider.


PropertyDescription
LocationSpecifies the location of a directory containing schema files that define tables, views, and stored procedures. Depending on your service's requirements, this may be expressed as either an absolute path or a relative path.
BrowsableSchemasOptional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .
TablesOptional setting that restricts the tables reported to a subset of all available tables. For example, Tables=TableA,TableB,TableC .
ViewsOptional setting that restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC .
ActiveCampaign Connector for CData Sync

Location

Specifies the location of a directory containing schema files that define tables, views, and stored procedures. Depending on your service's requirements, this may be expressed as either an absolute path or a relative path.

Remarks

The Location property is only needed if you want to either customize definitions (for example, change a column name, ignore a column, etc.) or extend the data model with new tables, views, or stored procedures.

If left unspecified, the default location is %APPDATA%\\CData\\ActiveCampaign Data Provider\\Schema, where %APPDATA% is set to the user's configuration directory:

Platform %APPDATA%
Windows The value of the APPDATA environment variable
Linux ~/.config

ActiveCampaign Connector for CData Sync

BrowsableSchemas

Optional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .

Remarks

Listing all available database schemas can take extra time, thus degrading performance. Providing a list of schemas in the connection string saves time and improves performance.

ActiveCampaign Connector for CData Sync

Tables

Optional setting that restricts the tables reported to a subset of all available tables. For example, Tables=TableA,TableB,TableC .

Remarks

Listing all available tables from some databases can take extra time, thus degrading performance. Providing a list of tables in the connection string saves time and improves performance.

If there are lots of tables available and you already know which ones you want to work with, you can use this property to restrict your viewing to only those tables. To do this, specify the tables you want in a comma-separated list. Each table should be a valid SQL identifier with any special characters escaped using square brackets, double-quotes or backticks. For example, Tables=TableA,[TableB/WithSlash],WithCatalog.WithSchema.`TableC With Space`.

Note: If you are connecting to a data source with multiple schemas or catalogs, you must specify each table you want to view by its fully qualified name. This avoids ambiguity between tables that may exist in multiple catalogs or schemas.

ActiveCampaign Connector for CData Sync

Views

Optional setting that restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC .

Remarks

Listing all available views from some databases can take extra time, thus degrading performance. Providing a list of views in the connection string saves time and improves performance.

If there are lots of views available and you already know which ones you want to work with, you can use this property to restrict your viewing to only those views. To do this, specify the views you want in a comma-separated list. Each view should be a valid SQL identifier with any special characters escaped using square brackets, double-quotes or backticks. For example, Views=ViewA,[ViewB/WithSlash],WithCatalog.WithSchema.`ViewC With Space`.

Note: If you are connecting to a data source with multiple schemas or catalogs, you must specify each view you want to examine by its fully qualified name. This avoids ambiguity between views that may exist in multiple catalogs or schemas.

ActiveCampaign Connector for CData Sync

Miscellaneous

This section provides a complete list of the Miscellaneous properties you can configure in the connection string for this provider.


PropertyDescription
MaxRowsSpecifies the maximum rows returned for queries without aggregation or GROUP BY.
OtherSpecifies additional hidden properties for specific use cases. These are not required for typical provider functionality. Use a semicolon-separated list to define multiple properties.
PagesizeThe maximum number of results to return per page from ActiveCampaign.
PaginationModeSpecifies the type of pagination to use: either ID-based (which works only with Contacts ) or limit-offset (default). Use limit-offset pagination with the limit and offset parameters. Use ID-based pagination with the limit, id_greater and orders[id] parameters.
PseudoColumnsSpecifies the pseudocolumns to expose as table columns. Use the format 'TableName=ColumnName;TableName=ColumnName'. The default is an empty string, which disables this property.
TimeoutSpecifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error. The default is 60 seconds. Set to 0 to disable the timeout.
UserDefinedViewsSpecifies a filepath to a JSON configuration file defining custom views. The provider automatically detects and uses the views specified in this file.
ActiveCampaign Connector for CData Sync

MaxRows

Specifies the maximum rows returned for queries without aggregation or GROUP BY.

Remarks

This property sets an upper limit on the number of rows the Sync App returns for queries that do not include aggregation or GROUP BY clauses. This limit ensures that queries do not return excessively large result sets by default.

When a query includes a LIMIT clause, the value specified in the query takes precedence over the MaxRows setting. If MaxRows is set to "-1", no row limit is enforced unless a LIMIT clause is explicitly included in the query.

This property is useful for optimizing performance and preventing excessive resource consumption when executing queries that could otherwise return very large datasets.

ActiveCampaign Connector for CData Sync

Other

Specifies additional hidden properties for specific use cases. These are not required for typical provider functionality. Use a semicolon-separated list to define multiple properties.

Remarks

This property allows advanced users to configure hidden properties for specialized scenarios. These settings are not required for normal use cases but can address unique requirements or provide additional functionality. Multiple properties can be defined in a semicolon-separated list.

Note: It is strongly recommended to set these properties only when advised by the support team to address specific scenarios or issues.

Specify multiple properties in a semicolon-separated list.

Integration and Formatting

DefaultColumnSizeSets the default length of string fields when the data source does not provide column length in the metadata. The default value is 2000.
ConvertDateTimeToGMTDetermines whether to convert date-time values to GMT, instead of the local time of the machine.
RecordToFile=filenameRecords the underlying socket data transfer to the specified file.

ActiveCampaign Connector for CData Sync

Pagesize

The maximum number of results to return per page from ActiveCampaign.

Remarks

The Pagesize property affects the maximum number of results to return per page from ActiveCampaign. ActiveCampaign allows a maximum of 100 records to be returned in each page.

ActiveCampaign Connector for CData Sync

PaginationMode

Specifies the type of pagination to use: either ID-based (which works only with Contacts ) or limit-offset (default). Use limit-offset pagination with the limit and offset parameters. Use ID-based pagination with the limit, id_greater and orders[id] parameters.

Remarks

  • Since ID-based pagination currently works only with Contacts, if you specify the LimitID enum, only Contacts is paginated in that fashion; the pagination for other entities in the data model uses limit-offset pagination. You can use the PageSize connection property to control the number of rows returned per request in both cases.
  • ActiveCampaign recommends using LimitID pagination if you have a large number of records for better performance.
  • Since ID-based pagination is serial, the MaxThreads connection property can only be used with limit-offset pagination.

ActiveCampaign Connector for CData Sync

PseudoColumns

Specifies the pseudocolumns to expose as table columns. Use the format 'TableName=ColumnName;TableName=ColumnName'. The default is an empty string, which disables this property.

Remarks

This property allows you to define which pseudocolumns the Sync App exposes as table columns.

To specify individual pseudocolumns, use the following format: "Table1=Column1;Table1=Column2;Table2=Column3"

To include all pseudocolumns for all tables use: "*=*"

ActiveCampaign Connector for CData Sync

Timeout

Specifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error. The default is 60 seconds. Set to 0 to disable the timeout.

Remarks

This property controls the maximum time, in seconds, that the Sync App waits for an operation to complete before canceling it. If the timeout period expires before the operation finishes, the Sync App cancels the operation and throws an exception.

The timeout applies to each individual communication with the server rather than the entire query or operation. For example, a query could continue running beyond 60 seconds if each paging call completes within the timeout limit.

Setting this property to 0 disables the timeout, allowing operations to run indefinitely until they succeed or fail due to other conditions such as server-side timeouts, network interruptions, or resource limits on the server. Use this property cautiously to avoid long-running operations that could degrade performance or result in unresponsive behavior.

ActiveCampaign Connector for CData Sync

UserDefinedViews

Specifies a filepath to a JSON configuration file defining custom views. The provider automatically detects and uses the views specified in this file.

Remarks

This property allows you to define and manage custom views through a JSON-formatted configuration file called UserDefinedViews.json. These views are automatically recognized by the Sync App and enable you to execute custom SQL queries as if they were standard database views. The JSON file defines each view as a root element with a child element called "query", which contains the SQL query for the view. For example:


{
	"MyView": {
		"query": "SELECT * FROM Contacts WHERE MyColumn = 'value'"
	},
	"MyView2": {
		"query": "SELECT * FROM MyTable WHERE Id IN (1,2,3)"
	}
}

You can define multiple views in a single file and specify the filepath using this property. For example: UserDefinedViews=C:\Path\To\UserDefinedViews.json. When you use this property, only the specified views are seen by the Sync App.

Refer to User Defined Views for more information.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 24.0.9175