Referral SaaSquatch
Referral SaaSquatch is a cloud-based loyalty, referral and rewards marketing platform.
Referral SaaSquatch integration replicates data using the Referral SaaSquatch REST API.
See the
Schema section for a list of objects available for replication.
Preparing for authentication
To access your data, you need to authenticate the connection with your account credentials.
資訊備註確認您使用的帳戶可讀取您要擷取的表格。
You must have the Full Access role in your Referral SaaSquatch admin portal.
To retrieve your API key and tenant alias:
- Log into your Referral SaaSquatch account.
- Choose your tenant from the tenant selection dropdown.
- Go to Settings > General.
- In the Tenant details section, click the eye icon to reveal the API key and locate the Tenant Alias field.
- Copy and paste your API key and tenant alias into a secured file.
Creating the connection
如需詳細資訊,請參閱連線到 SaaS 應用程式。
- 填寫所需的連線屬性。
在連線名稱中提供連線名稱。
選取開啟連線中繼資料以在建立後定義連線的中繼資料。
按一下建立。
Connection settings| Setting | Description |
|---|
| Data gateway | 如您的使用情況有需要,選取 資料移動閘道。 資訊備註此欄位無法用於 Qlik Talend Cloud 啟動器 訂閱,因為不支援 資料移動閘道。若您有另一個訂閱層級且不想使用 資料移動閘道,選取無。 如需關於 資料移動閘道 福利的資訊以及需要此項的使用案例,請參閱 Qlik 資料閘道 - 資料移動。 |
| Start Date | 以 MM/DD/YYYY 格式輸入資料必須從來源複寫到目標的日期。 |
| API Key | API key. |
| Tenant Alias | Tenant alias. |
Schema
資訊備註Schemas and naming conventions can change from version to version. It is recommended to verify your version before continuing.
Depending on your destination, table and column names may not appear as they are outlined below.
referrals
The referrals table contains info about all of the referrals in your Referral SaaSquatch tenant.
| Join referrals with | on |
|---|
| reward_balances | referrals.referredUser = reward_balances.userId referrals.referrerUser = reward_balances.userId referrals.referredAccount = reward_balances.accountId referrals.referrerAccount = reward_balances.accountId |
| users | referrals.referredUser = users.id referrals.referrerUser = users.id referrals.referredAccount = users.accountId referrals.referrerAccount = users.accountId |
dateConverted
DATE-TIME
|
dateModerated
DATE-TIME
|
dateReferralEnded
DATE-TIME
|
dateReferralPaid
DATE-TIME
|
dateReferralStarted
DATE-TIME
|
id
OBJECT
This is a nested data structure. |
programId
STRING
|
referredAccount
STRING
|
referredModerationStatus
STRING
|
referredReward
STRING
|
referredUser
STRING
|
referrerAccount
STRING
|
referrerModerationStatus
STRING
|
referrerReward
STRING
|
referrerUser
STRING
|
reward_balances
The reward_balances table contains info about the balances for all rewards.
| Join reward_balances with | on |
|---|
| referrals | reward_balances.userId = referrals.referredUser reward_balances.userId = referrals.referrerUser reward_balances.accountId = referrals.referredAccount reward_balances.accountId = referrals.referrerAccount |
| users | reward_balances.userId = users.id reward_balances.accountId = users.accountId |
accountId
OBJECT
This is a nested data structure. |
amount
INTEGER
|
type
STRING
|
unit
STRING
|
userId
OBJECT
This is a nested data structure. |
users
The users table contains info about the users in your Referral SaaSquatch tenant.
| Join users with | on |
|---|
| referrals | users.id = referrals.referredUser users.id = referrals.referrerUser users.accountId = referrals.referredAccount users.accountId = referrals.referrerAccount |
| reward_balances | users.id = reward_balances.userId users.accountId = reward_balances.accountId |
accountId
OBJECT
This is a nested data structure. |
dateCreated
DATE-TIME
|
email
STRING
|
emailHash
STRING
|
emailShareLink
STRING
|
facebookShareLink
STRING
|
firstName
STRING
|
firstSeenIP
STRING
|
id
OBJECT
This is a nested data structure. |
imageUrl
STRING
|
lastName
STRING
|
lastSeenIP
STRING
|
linkedinShareLink
STRING
|
locale
STRING
|
referralSource
STRING
|
shareLink
STRING
|
twitterShareLink
STRING
|