Connecting to Easy Marketing via SQL
You can use SQL to connect to Easy Marketing in the Data Virtuality Studio or the Code Editor in the Web UI.
Pre-requisites
You need the endpoint, access token, user Id.
How to Connect
Before you start retrieving data, you need to run the connector script for Easy Marketing in the Data Virtuality Studio or the Web UI and input your credentials in the following line:
CALL SYSADMIN.createConnection (
name => 'easy_m_src'
,jbossCLITemplateName => 'ws'
,connectionOrResourceAdapterProperties => 'EndPoint=https://www.<domain>.de/api,AuthUserName=<User ID>,AccessToken=<Access Token>'
);;
CALL SYSADMIN.createDataSource (
name => 'easy_m_src'
,translator => 'easy_m'
,modelProperties => ''
,translatorProperties => ''
);;