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 Starter 订阅,因为它不支持 数据移动网关。如果您有另一个订阅层并且不想使用 数据移动网关,请选择无。 有关 数据移动网关 的优势和需要它的用例的信息,请参阅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
|