Connecting to TradeTracker Merchant via SQL
You can use SQL to connect to TradeTracker Merchant in the CData Virtuality Studio or the Code Editor in the Web UI.
Pre-requisites
You need ClientId, ClientSecret.
How to Connect
Before you start retrieving data, you need to run the connector script for TradeTracker Merchant in the CData Virtuality Studio or the Web UI and input your credentials in the following line:
CALL SYSADMIN.createConnection (
name => 'tradetracker_merchant_src'
,jbossCLITemplateName => 'ws'
,connectionOrResourceAdapterProperties => 'ClientId=<ClientId>,EndPoint=https://ws.tradetracker.com/soap/merchant,SecurityType=None,ClientSecret=<ClientSecret>'
);;
CALL SYSADMIN.createDataSource (
name => 'tradetracker_merchant_src'
,translator => 'tradetracker_merchant'
,modelProperties => 'locale=<locale>'
,translatorProperties => ''
);;