Cloud

Build 24.0.9180
  • Salesforce Marketing Cloud
    • はじめに
      • 接続の確立
      • カスタムOAuth アプリの作成
      • SalesforceMarketingCloud データエクステンションからの選択
      • SSL の設定
      • ファイアウォールとプロキシ
    • データモデル
      • REST データモデル
        • テーブル
          • Assets
          • Callbacks
          • Campaigns
          • Categories
          • EventDefinitions
          • FacebookMessengerProperties
          • JourneyActivities
          • Journeys
          • LineMessengerProperties
          • SendDefinitions
          • Subscriptions
        • ビュー
          • AssetTypes
          • CampaignAssets
          • Contact
          • Contacts
          • JourneyAuditLogs
          • JourneyHistory
          • SmsStatusCodes
          • TransactionalMessages
        • ストアドプロシージャ
          • CheckDataExtensionJobStatus
          • CreateDataExtensionJob
          • CreateImportSendDeliveryReport
          • CreateKeyword
          • CreateMessageListDeliveryReport
          • CreateOptInMessage
          • CreateTriggeredSend
          • DeleteKeyword
          • FireEntryEvent
          • GetChannelViewHtml
          • GetDataExtensionJobResults
          • GetDeliveryStatusOfQueuedMO
          • GetFileForAnAsset
          • GetHeaderFooterAccount
          • GetHeaderFooterEmail
          • GetImportSendStatus
          • GetImportStatus
          • GetJourneyPublicationStatus
          • GetMessageContactHistory
          • GetMessageContactStatus
          • GetMessageListStatus
          • GetMessageSendStatus
          • GetRefreshListStatus
          • GetSubscriptionStatus
          • GetTrackingHistoryOfQueuedMO
          • ImportAndSendMessage
          • PostMessageToList
          • PostMessageToNumber
          • PublishJourney
          • QueueContactImport
          • QueueMoMessage
          • RefreshList
          • SendMessageToRecipient
          • SendTransactionalMessageToMultipleRecipients
          • SendTransactionalMessageToRecipient
          • StopJourney
      • SOAP データモデル
        • テーブル
          • Account
          • AccountUser
          • BusinessUnit
          • ContentArea
          • DataExtension
          • Email
          • EmailSendDefinition
          • FileTrigger
          • FilterDefinition
          • ImportDefinition
          • List
          • Portfolio
          • ProgramManifestTemplate
          • QueryDefinition
          • ReplyMailManagementConfiguration
          • Send
          • SendClassification
          • SenderProfile
          • SMSTriggeredSend
          • Subscriber
          • SuppressionListDefinition
          • TriggeredSendDefinition
        • ビュー
          • Automation
          • BounceEvent
          • ClickEvent
          • DataExtensionField
          • DataExtensionTemplate
          • DataFolder
          • DoubleOptInMOKeyword
          • FileTriggerTypeLastPull
          • ForwardedEmailEvent
          • ForwardedEmailOptInEvent
          • HelpMOKeyword
          • ImportResultsSummary
          • LinkSend
          • ListSend
          • ListSubscriber
          • MessagingVendorKind
          • NotSentEvent
          • OpenEvent
          • PrivateIP
          • Publication
          • PublicationSubscriber
          • PublicKeyManagement
          • ResultItem
          • ResultMessage
          • Role
          • SendEmailMOKeyword
          • SendSMSMOKeyword
          • SendSummary
          • SentEvent
          • SMSMTEvent
          • SMSSharedKeyword
          • SMSTriggeredSendDefinition
          • SubscriberList
          • SubscriberSendResult
          • SubscriberStatusEvent
          • SuppressionListContext
          • SurveyEvent
          • Template
          • TimeZone
          • TriggeredSendSummary
          • UnsubEvent
          • UnsubscribeFromSMSPublicationMOKeyword
        • ストアドプロシージャ
          • CreateTriggeredSend
      • システムテーブル
        • sys_catalogs
        • sys_schemas
        • sys_tables
        • sys_tablecolumns
        • sys_procedures
        • sys_procedureparameters
        • sys_keycolumns
        • sys_foreignkeys
        • sys_primarykeys
        • sys_indexes
        • sys_connection_props
        • sys_sqlinfo
        • sys_identity
        • sys_information
    • 接続文字列オプション
      • Authentication
        • AuthScheme
        • UseLegacyAuthentication
        • User
        • Password
        • Subdomain
        • UseAsyncBatch
        • WaitForBulkResults
      • OAuth
        • OAuthClientId
        • OAuthClientSecret
        • Scope
      • SSL
        • SSLServerCert
      • Logging
        • Verbosity
      • Schema
        • BrowsableSchemas
        • Schema
      • Miscellaneous
        • AccountId
        • DisplayChildDataExtensions
        • Instance
        • ListDataExtensions
        • MaxRows
        • Pagesize
        • PseudoColumns
        • QueryAllAccounts
        • Timeout
        • TimeZone

Salesforce Marketing Cloud - CData Cloud

概要

CData Cloud は、クラウドホスト型のソリューションで、複数の標準サービスやプロトコルにまたがるSalesforce Marketing Cloud へのアクセスを実現します。MySQL またはSQL Server データベースに接続できるアプリケーションであれば、CData Cloud を介してSalesforce Marketing Cloud に接続できます。

CData Cloud により、他のOData エンドポイントや標準SQL Server / MySQL データベースと同じように、Salesforce Marketing Cloud への接続を標準化し、構成することができます。

主要機能

  • SQL をフルサポート:Salesforce Marketing Cloud は、標準のリレーショナルデータベースとして表示され、Filter、Group、Join などの操作を実行できます。これらの操作は基盤となるAPI でサポートされているかどうかに関わらず、標準SQL を使用します。
  • CRUD サポート:読み取りと書き込みの両方の操作がサポートされており、Cloud またはデータソースのダウンストリームで設定できるセキュリティ設定によってのみ制限されます。
  • セキュアアクセス:管理者は、ユーザーを作成し、特定のデータベースへのアクセス、読み取り専用操作、または完全な読み書きの権限を定義することができます。
  • 包括的なデータモデルとダイナミックディスカバリー:CData Cloud は、動的データや検索可能なメタデータへのフルアクセスなど、基盤となるデータソースで公開されるすべてのデータへの包括的なアクセスを提供します。

CData Cloud

はじめに

このページでは、CData Cloud でのSalesforce Marketing Cloud への接続の確立 のガイド、利用可能なリソースに関する情報、および使用可能な接続プロパティのリファレンスについて説明します。

Salesforce Marketing Cloud への接続

接続の確立 は、CData Cloud にデータベースを作成するためのSalesforce Marketing Cloud への認証方法と必要な接続プロパティの設定方法について示します。

CData Cloud サービスからデータにアクセス

利用可能な標準サービスを経由してSalesforce Marketing Cloud からデータにアクセスする方法と、CData Cloud の管理については、CData Cloud ドキュメント で詳しく説明します。

CData Cloud

接続の確立

Database タブで対応するアイコンを選択して、Salesforce Marketing Cloud に接続します。必須プロパティはSettings にリストされています。Advanced タブには、通常は必要ない接続プロパティが表示されます。

Salesforce Marketing Cloud への接続

REST API およびSOAP API の両方で、次のプロパティを使用してデータアクセスを絞り込むことができます。

  • Instance:使用されるSalesforce Marketing Cloud API のインスタンス。デフォルトのインスタンスはWeb Services API のs7 ですが、このプロパティを使用して別のインスタンスを指定することができます。
  • Subdomain:インスタンスがs10 より大きい場合は、サブドメインも指定する必要があります。

REST API

接続するには、Schema をREST に設定します。

Salesforce Marketing Cloud REST API はOAuth 認証標準を使用しています。OAuth を使って認証するには、カスタムOAuth アプリケーションを作成してOAuthClientId およびOAuthClientSecret 接続プロパティの値を取得する必要があります。詳しくは、カスタムOAuth アプリの作成 を参照してください。

SOAP API

接続するには、Schema をSOAP に設定します。

Salesforce Marketing Cloud SOAP API は、OAuth を使用して接続できます。従来のログイン資格情報の使用もサポートしています。

Note:Salesforce Marketing Cloud のデータ拡張オブジェクトは、SOAP API 経由でのみアクセスできます。

Salesforce Marketing Cloud への認証

ユーザーアカウント(OAuth)

AuthScheme をOAUTH に設定します。また、すべてのOAuth フローで、AccountId をターゲットビジネスユニットの特定のMID に設定します。 NOTE: これはレガシーパッケージでは利用できません。 次のOAuth セクションでは、これら両方の接続プロパティを設定済みであることを前提としています。

デスクトップアプリ

下記の手順に従って、カスタムOAuth アプリケーションの資格情報を使用して認証します。カスタムOAuth アプリケーションについては、カスタムOAuth アプリの作成 を参照してください。 OAuth アクセストークンの取得

以下を設定して、接続してください。

  • OAuthClientId:アプリケーション設定のクライアントId。
  • OAuthClientSecret:アプリケーション設定のクライアントシークレット。
  • CallbackURL:アプリケーション設定のリダイレクトURL。
接続すると、Cloud はデフォルトブラウザでOAuth エンドポイントを開きます。ログインして、アプリケーションにアクセス許可を与えます。 OAuthAccessToken 接続プロパティをストアドプロシージャで返されたアクセストークンに設定し、データに接続します。ExpiresIn 秒後に、アクセストークンの期限が切れたときは、GetOAuthAccessToken を呼び出し、新しいアクセストークンを取得します。

ヘッドレスマシン

ヘッドレスマシンのユーザーアカウントでOAuth を使用するようにドライバーを設定するには、インターネットブラウザに対応した別の端末で認証する必要があります。

  1. 以下のオプションから選択します。
    • オプション1:後述の「Verifier code を取得および交換」に従い、OAuthVerifier 値を取得します。
    • オプション2:インターネットブラウザに対応したマシンにCloud をインストールし、後述の「OAuth 設定を転送」の説明に従い、通常のブラウザベースのフローで認証後にOAuth 認証値を転送します。
  2. 次に、ヘッドレスマシンからアクセストークンを自動的にリフレッシュするようにCloud を設定します。

オプション1:Verifier code を取得および交換

Verifier code を取得するには、OAuth Authorization URL で認証する必要があります。

インターネットブラウザに対応したマシンから認証してOAuthVerifier 接続プロパティを取得する方法は次のとおりです。

  1. 以下のオプションから選択します。
    • 埋め込みOAuth アプリケーションを使用する場合は、Salesforce Marketing Cloud OAuth endpoint をクリックし、ブラウザでエンドポイントを開きます。
    • カスタムOAuth アプリケーションを使用するには、以下のプロパティを設定し、認証URL を作成します。
      • InitiateOAuth:OFF に設定。
      • OAuthClientId:アプリケーションの登録時に割り当てられたクライアントId に設定。
      • OAuthClientSecret:アプリケーションの登録時に割り当てられたクライアントシークレットに設定。
      次に、適切なCallbackURL を指定してrpgrestsp-getoauthauthorizationurl ストアドプロシージャを呼び出します。ストアドプロシージャによって返されたURL をブラウザで開きます。
  2. ログインして、Cloud にアクセス許可を与えます。すると、verifier code を含むコールバックURL にリダイレクトされます。
  3. verifier code の値を保存します。後ほどこれをOAuthVerifier 接続プロパティに設定します。
次に、OAuth verifier code をOAuth リフレッシュトークンおよびアクセストークンと交換する必要があります。次のプロパティを設定します。

ヘッドレスマシンでは、次の接続プロパティを設定してOAuth 認証値を取得します。

  • InitiateOAuth:REFRESH。
  • OAuthVerifier:verifier code。
  • OAuthClientId:(カスタムアプリケーションのみ)カスタムOAuth アプリケーション設定のクライアントId。
  • OAuthClientSecret:(カスタムアプリケーションのみ)カスタムOAuth アプリケーション設定のクライアントシークレット。
  • OAuthSettingsLocation:InitiateOAuth がGETANDREFRESH、またはREFRESH に設定されている場合に、OAuth 値が保存される設定ファイルの場所。代わりに、'memory://' で始まる値を指定することで、この場所をメモリに保持することができます。この接続プロパティを設定すると、データは接続間で永続化されます。

OAuth 設定ファイルが生成されたら、以下のように接続プロパティをリセットする必要があります。

  • InitiateOAuth:REFRESH。
  • OAuthClientId:(カスタムアプリケーションのみ)アプリケーションの登録時に割り当てられたクライアントId。
  • OAuthClientSecret:(カスタムアプリケーションのみ)アプリケーションの登録時に割り当てられたクライアントシークレット。
  • OAuthSettingsLocation:暗号化されたOAuth 認証値が保存される場所。アクセストークンの自動リフレッシュを有効にするために、この場所がCloud に読み書きのアクセス許可を与えることを確認してください。

オプション2:OAuth 設定を転送

ヘッドレスマシンでの接続に先立ち、インターネットブラウザに対応したデバイスでドライバーとの接続を作成し、インストールする必要があります。上述の「デスクトップアプリケーション」の説明に従って、接続プロパティを設定します。

「デスクトップアプリケーション」の手順が完了すると、生成された認証値は、OAuthSettingsLocation で指定された場所に暗号化されて書き込まれます。デフォルトのファイル名はOAuthSettings.txt です。

接続が正常にテストされたら、OAuth 設定ファイルをヘッドレスマシンにコピーします。

ヘッドレスマシンでは、次の接続プロパティを設定します。

  • OAuthClientId:(カスタムアプリケーションのみ)アプリケーションの登録時に割り当てられたクライアントId。
  • OAuthClientSecret:(カスタムアプリケーションのみ)アプリケーションの登録時に割り当てられたクライアントシークレット。
  • OAuthSettingsLocation:OAuth 設定ファイルの場所。アクセストークンの自動リフレッシュを有効にするために、この場所がCloud に読み書きのアクセス許可を与えることを確認してください。

サーバー間(OAuthClient)

Salesforce Marketing Cloud でアプリケーションを作成する際、サーバー間認証を選択できます。この場合、アプリケーションの権限はSalesforce Marketing Cloud UI で直接設定されます。そのため、ユーザーコンテキストが存在せず、ブラウザベースのログインや権限付与はありません。このスキームでは、独自のクレデンシャルを作成する必要があります。

アプリケーションでサーバー間OAuth 認証を有効にするには、次のプロパティを指定します。

  • AuthScheme:OAuthClient。
  • InitiateOAuth:GETANDREFRESH。
  • OAuthClientId:クライアントId。
  • OAuthClientSecret:クライアントシークレット。
  • Subdomain:Salesforce Marketing Cloud API サブドメインを指定。

ユーザー名 / パスワード アカウント(Basic)

Salesforce Marketing Cloud SOAP API は、ログイン資格情報またはOAuth 認証のいずれかを使用して接続できます。 この認証スキームは、REST API ベースのアプリケーションでは利用できないことに注意してください。

ログイン資格情報認証を使用してデータに接続するには、以下を設定します。

  • AuthScheme:Basic。
  • User:Salesforce Marketing Cloud ユーザーアカウント。
  • Password:ユーザーの認証に使用するパスワード。
  • UseLegacyAuthentication:True。

CData Cloud

カスタムOAuth アプリの作成

アプリの作成

次の手順に従ってアプリケーションを作成および登録し、OAuth クライアントクレデンシャル、クライアントID およびクライアントシークレットを取得します。

  1. Salesforce Marketing Cloud にログインして、Marketing Cloud | 管理 | インストール済みパッケージ に進みます。
  2. 次をクリックします。[新規]
  3. パッケージ名と説明を指定します。
  4. パッケージを保存します。保存されたパッケージには重要なデータが含まれています。各フィールドの詳細については、[インストール済みのパッケージの定義]を参照してください。自分のアカウントで作成されたパッケージに対してのみ、パッケージID、JWT 署名シークレット、およびソースアカウントが表示されることに注意してください。
  5. [コンポーネント]で次をクリックします。[コンポーネントの追加]
  6. 次を選択します。[API Integration]
  7. パッケージが拡張機能をサポートしている場合、連携の種別としてServer-to-Server またはWeb App を選択する必要があります。
  8. インテグレーションに適切なスコープを割り当てます。
    • [Perform server-to-server requests...] がすべてのAPI インテグレーションで自動的に選択されます。
    • このパッケージがMarketing Cloud アプリケーションを含んでいる場合は、[Perform requests on behalf of the user...] を選択します。
    • API 呼び出しのMarketing Cloud スコープを選択します。パッケージに必要なスコープだけを割り当てます。
  9. コンポーネントを保存します。
  10. クライアントID およびクライアントシークレットは、コンポーネントの詳細にあります。

CData Cloud

SalesforceMarketingCloud データエクステンションからの選択

Cloud は、データエクステンションからデータを選択、挿入、更新、および削除する機能をリレーショナルデータベースとして提供します。 データエクステンションをクエリするには、DataExtensionObject_Name という形式で名前を入力するだけです。Name はデータエクステンションの名前です。

Note:Salesforce Marketing Cloud のデータ拡張オブジェクトに接続するには、SOAP API を使用する必要があります。Schema をSOAP に設定します。

データエクステンションからのデータの選択


SELECT * FROM DataExtensionObject_fsefes3

SELECT * FROM DataExtensionObject_fsefes3 WHERE FieldName1 = 'One'

Note 1:通常のテーブル/ビューで機能するすべてのフィルタは、データエクステンションでも機能します。

Note 2:デフォルトでは、Salesforce Marketing Cloud はLoggedIn ClientId のデータを取得します。複数のClientID の結果を取得するには、区切り文字としてセミコロン (;) を使用します。ClientID には、Enterprise 2.0、On-Your-Behalf、Lock & Publish などのアカウントやサブアカウントを指定できます。

SELECT * FROM DataExtensionObject_fsefes3 WHERE ClientID = '1234567'

データエクステンションへのデータの挿入


INSERT INTO DataExtensionObject_fsefes3 (FieldName1, FieldName2, FieldName3) VALUES ('One', 'Two', 'Three')

データエクステンションのデータの更新


UPDATE DataExtensionObject_secondtest15 SET [Name] = 'ChangedFromTheApi' WHERE [Email Address] = '[email protected]'

Note:更新が機能するためには、このデータエクステンションのための主キーが存在する必要があります。

データエクステンションからのデータの削除


DELETE FROM DataExtensionObject_secondtest15 WHERE [Email Address] = '[email protected]'

Note:削除が機能するためには、このデータエクステンションのための主キーが存在する必要があります。

CData Cloud

SSL の設定

SSL 設定のカスタマイズ

デフォルトでは、Cloud はサーバーとのTLS のネゴシエーションを試みます。サーバー証明書は、デフォルトのシステム信頼済み証明書ストアで検証されます。SSLServerCert 接続プロパティを使用して、証明書の検証方法をオーバーライドできます。

別の証明書を指定するには、SSLServerCert 接続プロパティを参照してください。

CData Cloud

ファイアウォールとプロキシ

Firewall またはProxy 経由の接続

HTTP プロキシ

HTTP プロキシへの認証には、以下のように設定します。

  • ProxyServer:HTTP トラフィックをルートするプロキシサーバーのホストネームもしくはIP アドレス。
  • ProxyPort:プロキシサーバーが起動しているTCP ポート。
  • ProxyAuthScheme:プロキシサーバーに対して認証する際にCloud が使用する認証方法。
  • ProxyUser:プロキシサーバーに登録されているユーザーアカウントのユーザー名。
  • ProxyPassword:ProxyUser に紐付けられたパスワード。

その他のプロキシ

次のプロパティを設定します。

  • プロキシベースのファイヤーウォールを使用するには、FirewallType、FirewallServer、およびFirewallPort を設定します。
  • 接続をトンネルするには、FirewallType をTUNNEL に設定します。
  • 認証するには、FirewallUser とFirewallPassword を設定します。
  • SOCKS プロキシへの認証には、さらにFirewallType をSOCKS5 に設定します。

CData Cloud

データモデル

CData Cloud は、REST API とSOAP API の2つのSalesforce Marketing Cloud API をリレーショナルデータベースとしてモデル化します。Schema プロパティを設定し、各セクションの情報を使用してプロジェクトのニーズに基づく適切なAPI を選択してください。

REST API の使用

REST API はSalesforce Marketing Cloud 機能への幅広いアクセスを公開します。すべての新しいSalesforce Marketing Cloud テクノロジーはREST API を実装しています。REST API で利用可能なエンティティについては、REST データモデル を参照してください。

SOAP API の使用

SOAP API は、大部分のE メール機能への包括的なアクセスを提供します。SOAP API はSOAP エンベロープを使用して、ユーザーとSalesforce Marketing Cloud との間で情報を渡します。SOAP API で利用可能なエンティティについては、SOAP データモデル を参照してください。

CData Cloud

REST データモデル

Cloud は、Salesforce Marketing Cloud REST API をデータベーステーブル およびストアドプロシージャ としてモデル化します。これらはスキーマファイルにて定義されます。スキーマファイルは、スキーマを簡単にカスタマイズできるシンプルなテキストベースのコンフィギュレーションファイルです。

このセクションでは、API の制限および要件について説明します。既定のSupportEnhancedSQL 機能を使って、これらの制限の大半を回避できます。

テーブル

テーブル では、利用可能なテーブルを説明します。テーブルは、Assets、Categories、Journeys などを静的にモデル化するように定義されています。

ストアドプロシージャ

ストアドプロシージャ は、Salesforce Marketing Cloud のファンクションライクなインターフェースです。ストアドプロシージャallow you toexecute操作to Salesforce Marketing Cloud, includingダウンロードandアップロード中コントロール.

CData Cloud

テーブル

Cloud はSalesforce Marketing Cloud のデータを、標準のSQL ステートメントを使用してクエリできるリレーショナルデータベースのテーブルのリストとしてモデル化します。

CData Cloud - Salesforce Marketing Cloud テーブル

Name Description
Assets Create, update, delete and query assets from your SalesForce Marketing Cloud account.
Callbacks Create, update, delete and query event notification callbacks
Campaigns Create, update, delete and query Campaigns.
Categories Create, update, delete and query categories(folders) in Content Builder.
EventDefinitions Create, delete and query event definitions.
FacebookMessengerProperties Query and create Facebook messenger properties.
JourneyActivities Create, update and query journey activities.
Journeys Create, update, delete and query journeys.
LineMessengerProperties Query and create Line messenger properties.
SendDefinitions Create, update, delete and query send definitions.
Subscriptions Create, update, delete and query event notification subscriptions.

CData Cloud

Assets

Create, update, delete and query assets from your SalesForce Marketing Cloud account.

Table Specific Information

Select

Select all assets:

SELECT * FROM ASSETS

Retrieve a specific asset:

SELECT * FROM ASSETS WHERE ID = 20088

Advanced server side filtering using 'AND' and 'OR' logical operators are supported for this table. You can check in the table info if the column has supported filters. All the columns which have supported filters, also can be sorted server side.

SELECT * FROM ASSETS WHERE (Id = 5895 OR Id = 19442) AND EnterpriseId = 7307527 ORDER BY Name ASC, Id DESC

Insert

To create an Asset, you will need to specify at least the Name and TypeId column.

INSERT INTO ASSETS (TypeID, TypeName, Name) VALUES (207, 'templatebasedemail', 'First_Based_Template_Email_CData')

Update

Assets may be modified by providing the Id of the Asset and issuing an UPDATE statement.

UPDATE ASSETS SET Description = 'This is an updated asset.', Data = '
  "campaigns": {
    "campaigns": [
      {
        "campaignId": 12345,
        "campaignAssociationId": 2387
      }
    ]
  },
  "email": { } ... }'  WHERE ID = 19442

Delete

Assets may be deleted by providing the Id of the Asset and issuing a DELETE statement.

DELETE FROM ASSETS WHERE ID = 20027

Columns

Name Type ReadOnly References Filters Description
Id [KEY] Integer True =,!=,<,<=,>,>=

The Id of the Asset.

CustomerKey String False =,!=

Reference to customer's private ID/name for the asset.

ObjectId String True

System-controlled, read-only text string identifier for object.

Name String False =,!=

Name of the asset, set by the client.

Description String False =,!=

Description of the asset, set by the client.

OwnerId Integer True =,!=,<,<=,>,>=

The Id of the asset owner.

OwnerName String True =,!=

The name of the asset owner.

OwnerEmail String True =,!=

The email of the asset owner.

OwnerUserId Integer True

The user Id of the asset owner.

CreatedDate Datetime True =,!=,<,<=,>,>=

The datetime when the asset was created.

CreatorId Integer True =,!=,<,<=,>,>=

The Id of the asset creator.

CreatorName String True

The name of the asset creator.

CreatorEmail String True

The email of the asset creator.

CreatorUserId Integer True

The user Id of the asset creator.

ModifiedDate Datetime True =,!=,<,<=,>,>=

The last datetime when the asset was modified.

ModifierId Integer True =,!=,<,<=,>,>=

The Id of the asset modifier.

ModifierName String True

The name of the asset modifier.

ModifierEmail String True

The email of the asset modifier.

ModifierUserId Integer True

The user Id of the asset modifier.

EnterpriseId Integer True =,!=,<,<=,>,>=

A short description of the ...

MemberId Integer True =,!=,<,<=,>,>=

Marketing Cloud MID (member ID) for your account.

ActiveDate Datetime False =,!=,<,<=,>,>=

A short description of the ...

ExpirationDate Datetime False =,!=,<,<=,>,>=

A short description of the ...

ContentType String False =,!=

The type that the content attribute will be in.

TypeId Integer False =,!=,<,<=,>,>=

The Id of the asset type.

TypeName String False

The name of the asset type.

TypeDisplayName String False

The display name of the asset type.

CategoryId Integer False =,!=,<,<=,>,>=

The Id of the category where the asset is located.

CategoryName String False

The name of the category where the asset is located.

CategoryParentId Integer False

The Parent Id of the category where the asset is located.

Content String False =,!=

The actual content of the asset.

Design String False =,!=

Fallback for display when neither content nor supercontent are provided.

SuperContent String False =,!=

Content that supersedes content in terms of display.

File String False

Base64-encoded string of a file associated with an asset.

FileProperties String False

Stores the different properties that this asset refers to if it is a file type.

ForwardHtml String False

Field inside the views object.

ForwardText String False

Field inside the views object.

HtmlContent String False

Field inside the views object.

HtmlSlots String False

Field inside the views object.

HtmlTemplate String False

Field inside the views object.

Preheader String False

Field inside the views object.

SubjectLine String False

Field inside the views object.

SubscriptionCenter String False

Field inside the views object.

Text String False

Field inside the views object.

ViewAsAWebPage String False

Field inside the views object.

GenerateFrom String False

Tells the sending compiler what view to use for generating this view's content.

Slots String False

Slots within the asset.

Blocks String False

Blocks within the asset.

MinBlocks Integer False

Minimum number of blocks within an asset.

MaxBlocks Integer False

Maximum number of blocks within an asset.

AllowedBlocks String False

List of blocks that are allowed in the asset.

Template String False

Template the asset follows.

CustomFields String False

Custom fields within an asset.

Data String False

Property bag containing the asset data.

Channels String False

List of channels that are allowed to use this asset.

Version Integer True

The version of the asset.

Locked Boolean False

Specifies if the asset can be modified or not.

Status String False

The asset's status.

Tags String False

List of tags associated with the asset.

BusinessUnitAvailability String False

A dictionary of member IDs that have been granted access to the asset.

SharingProperties String False

Allows you to share content with one or more business units that have Content Builder Sharing enabled.

CData Cloud

Callbacks

Create, update, delete and query event notification callbacks

Table Specific Information

Select

Select all callbacks:

SELECT * FROM Callbacks

Retrieve a specific callback:

SELECT * FROM Callbacks WHERE CallbackId = 94766

Insert

To create a Callback, you will need to specify at least the CallbackName and Url column.

INSERT INTO [Callbacks] (CallbackName, Url) VALUES ('cb1', 'https://example.com')

Update

Callbacks may be modified by providing the CallbackId of the callback and issuing an UPDATE statement.

UPDATE [Callbacks] SET CallbackName = 'cb update' WHERE CallbackId = '34cd6cfe-5a21-4f3e-94c5-b6313a6954a4'

Delete

Callbacks may be deleted by providing the CallbackId of the callback and issuing a DELETE statement.

DELETE FROM [Callbacks] WHERE CallbackId = '43841979-7154-4fc4-9789-909dbba3a54f'

Columns

Name Type ReadOnly References Filters Description
CallbackId [KEY] String False =

The Id of the event notification callback.

CallbackName String False

The name of the event notification callback.

Url String False

The url of the event notification callback.

MaxBatchSize Integer False

Maximum batch size of the event notification callback.

Status String False

The status of the event notification callback.

StatusReason String False

The status reason of the event notification callback.

CData Cloud

Campaigns

Create, update, delete and query Campaigns.

Table Specific Information

Select

Select all campaigns:

SELECT * FROM Campaigns

Retrieve a specific Campaign:

SELECT * FROM Campaigns WHERE Id = '3130'

Insert

To create a campaign, you will need to specify at least the Name column.

INSERT INTO [Campaigns] (Name, Description, CampaignCode, Color, Favorite) VALUES ('Test Camp', 'Test Description', 'tst 001', '0000ff', true)

Update

UPDATE operations are not supported for this table.

Delete

Campaigns may be deleted by providing the CampaignId of the campaign and issuing a DELETE statement.

DELETE FROM [Campaigns] WHERE Id = '5161'

Columns

Name Type ReadOnly References Filters Description
Id [KEY] Integer True =

The Id of the Campaign.

Name String False

Name of the Campaign.

CampaignCode String False

The Campaign code.

Color String False

The Campaign color.

Favorite Boolean False

True if marked as favorite Campaign.

CreatedDate Datetime False

The exact time when the Campaign was created.

ModifiedDate Datetime False

Last time the Campaign was updated.

Description String False

Description of the Campaign.

CData Cloud

Categories

Create, update, delete and query categories(folders) in Content Builder.

Table Specific Information

Select

Select all categories:

SELECT * FROM Categories

Retrieve all categories which have a specific ParentId:

SELECT * FROM Categories WHERE ParentId = 71839

Retrieve a specific category:

SELECT * FROM Categories WHERE Id = 94766

All the columns except SharedWith and SharingType can be sorted server side:

SELECT * FROM Categories ORDER BY Name ASC

Insert

To create a Category, you will need to specify at least the Name and ParentId column.

INSERT INTO Categories (Name, ParentId, categoryType) VALUES ('New New New Folder', 71839, 'asset')

Update

Categories may be modified by providing the Id of the category and issuing an UPDATE statement.

UPDATE Categories SET SharedWith = '333,555,888', SharingType = 'edit', EnterpriseId = 12345 WHERE Id = 71839

Delete

Categories may be deleted by providing the Id of the category and issuing a DELETE statement.

DELETE FROM Categories WHERE Id = 94843

Columns

Name Type ReadOnly References Filters Description
Id [KEY] Integer True =

The Id of the category(folder) in Content Builder.

Name String False

Name of the category.

ParentId Integer False =

ID of the parent category.

CategoryType String False

The type of category, either asset or asset-shared, which is automatically set to the CategoryType of the parent category. If set to asset-shared, include the SharingProperties in the call.

EnterpriseId Integer False

ID of the enterprise this business unit belongs to.

MemberId Integer False

ID of the member who creates the category.

SharedWith String False

List of up to 100 MID IDs the category is shared with. To share the category with all business units in the enterprise, and if your account has access to Content Builder Across Enterprise Sharing, set this to 0. SharedWith cannot contain 0 and other MIDs simultaneously. Since shared categories live in and are owned by the enterprise business unit, don't include the enterprise business unit in the SharedWith property.

SharingType String False

Indicates the permission that you are granting to the list of MIDs in sharedWith. The only possible value for categories is edit.

使用できる値は次のとおりです。edit

Description String False

Description of the category.

CData Cloud

EventDefinitions

Create, delete and query event definitions.

Table Specific Information

Select

Retrieve all event definitions:

SELECT * FROM EventDefinitions

Retrieve a specific event definition:

SELECT * FROM EventDefinitions WHERE Id = '9955614b-02e7-4147-91a2-3f5f5fe9d679'

Retrieve all event definitions which are running in a specific mode:

SELECT * FROM EventDefinitions WHERE Mode = 'Test'

Retrieve all event definitions which contain the specified quoted phrase in their names:

SELECT * FROM EventDefinitions WHERE CONTAINS (Name, 'Welcome Journey')

Insert

To create an event definition, you will need to specify at least the Name and Type column. DataExtensionId is also required. If you do not specify it, you must specify the Schema column.

INSERT INTO EventDefinitions (Type, Name, DataExtensionId, IsVisibleInPicker) VALUES ('Event', 'FirstEventDefinition', '74bc3342-eaca-e711-b98f-38eaa71427a1', true)

Delete

Event definitions may be deleted by providing the Id of the event definition and issuing a DELETE statement.

DELETE FROM EventDefinitions WHERE Id = 'f10efb9e-cb91-4fc9-be50-c20f00f7f255'

Columns

Name Type ReadOnly References Filters Description
Id [KEY] String True =

The Id of the event definition.

Type String False

The type of the event definition.

使用できる値は次のとおりです。Event, ContactEvent, DateEvent, RestEvent

Name String False Contains

A name for your Event Definition that identifies the event in Marketing Cloud.

CreatedDate Datetime True

The datetime when the event definition was created.

CreatedBy Integer True

The Id of the event definition creator.

ModifiedDate Datetime True

The datetime when the event definition was updated.

ModifiedBy Integer True

The Id of the event definition modifier.

Mode String False =

The mode in which the event definitions can run.

使用できる値は次のとおりです。Production, Test

デフォルト値はProductionです。

EventDefinitionKey String False

Unique Id for an Event Definition in Marketing Cloud. Don't include special characters.

DataExtensionId String False

The ID for the data extension associated with the event. Events fired from the API write to this data extension. Required only when not providing a schema.

DataExtensionName String False

The read-only name of the data extension associated with the event.

Description String False

The description of Event Definition.

Schema String False

Schema information for an event. The call uses this information to create a data extension associated with the Event Definition. Only required when not providing a dataExtensionId value.

SendableCustomObjectField String False

Defines the subscriber key or email address within a data extension. Required when defining a schema.

SendableSubscriberField String False

Indicates type of sendable subscriber field. The default value is SubscriberKey. Required when defining a schema.

Schedule String False

Creates an automation run daily according to the defined schedule. The call automatically adds a Fire Event activity to the automation. This automation fires events from the data extension defined as part of the Event Definition.

FilterDefinitionId String False

The Id of the filter definition.

FilterDefinitionTemplate String False

The template of the filter definition.

IconUrl String False

URL to an icon displayed in Event Administration and the Journey Builder Canvas that identifies an Event Definition.

Arguments String False

Contains filter criteria for the Event Definition. Only required for types other than event.

Configuration String False

Optional configuration data for the event. Only required for types other than event.

ConfigurationArguments String False

The configuration arguments of Event Definition.

Metadata String False

Optional data describing the event and its configuration. Only required for types other than event.

InteractionCount Integer False

The interaction counter.

IsVisibleInPicker Boolean False

Indicates whether the Event Picker shows the Event Definition to users when configuring a journey.

デフォルト値はtrueです。

Category String False

Broad category of the event type.

デフォルト値はeventです。

PublishedInteractionCount Integer False

The published interaction counter.

AutomationId String False

The Id of the Automation.

CData Cloud

FacebookMessengerProperties

Query and create Facebook messenger properties.

Table Specific Information

Select

Retrieve all registred facebook messenger properties:

SELECT * FROM FacebookMessengerProperties

Retrieve a specific registred facebook messenger property:

SELECT * FROM FacebookMessengerProperties WHERE PageId = '1732555047025799'

Insert

To register a new facebook messenger property you must specify PageId, ApplicationId, ApplicationSecret, PageName, PageAccessToken, CallbackVerifyToken, EndpointUrl and ApiVersion:

INSERT INTO FacebookMessengerProperties (PageId, ApplicationId, ApplicationSecret, PageName, PageAccessToken, EndpointUrl, CallbackVerifyToken, ApiVersion) VALUES ('1732555047025799', '1093076390764037', '03d537gg656gvkbe9b430f002e9c4517', 'SFMC Engineers', 'someaccesstoken4fasdcruib213123knubkdnfisdubnu12312ub3pijnb', 'https://graph.facebook.com/v2.6/me/messages', 'this_is_the_verify_token', 'v2.0')

Columns

Name Type ReadOnly References Filters Description
PageId [KEY] String False =

The PageId of the Facebook Messenger property.

ApplicationId String False

Facebook Application Id.

ApplicationSecret String False

Facebook Application Secret.

PageName String False

Facebook Page Name.

PageAccessToken String False

Access Token required to authenticate send messages requests to Facebook networks.

CallbackVerifyToken String False

Facebook Verify Token need to verify callback events.

EndpointUrl String False

Send API url of the Facebook network.

IsActive Boolean False

Indicate if the Facebook Messenger resource is active.

ApiVersion String False

The API version of the OTT property.

CData Cloud

JourneyActivities

Create, update and query journey activities.

Table Specific Information

Select

Retrieve journey activities for the latest version of the specified journey:

SELECT * FROM JourneyActivities WHERE JourneyId = '1cb643b5-3144-4d17-80fa-a1f0035e78e2'

Retrieve journey activities for a specific journey version:

SELECT * FROM JourneyActivities WHERE JourneyId = '1cb643b5-3144-4d17-80fa-a1f0035e78e2' AND JourneyVersion = 1

Retrieve journey activities from all journeys with a specific version:

SELECT * FROM JourneyActivities WHERE JourneyVersion = 1

Insert

To create a new journey activity, you will need to specify at least the JourneyId, JourneyVersion, Type, Key, Arguments, ConfigurationArguments column.

INSERT INTO JourneyActivities (JourneyId, JourneyVersion, Type, Key, Arguments, ConfigurationArguments) VALUES ('4753026f-20b2-481b-89c5-fcd76ffa41f7', 1, 'WAIT', 'WAITBYDURATION-1', '{
  "waitEndDateAttributeDataBound": "",
  "waitDefinitionId": "f3de0c9a-5ff8-4f7b-84bd-9309ca337227",
  "waitForEventId": "",
  "executionMode": "{{Context.ExecutionMode}}",
  "startActivityKey": "{{Context.StartActivityKey}}",
  "waitQueueId": "{{Context.WaitQueueId}}"
}', '{
  "waitDuration": 1,
  "waitUnit": "DAYS",
  "specifiedTime": "",
  "timeZone": "",
  "description": "",
  "waitEndDateAttributeExpression": "",
  "specificDate": "",
  "waitForEventKey": ""
}')

Update

Journey activities may be modified by providing the Id, JourneyId, JourneyVersion and issuing an UPDATE statement.

UPDATE JourneyActivities SET Description = 'First_Journey_Activity_Description', Outcomes = '[
  {
    "key": "11bb2807-3f3d-4305-af51-547df032dbaf",
    "next": "WAITBYDURATION-1",
    "arguments": null,
    "metaData": null
  }
]' WHERE Id = 'fa4c3d81-8043-40e2-9741-22708d3a2e25' AND  JourneyId = '4753026f-20b2-481b-89c5-fcd76ffa41f7' AND JourneyVersion = 1

Columns

Name Type ReadOnly References Filters Description
Id [KEY] String True

This is the Marketing Cloud-provided unique ID for this particular activity.

JourneyId [KEY] String True

Journeys.Id

=

A unique identifier for this journey that is generated and assigned by the journey API during creation.

JourneyVersion [KEY] Integer True

Journeys.Version

=

This number denotes the iteration of this particular journey.

Key String False

This is the customer key (journey-unique) for this particular activity.

Name String False

This is the display name for this activity, it will be shown in the Journey Builder UI.

Description String False

This is the description for this activity.

Type String False

This property defines what type of activity this is. The expected input for each activity must be passed as an argument to operate correctly.

Outcomes String False

This is a json array of 'outcome' objects.

Arguments String False

This is an object which represents the arguments this particular activity expects to be passed for use at runtime. Each activity type has its own unique argument parameters which are expected.

ConfigurationArguments String False

This is an object which represents the arguments this particular activity expects to be passed for use both at publish and runtime. Each activity type has its own unique argument parameters which are expected.

CData Cloud

Journeys

Create, update, delete and query journeys.

Table Specific Information

Select

Retrieve journeys with the most recent version:

SELECT * FROM Journeys

Retrieve a journey version:

SELECT * FROM Journeys WHERE ID = '1cb643b5-3144-4d17-80fa-a1f0035e78e2' AND Version = 1

Retrieve all journey versions:

SELECT * FROM Journeys WHERE MostRecentVersionOnly = false

Retrieve journeys with a specific tag:

SELECT * FROM Journeys WHERE Tag = 'First_Tag'

Retrieve journeys which have the specified search string inside the name or description:

SELECT * FROM Journeys WHERE NameOrDescription = 'Journey'

Retrieve journeys with specific work flow API version:

SELECT * FROM Journeys WHERE workFlowApiVersion = 1

Retrieve journeys with specific version:

SELECT * FROM Journeys WHERE Version = 1

Retrieve journeys with specific status:

SELECT * FROM Journeys WHERE Status = 'Draft'

Sort Journeys according to modifiedDate or name column:

SELECT * FROM Journeys ORDER BY ModifiedDate DESC
SELECT * FROM Journeys ORDER BY Name DESC

Insert

To create a new journey, you will need to specify at least the Name column.

INSERT INTO Journeys (Name) VALUES ('API-Created journey')

To create a new journey version, you will need to specify an existing journey key.

INSERT INTO Journeys (Name, Key) VALUES ('API-Created journey Version 3', '53bf5ea2-ff59-4c00-a23a-b1e9e333b80c')

Update

Journeys may be modified by providing the Id, Version of the journey and issuing an UPDATE statement.

UPDATE Journeys SET Name = 'API-Updated journey' WHERE Id = '257c51df-d6ed-4fb6-8fbc-70e63ed52b12' AND Version = 5

Delete

Journeys may be deleted by providing the Id of the journey and issuing a DELETE statement.

DELETE FROM Journeys WHERE Id = '53bf5ea2-ff59-4c00-a23a-b1e9e333b80c'

Journey versions may be deleted by providing the Id, Version of the journey and issuing a DELETE statement.

DELETE FROM Journeys WHERE Id = '257c51df-d6ed-4fb6-8fbc-70e63ed52b12' AND Version = 5

Columns

Name Type ReadOnly References Filters Description
Id [KEY] String True =

A unique identifier for this journey that is generated and assigned by the journey API during creation.

Version Integer True =

This number denotes the iteration of this particular journey.

Key String False

The customer key (also a unique identifier within the MID) for this journey.

Name String False

The display name used in the Journey Builder UI for this journey, this will be visible to everyone who logs into your Marketing Cloud account.

Status String False =

A status description upon which to filter journeys.

使用できる値は次のとおりです。Draft, Published, ScheduledToPublish, Stopped, Unpublished, Deleted

CreatedDate Datetime True

The datetime when the journey was created.

ModifiedDate Datetime True

The datetime when the journey was updated.

LastPublishedDate Datetime True

The datetime when the journey was last published.

Description String False

The human readable description of this journey that informs others of purpose.

WorkFlowApiVersion Integer False =

The version of work flow API.

デフォルト値は1です。

Tags String False

Assigned tags to the journey.

Goals String False

This is an array of goals containing a single object.

Triggers String False

This is an array of triggers containing a single object.

Defaults String False

This object contains an ordered list of email expressions used to determine which email address to use as the default, starting with the first expression.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
MostRecentVersionOnly Boolean

A flag to indicate whether to fetch only the most recent version of matching journeys.

デフォルト値はtrueです。

Tag String

Specify a single tag to filter results to only include journeys associated with that tag.

NameOrDescription String

A search string inside the journey's name or description properties upon which to match for filtering.

CData Cloud

LineMessengerProperties

Query and create Line messenger properties.

Table Specific Information

Select

Retrieve all registred line messenger properties:

SELECT * FROM LineMessengerProperties

Retrieve a specific registred line messenger property:

SELECT * FROM LineMessengerProperties WHERE ID = '23493453984234345'

Insert

To register a new line messenger property you must specify ChannelId, ChannelName, ChannelSecret, IsTransactional, IsTestChannel, EndpointUrl and ApiVersion:

INSERT INTO LineMessengerProperties (ChannelId, ChannelName, ChannelSecret, EndpointUrl, IsTransactional, IsTestChannel, IsActive, ApiVersion) VALUES ('23493453984234345', 'SFMC Engineers', '03d537gg656gvkbe9b430f002e9c4517', 'https://example.com/1732555047025799', true, false, true, 'v2.0')");

Columns

Name Type ReadOnly References Filters Description
ChannelId [KEY] String False =

The Id of the LINE Messenger property.

ChannelName String False

LINE channel name.

ChannelSecret String False

LINE channel secret.

CustomerConnectSecret String False

LINE Customer Connect Secret needed for validating LINE inbound events when using Switcher API.

IsTransactional Boolean False

Indicate if LINE channel is Transactional or Reseller.

IsTestChannel Boolean False

Indicate if LINE channel is a Test channel.

EndpointUrl String False

Send API url of the LINE network.

IsActive Boolean False

Indicate if the LINE Messenger resource is active.

ApiVersion String False

The API version of the OTT property.

CData Cloud

SendDefinitions

Create, update, delete and query send definitions.

Table Specific Information

Select

Retrieve all send definitions:

SELECT * FROM SendDefinitions

Retrieve a specific send definition:

SELECT * FROM SendDefinitions WHERE DefinitionKey = '9955614b-02e7-4147-91a2-3f5f5fe9d679'

Retrieve all send definitions with Status as 'Active':

SELECT * FROM SendDefinitions WHERE Status = 'Active'

Insert

To create a send definition, you will need to specify at least the DefinitionKey, Name, SubscriptionsList and ContentCustomerKey column.

INSERT INTO SendDefinitions (DefinitionKey, Name, ContentCustomerKey, SubscriptionsList, OptionsCc, OptionsCreateJourney) VALUES ('TEST_Definition_Key', 'Test Definition Key', '76ad3572-abbc-4baa-b3fe-04c4364bf34a', 'All Subscribers', '[email protected]', true)

Update

To update a send definition, you will need to specify the DefinitionKey of the SendDefinition.

UPDATE SendDefinitions SET OptionsCc = '[email protected],[email protected]', OptionsBcc = '[email protected],[email protected]' WHERE DefinitionKey = 'TEST_Definition_Key'

Delete

Send definitions may be deleted by providing the Definition Key of the send definition and issuing a DELETE statement.

DELETE FROM SendDefinitions WHERE DefinitionKey = 'TEST_Definition_Key'

Columns

Name Type ReadOnly References Filters Description
DefinitionKey [KEY] String False =

Unique, user-generated key to access the definition object.

DefinitionId String True

Unique Marketing Cloud object identifier.

Classification String False

Marketing Cloud external key of a sending classification defined in Email Studio Administration. Only transactional classifications are permitted. Default is default transactional.

ContentCustomerKey String False

Unique identifier of the content asset.

CreatedDate Datetime True

Date the definition was created.

Description String False

User-provided description of the send definition.

Journey Boolean True

Indicates whether the send definition is available in Journey Builder as a Transactional Send Journey.

JourneyInteractionKey String True

Unique ID of the Transactional Send Journey.

ModifiedDate Datetime True

Date and time the definition was most recently changed.

Name String False

Name of the definition.

OptionsBcc String False

Include BCC email addresses with every send. To dynamically BCC at send time, create a profile attribute and use the %%attribute%% syntax.

OptionsCc String False

Include CC email addresses with every send. To CC dynamically at send time, create a profile attribute and use the %%attribute%% syntax.

OptionsTrackLinks Boolean False

Wraps links for tracking and reporting. Default is true.

OptionsCreateJourney Boolean False

Defines the subscriber key or email address within a data extension. Required when defining a schema.

RequestId String True

The unique identifier of this request.

Status String False =,!=

Operational state of the definition: active, inactive, or deleted. A message sent to an active definition is processed and delivered. A message sent to an inactive definition isn't processed or delivered. Instead, the message is queued for later processing for up to three days.

SubscriptionsAutoAddSubscriber Boolean False

Adds the recipient's email address and contact key as a subscriber key to subscriptions.list. Default is true.

SubscriptionsDataExtension String False

Marketing Cloud external key of the triggered send data extension. Each request inserts as a new row in the data extension.

SubscriptionsList String False

Marketing Cloud external key of the list or all subscribers. Contains the subscriber keys and profile attributes.

SubscriptionsUpdateSubscriber Boolean False

For email only: Updates the recipient's contact key as a subscriber key with the provided email address and profile attributes to subscriptions.list. Default is true.

CData Cloud

Subscriptions

Create, update, delete and query event notification subscriptions.

Table Specific Information

Select

Select all subscriptions:

SELECT * FROM Subscriptions

Retrieve a specific subscription:

SELECT * FROM Subscriptions WHERE SubscriptionId = 94766

Insert

To create a subscription, you will need to specify at least the SubscriptionName, CallbackId and EventCategoryTypes column.

INSERT INTO [Subscriptions] (SubscriptionName, CallbackId, EventCategoryTypes) VALUES ('sajli subscription', '6fb0758b-155d-4968-869d-7a4f5a3ad2fe', '[\"TransactionalSendEvents.EmailNotSent\", \"TransactionalSendEvents.EmailSent\"]')

Update

Subscriptions may be modified by providing the SubscriptionId and the EventCategoryTypes column of the subscription and issuing an UPDATE statement.

UPDATE [Subscriptions] SET Status = 'paused', EventCategoryTypes = '[\"TransactionalSendEvents.EmailNotSent\", \"TransactionalSendEvents.EmailSent\"]' WHERE SubscriptionId = 'db1e2af0-807d-463b-96e8-fe3aaa019fdb'

Delete

Subscriptions may be deleted by providing the SubscriptionId of the subscription and issuing a DELETE statement.

DELETE FROM [Subscriptions] WHERE SubscriptionId = '43841979-7154-4fc4-9789-909dbba3a54f'

Columns

Name Type ReadOnly References Filters Description
SubscriptionId [KEY] String False =

The Id of the event notification subscription.

SubscriptionName String False

The name of the event notification subscription.

CallbackId String False

Callbacks.CallbackId

=

The Id of the event notification callback.

CallbackName String False

The name of the event notification callback.

EventCategoryTypes String False

Event category types.

Filters String False

Filters.

Url String False

The url of the event notification callback.

MaxBatchSize Integer False

Maximum batch size of the event notification callback.

Status String False

The status of the event notification callback.

StatusReason String False

The status reason of the event notification callback.

CData Cloud

ビュー

ビューは、データを示すという点でテーブルに似ていますが、ビューは読み取り専用です。

クエリは、ビューに対して通常のテーブルと同様に実行することができます。

CData Cloud - Salesforce Marketing Cloud ビュー

Name Description
AssetTypes Get all available asset types in Salesforce Marketing Cloud.
CampaignAssets Retrieve all campaign assets in Salesforce Marketing Cloud.
Contact Retrieve contacts in Salesforce Marketing Cloud.
Contacts Retrieve all contacts in Salesforce Marketing Cloud.
JourneyAuditLogs Retrieves an audit log of a journey and its versions.
JourneyHistory Retrieves the history of a journey. Record access cannot exceed 1 GB of file size data.
SmsStatusCodes Query sms status codes.
TransactionalMessages Gets a paginated list of messages that were not sent, ordered from oldest to newest.

CData Cloud

AssetTypes

Get all available asset types in Salesforce Marketing Cloud.

Table Specific Information

Select

Retrieve all asset types:

SELECT * FROM AssetTypes

Columns

Name Type References Description
Id [KEY] Integer

Assets.TypeId

The Id of the asset type.
Name String The name of the asset type.
IsBaseAssetType Boolean Whether the asset type is a base asset type or not.
ParentId Integer The Id of the parent asset type.

CData Cloud

CampaignAssets

Retrieve all campaign assets in Salesforce Marketing Cloud.

View Specific Information

Select

Select all campaign assets for a specific campaign:

SELECT * FROM CampaignAssets WHERE CampaignId = '3130'

Retrieve a specific Campaign:

SELECT * FROM CampaignAssets WHERE CampaignId = '3130' AND Id = '3325'

Columns

Name Type References Description
Id [KEY] Integer The Id of the campaign asset.
CampaignId Integer

Campaigns.Id

CampaignId assosiated with the asset.
Type String Type of the campaign asset.
ItemId String Internal object id.
CreatedDate Datetime The exact time when the asset was created.

CData Cloud

Contact

Retrieve contacts in Salesforce Marketing Cloud.

Table Specific Information

Select

Retrieve all contacts:

SELECT * FROM Contact
Note: Most columns for this table are dynamic so they may not be the same as the columns specified below because you can have a different Contact schema in your Salesforce marketing cloud account.
Contacts that are in a deleted, deleting, or restricted state are not retrieved.

Columns

Name Type References Description
ContactID [KEY] Int The system defined identifier of the contact.
ContactKey String The user defined identifier of the contact.

CData Cloud

Contacts

Retrieve all contacts in Salesforce Marketing Cloud.

Table Specific Information

Select

Retrieve all contacts:

SELECT * FROM Contacts
Note: Most columns for this table are dynamic so they may not be the same as the columns specified below because you can have a different Contact schema in your Salesforce marketing cloud account.
Contacts that are in a deleted, deleting, or restricted state are not retrieved.

Columns

Name Type References Description
GroupConnect LINE Demographics.Address ID String This is an autogenerated description
GroupConnect LINE Demographics.Contact ID Long This is an autogenerated description
GroupConnect LINE Demographics.Contact Key String This is an autogenerated description
Contact.Contact ID [KEY] Int The system defined identifier of the contact.
Contact.Contact Key String The user defined identifier of the contact.
Email Demographics.Contacts ID Long This is an autogenerated description
Email Demographics.NewAttrTest String Test new attr
Email Demographics.NewAttrTest1 String New Attr test
Email Demographics.NewAttrTest 2 String NewAttrTest 2
Email Demographics.tet String test
Email Addresses.Email Address String This is an autogenerated description
Email Addresses.HTML Enabled Bool This is an autogenerated description
MobileConnect Demographics.Contact ID Long This is an autogenerated description
MobileConnect Demographics.Locale String This is an autogenerated description
MobileConnect Demographics.Mobile Number String This is an autogenerated description
MobilePush Demographics.Application String This is an autogenerated description
MobilePush Demographics.Contact ID Long This is an autogenerated description
MobilePush Demographics.Device ID String This is an autogenerated description
Contact.Business Unit ID Int This is an autogenerated description
Email Addresses.Member ID Int This is an autogenerated description
Email Addresses.List ID Int This is an autogenerated description

CData Cloud

JourneyAuditLogs

Retrieves an audit log of a journey and its versions.

Columns

Name Type References Description
JourneyId String

Journeys.Id

A unique identifier for this journey that is generated and assigned by the journey API during creation.
JourneyVersion Integer

Journeys.Version

This number denotes the iteration of this particular journey.
Key String The customer key (also a unique identifier within the MID) for this journey.
Action String The actions used to build your audit log.

使用できる値は次のとおりです。all, create, modify, publish, unpublish, delete

デフォルト値はallです。

Name String This is the display name for this activity, it will be shown in the Journey Builder UI.
Description String This is the description for the journey.
ActionDate Datetime The datetime of the action.
UserId Integer Id of user who performed the action.
UserName String Name of user who performed the action.
ExecutionMode String The execution mode in which the journey is running.
OriginalDefinitionId String The original definition Id of the journey.
PublishRequestId String The Id of the publish request.
PublishStatus String The status of the journey publication.
Errors String Errors occurred during the action.
ContactsEjected String Ejected Contacts when journey is stopped.

CData Cloud

JourneyHistory

Retrieves the history of a journey. Record access cannot exceed 1 GB of file size data.

Table Specific Information

Select

Retrieves information about a specific contact, journey, or journey version:

SELECT * FROM JourneyHistory

Retrieves information about a specific contact, journey, or journey version within the specified date range.:

SELECT * FROM JourneyHistory where StartDate='2022-09-01T10:29:22.438Z' and EndDate = '2022-09-30T11:29:22.438Z'

NOTE: A maximum of 10k records can be retrieved using JourneyHistory. If only StartDate is mentioned, it will retrieve a maximum of 10k records from the StartDate. If both StartDate and EndDate are mentioned, it will fetch the first 10k records.

Columns

Name Type References Description
Id String A unique identifier for this journey history that is generated and assigned by the journey API when the journey is in running state.
ActivityId String A unique identifier for this activity that is generated and assigned by the journey API when the activity is created.
ActivityName String The activity name.
ActivityType String The type of activity.
ClientStatus String The client status.
ContactKey String The customer key (also a unique identifier within the MID) for this journey.
CreatedDate Datetime The datetime when the journey was created.
DefinitionId String The definition Id.
DefinitionInstanceId String The definition instance Id.
DefinitionName String The definition name.
EndDate Datetime The end datetime value.
EntrySource String The entry source.
EpochTimeInMilliseconds Long The epoch time in milliseconds.
EventId String The event Id.
EventName String The event name.
LongId String The long Id.
Mid String The Marketing Cloud member Id (MID).
Message String The message.
OutcomeActivityId String The outcome activity Id.
ResultMessages String The result messages.
ResultOutcomes String The result outcomes.
ResultStatus String The result status.
ResultTags String The result tags.
SourceType String The source type.
StartDate Datetime The start datetime value.
Status String The status of the journey history.
TransactionTime Datetime The transaction datetime.

CData Cloud

SmsStatusCodes

Query sms status codes.

Table Specific Information

Select

Retrieve all status codes for the following countries: U.S., Canada, Brazil, and India. Use these codes to evaluate and troubleshoot your SMS sends.

SELECT * FROM SmsStatusCodes

Columns

Name Type References Description
Code [KEY] Integer The SMS code.
Status String The SMS status for the respective Code.
Definition String The definition for the SMS status Code.

CData Cloud

TransactionalMessages

Gets a paginated list of messages that were not sent, ordered from oldest to newest.

Table Specific Information

Select

Select all TransactionalMessages:

SELECT * FROM TransactionalMessages

Columns

Name Type References Description
LastEventId Integer The ID of the Event from which you want the response to start.
StatusCode Integer Integer value of the reason the send did not complete. Review Email Send Error Codes for more information.
StatusMessage String The reason the send did not complete. Review Email Send Error Codes for more information.
EventCategoryType String TransactionalSendEvent event type. EmailSent indicates that the email was sent to the email provider. EmailNotSent indicates that the email was not sent and includes the reason. EmailQueued indicates that the email has not yet been processed for sending.
Timestamp String Time the event occured in Central Standard Time (no daylight savings)
DefinitionKey String Unique identifier of the definition.
EventId Integer Numeric identifier of the event.
MessageKey String Unique identifier to track message send status.
ContactKey String Unique identifier for a subscriber in Marketing Cloud.
To String Channel address of the recipient. For email, it’s the recipient's email address. For SMS, it’s the recipient's mobile number.

CData Cloud

ストアドプロシージャ

ストアドプロシージャはファンクションライクなインターフェースで、Salesforce Marketing Cloud の単純なSELECT/INSERT/UPDATE/DELETE 処理にとどまらずCloud の機能を拡張します。

ストアドプロシージャは、パラメータのリストを受け取り、目的の機能を実行し、プロシージャが成功したか失敗したかを示すとともにSalesforce Marketing Cloud から関連するレスポンスデータを返します。

CData Cloud - Salesforce Marketing Cloud ストアドプロシージャ

Name Description
CheckDataExtensionJobStatus Retrieve the status of a request to insert or upsert rows in a data extension.
CreateDataExtensionJob Insert or upsert data into a data extension asynchronously by key or ID.
CreateImportSendDeliveryReport Generates a .csv fiie containing information regarding SMS message delivery for a specific MessageList and places the report in the Enhanced FTP location for the Marketing Cloud account.
CreateKeyword Creates a keyword on an account.
CreateMessageListDeliveryReport Triggers a delivery report for messageList API.
CreateOptInMessage Creates an SMS opt-in message permitting contacts to subscribe to further SMS messages.
CreateTriggeredSend Create a triggered send object which represents a specific instance of a triggered email send.
DeleteKeyword Deletes a keyword on an account.
FireEntryEvent Fire the entry event that initiates the journey.
GetChannelViewHtml Returns the requested channel view's compiled HTML for the asset.
GetDataExtensionJobResults Retrieve the results of a request to insert or upsert rows in a data extension.
GetDeliveryStatusOfQueuedMO Retrieves the delivery status of a queued MO.
GetFileForAnAsset Gets the binary file for an asset.
GetHeaderFooterAccount Gets the default header and footer for an account.
GetHeaderFooterEmail Gets the header and footer for an email.
GetImportSendStatus Retrieves the status of a ImportSend automation.
GetImportStatus Retrieves the status of an import job.
GetJourneyPublicationStatus Retrieves the status of a journey publication.
GetMessageContactHistory Retrieves the last message sent to a mobile number.
GetMessageContactStatus Retrieves the overall delivery status of a message to a contact.
GetMessageListStatus Returns status for a message sent to a group of mobile numbers.
GetMessageSendStatus Gets the send status for a message.
GetRefreshListStatus Retrieves the refresh list status.
GetSubscriptionStatus Returns subscription status for mobile numbers or subscriber keys.
GetTrackingHistoryOfQueuedMO Retrieves the tracking history of a queued MO.
ImportAndSendMessage Imports and sends.
PostMessageToList Initiates a message to one or more contact lists.
PostMessageToNumber Initiates a message to one or more mobile numbers.
PublishJourney Publishes a journey version asynchronously.
QueueContactImport Queues a contact import.
QueueMoMessage Queues an MO message for send.
RefreshList Refreshes a list.
SendMessageToRecipient Send an OTT message to the recipient. Supported OTT networks are Facebook Messenger and LINE.
SendTransactionalMessageToMultipleRecipients Sends a message to a single recipient via a send definition.
SendTransactionalMessageToRecipient Sends a message to a single recipient via a send definition.
StopJourney Stop a running journey.

CData Cloud

CheckDataExtensionJobStatus

Retrieve the status of a request to insert or upsert rows in a data extension.

Input

Name Type Required Description
RequestId String True The unique identifier provided by a previously submitted asynchronous insert or update request.

Result Set Columns

Name Type Description
RequestStatus String The status of the asynchronous request, such as Pending, Completed, or Error.
ResultStatus String The status of the request.
HasErrors Boolean Indicates whether the results from processing the request contain any errors.
CallDateTime Datetime The date and time the asynchronous request was received.
CompletionDateTime Datetime The date and time the asynchronous request completed processing.
PickupDateTime Datetime The date and time the asynchronous request was picked up for processing.
RequestId String The unique identifier of the request to insert or upsert data rows.

CData Cloud

CreateDataExtensionJob

Insert or upsert data into a data extension asynchronously by key or ID.

Input

Name Type Required Description
DataExtensionId String False The Data Extension Id.
CustomerKey String False The Data Extension Customer Key.
RowsAggregate String False A JSON aggregate of the rows to be inserted/upserted.
Mode String False The operation to execute. Acceptable values are Insert and Upsert. Default value is INSERT.

使用できる値は次のとおりです。INSERT, UPSERT

デフォルト値はINSERTです。

Result Set Columns

Name Type Description
RequestId String The unique identifier of a successfully queued request. Use this ID in subsequent operations to retrieve the status or the results of the operation.

CData Cloud

CreateImportSendDeliveryReport

Generates a .csv fiie containing information regarding SMS message delivery for a specific MessageList and places the report in the Enhanced FTP location for the Marketing Cloud account.

Input

Name Type Required Description
TokenId String True The ID provided in the MessageList REST response.
FileName String True The name of the report file in your FTP/reports folder.

Result Set Columns

Name Type Description
Success Boolean Whether the csv file was successfully generated or not.

CData Cloud

CreateKeyword

Creates a keyword on an account.

Input

Name Type Required Description
LongCode String False The long code that the keyword will be created on.
ShortCode String False The short code that the keyword will be created on.
Keyword String False The keyword that will be created.
CountryCode String False The two letter country code specifying the country that short code belongs to.

Result Set Columns

Name Type Description
KeywordId String The Id of the created keyword.

CData Cloud

CreateMessageListDeliveryReport

Triggers a delivery report for messageList API.

Input

Name Type Required Description
TokenId String True The ID provided in the MessageList REST response.
MessageId String True The API key of the message definition (configured in the MobileConnect user interface).
FileName String True The name of the report file in your FTP/reports folder.

Result Set Columns

Name Type Description
Success Boolean Whether the delivery report was successfully triggered or not.

CData Cloud

CreateOptInMessage

Creates an SMS opt-in message permitting contacts to subscribe to further SMS messages.

Input

Name Type Required Description
LongCode String False Long code that the message will be created on. Either long code or short code is required.
ShortCode String False Short code that the message will be created on. Either long code or short code is required.
MessageName String True Name of the message.
MessageText String False Text of the message.
CountryCode String False Two-letter country code specifying the country that the short code belongs to. Required for short code.
Keyword String True Keyword to which users are subscribed
MessageOptInType String True Opt-in template: Single, Double, or Age. Single opt-in requires users to text one keyword (e.g., JOIN) to opt in. Double opt-in requires users to text in a second keyword (e.g., Y or YES) to confirm opt in. Age means double opt-in with age confirmation. It requires users to text in their age after texting JOIN. If age is above the minimum, the user is opted in.
ResponseMessage String False Response sent to users after they text in the keyword for Single. Required for Single. Not used for Double or Age.
DoubleOptInInitialMessage String False Response sent to users that asks for confirmation of opt-in (for Double) or for their age (for Age). Required for Double and Age. Not used for Single.
DoubleOptInConfirmationMessage String False Response sent to users after they text Y or YES for Double. Required for Double or Age. Not used for Single.
DoubleOptInValidResponses String False Valid responses that users can text in for Double, such as Y or YES. Required for Double. Not used for Single or Age.
OptInInvalidAgeMessage String False Response sent to users whose age is below the minimum. Required for Age. Not used for Single or Double.
MinimumAge Integer False Minimum age that users can text in and be opted in. Required for Age. Not used for Single or Double.
AllowSingleOptIn Boolean False Determines whether users receive a different response if they are already opted in: True or False.
DuplicateOptInMessage String False Response sent to users who are already opted in.
OptinErrorMessage String True Response sent to users if an error occurred while opting them in.
StartDate Date True Date the message becomes active.
EndDate Date True Date the message becomes inactive. If users try to opt in to an inactive message, they receive the default keyword response for the code or the new message that the keyword has been set up for.
NextKeyword String False Keyword to append to the next message received from users. For example, the NextKeyword is ZIP. After a user texts in JOIN, the response is 'Welcome. Please send your zip code.' Users can text in their zip code without using the keyword ZIP.

Result Set Columns

Name Type Description
MessageID String The Id of the created opt-in message.

CData Cloud

CreateTriggeredSend

Create a triggered send object which represents a specific instance of a triggered email send.

Table Specific Information

Subscriber Attributes

To create SubscriberAttributes, you must insert data in a temporary table called 'Subscribers#TEMP'.

INSERT INTO Subscribers#Temp(Order_Number,Order_Status,Purchase_Date) VALUES (1234,'received','2015-06-30 11:10:36.956')

EXECUTE CreateTriggeredSend  key='TEST_1', FromAddress='[email protected]', FromName='test', ToAddress='[email protected]',SubscriberKey='12345678', Subscribers='Subscribers#Temp'

Execute

you can execute the stored procedure.

EXECUTE CreateTriggeredSend  key='TEST_1', FromAddress='[email protected]', FromName='test', ToAddress='[email protected]',SubscriberKey='12345678'

EXECUTE CreateTriggeredSend  key='TEST_1', FromAddress='[email protected]', FromName='test', ToAddress='[email protected]', SubscriberKey='12345678', SubscriberAttributes='{\"attrname\":\"test\",\"attrname2\":22,\"attrname3\":\"testing\"}'

Input

Name Type Required Description
Key String False Defines associated triggered send definition for triggered send. This property corresponds to the external key assigned to an object in Marketing Cloud.
SendId String False ID of the entry event send definition that comes from the response when creating a TriggeredSendDefinition. Either this or the external key is required.
FromAddress String False Email address that will show as the sender.
FromName String False Name of the sender.
ToAddress String True Email address of the message recipient.
SubscriberKey String True Unique identifier defined for the message recipient.
SubscriberAttributes String False Name and value pairs for subscriber attributes defined for the message.
RequestType String False Valid values ASYNC and SYNC. Default value when not defined is ASYNC. Determines if the request is processed asychronously.

Result Set Columns

Name Type Description
Success String Returns True if triggered is created successfully otherwise return false.
RecipientSendId String Recipient Send Id generated when event send definition triggered successfully.
Messages String Defines the detailed description of the messages.

CData Cloud

DeleteKeyword

Deletes a keyword on an account.

Delete Keyword By Id

Deletes a keyword on an account given a keyword Id.

EXECUTE DeleteKeyword KeywordId = 'alm5LXNSSktGMGluRznRb1Rb1R5MDZFQTo4Njow'

Delete Keyword By Longcode

Deletes a keyword on an account given a keyword and long code.

EXECUTE DeleteKeyword LongCode = '5550003232', Keyword = 'TEST'

Delete Keyword By Shortcode

Deletes a keyword on an account given a keyword, short code, and country code.

EXECUTE DeleteKeyword ShortCode = '89239', Keyword = 'TEST', CountryCode = 'US'

Input

Name Type Required Description
KeywordId String False Encoded Id of keyword that will be deleted
Keyword String False The keyword that will be deleted.
LongCode String False The long code of the keyword that will be deleted
ShortCode String False The short code of the keyword that will be deleted.
CountryCode String False The two letter country code specifying the country that short code belongs to.

Result Set Columns

Name Type Description
Status String The current status after the delete operation.

CData Cloud

FireEntryEvent

Fire the entry event that initiates the journey.

Input

Name Type Required Description
ContactKey String True The ID that uniquely identifies a subscriber/contact.
EventDefinitionKey String True Find the EventDefinitionKey in Event Administration after the event is created and saved. This is true for both standard and custom events. Do not include a period in the event definition key.
Data String False Properties of the event. Only required if defined in a custom event or by the event.

Result Set Columns

Name Type Description
EventInstanceId String The instance id of the entry event.

CData Cloud

GetChannelViewHtml

Returns the requested channel view's compiled HTML for the asset.

Input

Name Type Required Description
AssetId Integer True The ID of the asset.
ViewName String True The name of the asset view to retrieve.
Thumbnail Boolean False Set to true to return a base64-encoded thumbnail image.
IncludeHeaderFooter Boolean False If asset has HTML or text views, set to true to include the message header and footer.
IncludeDesignContent Boolean False Set to true to include design content in the thumbnail image.
DownloadPath String False The Location of the file in which to save the compiled HTML.
Encoding String False The FileData input encoding type.

使用できる値は次のとおりです。NONE, BASE64

デフォルト値はBASE64です。

Result Set Columns

Name Type Description
Success Boolean Returns True if the download succeeded.
Compiled String A representation of the view.

CData Cloud

GetDataExtensionJobResults

Retrieve the results of a request to insert or upsert rows in a data extension.

Input

Name Type Required Description
RequestId String True The unique identifier provided by a previously submitted asynchronous insert or update request.

Result Set Columns

Name Type Description
Page String The page number to display.
PageSize String The number of data rows to include in the result.
Count String The total number of data rows added or modified as a result of the request.
Status String The status of processing the item.
ErrorCode String If the API can’t insert or update a data row, it provides an error code that categorizes the issue in that row.
Message String If the API can’t insert or update a data row, it provides a detailed description of the issue in that row.
RequestId String The unique identifier of the request to retrieve results.

CData Cloud

GetDeliveryStatusOfQueuedMO

Retrieves the delivery status of a queued MO.

Input

Name Type Required Description
TokenId String True Token Id returned for the queued MO.

Result Set Columns

Name Type Description
Tracking String The tracking history of the queued MO.

CData Cloud

GetFileForAnAsset

Gets the binary file for an asset.

Input

Name Type Required Description
AssetId Integer True The ID of the asset.
DownloadPath String False The Location where the file will be stored.

Result Set Columns

Name Type Description
Success Boolean Returns True if the download succeeded.
Content String A Base64-encoded string of the file.

CData Cloud

GetHeaderFooterAccount

Gets the default header and footer for an account.

Result Set Columns

Name Type Description
HTMLHeader String The HTML header of the salutation.
HTMLFooter String The HTML footer of the salutation.
TextHeader String The text header of the salutation.
TextFooter String The text footer of the salutation.

CData Cloud

GetHeaderFooterEmail

Gets the header and footer for an email.

Input

Name Type Required Description
AssetId Integer True The ID of the asset.

Result Set Columns

Name Type Description
HTMLHeader String The HTML header of the email.
HTMLFooter String The HTML footer of the email.
TextHeader String The text header of the email.
TextFooter String The text footer of the email.

CData Cloud

GetImportSendStatus

Retrieves the status of a ImportSend automation.

Input

Name Type Required Description
TokenID String True The ID provided in the ImportAndSend SP.

Result Set Columns

Name Type Description
Status String The status of the ImportSend automation.
LastUpdate Datetime The last date when the ImportSend automation was updated.
CreatedTime Datetime The date when the ImportSend automation was created.
StartTime Datetime The date when the ImportSend automation started.
CompletedTime Datetime The date when the ImportSend automation finished.
LastRunTime Datetime The last date when the ImportSend automation was running.
Source String The source of the ImportSend automation.
Inserted Integer Number of new records in _MobileSubscription.
Updated Integer Number of updated records.
Invalid Integer Number of invalid rows in the import file.

CData Cloud

GetImportStatus

Retrieves the status of an import job.

Input

Name Type Required Description
ListID String True The ID of the List found in the MobileConnect interface.
TokenID String True The unique ID returned when using the ImportQueue operation.

Result Set Columns

Name Type Description
Status String The message text sent in the SMS message.

CData Cloud

GetJourneyPublicationStatus

Retrieves the status of a journey publication.

Input

Name Type Required Description
StatusId String True The status ID of a journey publication.

Result Set Columns

Name Type Description
Status String The publishing status for the specified statusId.

CData Cloud

GetMessageContactHistory

Retrieves the last message sent to a mobile number.

Input

Name Type Required Description
MessageId String True Message Id provided for the messageContact.
TokenId String True Token Id returned for the messageContact.
MobileNumber String True Mobile number for the messageContact.

Result Set Columns

Name Type Description
Count Integer The total of mobile numbers included in the send request subtracting the number of unsubscribed recipients.
CreateDate Datetime Date when the MessageContact send was submitted.
Status String Delivery status of a message to a contact.
History String History information related to the last message sent to a mobile number.

CData Cloud

GetMessageContactStatus

Retrieves the overall delivery status of a message to a contact.

Input

Name Type Required Description
MessageId String True Message Id provided for the messageContact.
TokenId String True Token Id returned for the messageContact.

Result Set Columns

Name Type Description
Message String The message text sent in the SMS message.
Count Integer The total of mobile numbers included in the send request subtracting the number of unsubscribed recipients.
CreateDate Datetime Date when the MessageContact send was submitted.
CompleteDate Datetime Date when the send completed.
Status String Delivery status of a message to a contact.
Tracking String Tracking information related to the delivery status of a message to a contact.

CData Cloud

GetMessageListStatus

Returns status for a message sent to a group of mobile numbers.

Input

Name Type Required Description
MessageId String True Message Id provided for the messageList.
TokenId String True Token Id returned for the messageList.

Result Set Columns

Name Type Description
Message String The message text sent in the SMS message.
Count Integer The total of mobile numbers included in the send request subtracting the number of unsubscribed recipients.
CreateDate Datetime Date when the MessageList send was submitted.
CompleteDate Datetime Date when the send completed.
Status String Delivery status of a message to a group of mobile numbers.
Tracking String Tracking information related to the delivery status of a message to a group of mobile numbers.

CData Cloud

GetMessageSendStatus

Gets the send status for a message.

EXECUTE GetMessageSendStatus MessageKey = 'bcX0qaEp0USGciEnUJTW0w'

Input

Name Type Required Description
MessageKey String True Unique identifier to track message send status.

Result Set Columns

Name Type Description
RequestId String The unique identifier of this request.
EventCategoryType String TransactionalSendEvents event type.
Timestamp String Time the event occured in Central Standard Time.
CompositeId String Marketing Cloud-specific processing identifier that can be referenced for support.

CData Cloud

GetRefreshListStatus

Retrieves the refresh list status.

Input

Name Type Required Description
ListId String True The ID of the list found in the MobileConnect interface
TokenId String True The unique ID returned when using the RefreshList operation

Result Set Columns

Name Type Description
Status String The status of the refresh list.

CData Cloud

GetSubscriptionStatus

Returns subscription status for mobile numbers or subscriber keys.

EXECUTE GetSubscriptionStatus MobileNumbers = '["15555555555"]'
EXECUTE GetSubscriptionStatus SubscriberKeys = '["ExampleSubKey1"]'

Input

Name Type Required Description
MobileNumbers String False An array of mobile numbers.
SubscriberKeys String False An array of subscriber keys.

Result Set Columns

Name Type Description
Contacts String Information about the subscription status for mobile numbers or subscriber keys.

CData Cloud

GetTrackingHistoryOfQueuedMO

Retrieves the tracking history of a queued MO.

Input

Name Type Required Description
TokenId String True Token Id returned for the queued MO.

Result Set Columns

Name Type Description
Status String The status of the refresh list.
History String History information related to the queued MO.

CData Cloud

ImportAndSendMessage

Imports and sends.

EXECUTE ImportAndSendMessage MessageId = 'MessageId', " +
          "Keyword = 'Test_Keyword'," +
          "NotificationEmail = '[email protected]'," +
          "IsDuplicationAllowed = true," +
          "IsDuplicationAllowed = true," +
          "ImportDefinition = '[{" +
          "    \"FileName\": \"MyTestList.csv\"," +
          "    \"ImportType\": \"FILE\"," +
          "    \"ImportMappingType\": \"ManualMap\"," +
          "    \"FieldMaps\": [{" +
          "      \"Destination\": \"_FirstName\"," +
          "      \"Source\": \"First Name\"" +
          "    }, {" +
          "      \"Destination\": \"_Subscriberkey\"," +
          "      \"Source\": \"Subscriber Key\"" +
          "    }, {" +
          "      \"Destination\": \"_LastName\"," +
          "      \"Source\": \"Last Name\"" +
          "    }, {" +
          "      \"Destination\": \"_MobileNumber\"," +
          "      \"Source\": \"Mobile\"" +
          "    }, {" +
          "      \"Destination\": \"_CountryCode\"," +
          "      \"Source\": \"Country\"" +
          "    }]" +
          "  }]'

Input

Name Type Required Description
MessageId String True Encoded message Id.
Keyword String True A valid keyword on the shortcode for the message to opt the numbers on to.
NotificationEmail String False If specified, email notifications will be sent on import and program completion.
Override Boolean False Flag to indicate whether the override text should be used.
OverrideText String False Text to override the existing message.
IsDuplicationAllowed Boolean False If true, duplicate messages may be sent.
IsVisible Boolean False If specified true, the import definition and list created will be visible.
ImportDefinition String True List of Import Definitions to be created (currently limited to 1).

Result Set Columns

Name Type Description
TokenId String The token Id.
LastPublishDate String The last published date.

CData Cloud

PostMessageToList

Initiates a message to one or more contact lists.

EXECUTE PostMessageToList MessageId = 'NCNSDNsd222as85dj92j2sM',  TargetListIds = ' [" +
          "        \"bzZ0cENGam1FZUtNX0poTDRYZzhlQTo2Mzow\"" +
          "    ]', OverrideTemplateTargetLists = true, OverrideTemplateExclusionLists = false, IgnoreExclusionLists = true, OverrideMessageText = false, " +
          "ContentURL = 'http://image.exct.net/lib/fe6d15707662057c7411/m/1/dj_CC_AUS.jpg'," +
          "UtcOffset = '-0500', WindowStart = '1500', WindowEnd = '2200', AllowDuplication = false

Input

Name Type Required Description
MessageId String True The encodedID can be found when creating a 'API Entry Event' type Outbound message in the UI. If you have already passed that point you can find the ID by looking at the API resource behind the scenes when you open that message in the UI.
TargetListIds String False A list of one or more List ID strings. The contacts in these Lists will be included in the send and will overwrite the Message's default inclusion lists.
OverrideTemplateTargetLists Boolean False A flag indicating TargetListIds will be provided for overriding the message default Target List Ids.
ExclusionListIds String False A list of one or more List ID strings. The contacts in these Lists will be excluded in the send and will overwrite the Message's default exclusion lists.
OverrideTemplateExclusionLists Boolean False A flag indicating ExclusionListIds will be provided for overriding the message default Exclusion List Ids.
IgnoreExclusionLists Boolean False A flag indicating that exclusion lists (even the default message exclusion lists) will not be used in the send.
OverrideMessageText Boolean False A flag indicating that the text provided should override the text stored with the Message.
MessageText String False Required when OverrideMessageText is true.
UtcOffset String False The UTC offset of the blackout window start and end times. UtcOffset is required in every REST call in order for the blackout window to be honored.
WindowStart String False The start time of the blackout window, in the UTC offset specified. To see if the SendTime is within the blackout window, convert the WindowStart and WindowEnd times to UTC and compare them to the SendTime.
WindowEnd String False The end time of the blackout window, in the UTC offset specified. To see if the SendTime is within the blackout window, convert the WindowStart and WindowEnd times to UTC and compare them to the SendTime.
SendTime Datetime False Date and Time in UTC that the message will go out. Example format: 2012-10-17 17:01. The BlackoutWindow will still be respected if used with this option. If the SendTime is set to a date and time in the past, the message will send immediately.
AllowDuplication Boolean False The same mobile number may receive multiple texts if this value is true.
ContentURL String False The URL of the media content sent via an MMS message.

Result Set Columns

Name Type Description
TokenId String A token that can be used to make a follow-up call to check the status of the request.

CData Cloud

PostMessageToNumber

Initiates a message to one or more mobile numbers.

Subscribers

The columns available for the Subscribers temporary table are the following:

ColumnDescription
MobileNumberSpecifies the mobile number used as the unique identifier for that record.
SubscriberKeySpecifies the SubscriberKey value used as the unique identifier for that record.
AttributesSet real-time attributes for individual personalization strings, per subscriber. The subscriber attribute must match the attribute string in the message. You can pass attributes that are not used as attributes in the message into the SMS send log.

Execute

Use mobile numbers for referecing contact records:

EXECUTE PostMessageToNumber MessageId = 'NCNSDNsd222as85dj92j2sM', mobileNumbers = '[" +
          "    \"13175551212\"" +
          "    ]', Subscribe = true, Resubscribe = true, keyword = 'JOINSMS', Override = true, messageText = 'Welcome to Code@', ContentURL = 'http://image.exct.net/lib/abcd/m/1/dj_CC_AUS.jpg', SendTime = '2012-10-05 20:01'

Use Subscribers#TEMP table as an alternate way for referecing contact records:

INSERT INTO Subscribers#TEMP (MobileNumber, SubscriberKey, Attributes) VALUES ('15555554410', 'ExampleSubKey1', '{" +
          "            \"FirstName\":\"Michael\"" +
          "            }')
INSERT INTO Subscribers#TEMP (MobileNumber, SubscriberKey, Attributes) VALUES ('15555552254', 'ExampleSubKey2', '{" +
          "            \"FirstName\":\"Kristen\"" +
          "            }')          
EXECUTE PostMessageToNumber MessageId = 'NCNSDNsd222as85dj92j2sM', Subscribe = true, Resubscribe = true, Keyword = 'JOINSMS', Override = false, SendTime = '2012-10-05 20:01' 

Input

Name Type Required Description
MessageId String True The encoded message ID.
MobileNumbers String False An array of one or more mobile numbers.
Subscribe Boolean False Flag to indicate a subscription should be created if none exist.
Resubscribe Boolean False Flag to indicate a subscription should be reset if currently unsubscribed.
Keyword String False The keyword must align with code on message. Required when subscribe and/or resubscribe are true.
Override Boolean False Flag to indicate that the contact has received the messageText as provided instead of the message's original text.
MessageText String False Text value to be used in place of the message's original text. This value is required when override is true.
UtcOffset String False The UTC offset of the blackout window start and end times. UtcOffset is required in every REST call in order for the blackout window to be honored.
WindowStart String False The start time of the blackout window, in the UTC offset specified. To see if the SendTime is within the blackout window, convert the WindowStart and WindowEnd times to UTC and compare them to the SendTime.
WindowEnd String False The end time of the blackout window, in the UTC offset specified. To see if the SendTime is within the blackout window, convert the WindowStart and WindowEnd times to UTC and compare them to the SendTime.
SendTime Date False Date and Time in UTC that the message will go out. Example format: 2012-10-17 17:01. The BlackoutWindow will still be respected if used with this option. If the SendTime is set to a date and time in the past, the message will send immediately.
ContentURL String False The URL of the media content sent via an MMS message.

Result Set Columns

Name Type Description
TokenId String A token that can be used to make a follow-up call to check the status of the request.

CData Cloud

PublishJourney

Publishes a journey version asynchronously.

Input

Name Type Required Description
JourneyId String True The ID of the journey to publish expressed in the form of a GUID (UUID).
JourneyVersion Integer True Version number of the journey to publish.

Result Set Columns

Name Type Description
StatusId String The status ID of a journey publication.

CData Cloud

QueueContactImport

Queues a contact import.

FieldMaps

The columns available for the FieldMaps temporary table are the following:

ColumnDescription
DestinationDestination field map.
OrdinalOrdinal field map.
SourceSource field map.

Execute


INSERT INTO FieldMaps#TEMP (destination, ordinal, source) VALUES ('_MobileNumber', 2, 'mobile number')
INSERT INTO FieldMaps#TEMP (destination, ordinal, source) VALUES ('_CountryCode', 3, 'locale')
INSERT INTO FieldMaps#TEMP (destination, ordinal, source) VALUES ('_SubscriberKey', 1, 'subscriber key')
EXECUTE QueueContactImport ListId = 'UEhwdktFWXpFZUs3Z3hRUW45R2dBQTo2Mzow', ShortCode = '90913', Keyword = 'WELCOME', SendEmailNotification = true, EmailAddress = '[email protected]', " +
          "ImportMappingType = 'MapByOrdinal', FileName = 'testdata.csv', FileType = 'csv', IsFirstRowHeader = true

Input

Name Type Required Description
ListId String True The list id.
ShortCode String False The short code.
Keyword String False The keyword.
SendEmailNotification Boolean False Send email notification.
EmailAddress String False Email address the notification goes to.
ImportMappingType String False Field mapping type.
FileName String False The name of the file, including extensions.
FileType String False The only type supported is csv.
IsFirstRowHeader Boolean False Flag indicating whether or not the first row is the header.

Result Set Columns

Name Type Description
TokenId String The token Id of the queued contact import.

CData Cloud

QueueMoMessage

Queues an MO message for send.

EXECUTE QueueMoMessage MobileNumbers = '[" +
          "  \"15555551212\"" +
          "  ]', ShortCode = '86288', MessageText = 'CODETEST'
EXECUTE QueueMoMessage Subscribers = '[    " +
          "     {   " +
          "       \"mobilenumber\": \"15555551212\",    " +
          "       \"subscriberkey\": \"0_MC1652\"   " +
          "     },    " +
          "     {   " +
          "       \"mobilenumber\": \"15555551213\",    " +
          "       \"subscriberkey\": \"0_MC1652\"   " +
          "     }   " +
          "   ]', ShortCode = '86288', MessageText = 'CODETEST'

Input

Name Type Required Description
MobileNumbers String False An array of mobile numbers used in the send. Either the mobileNumbers or subscribers property is required, but not both.
Subscribers String False An array of subscriber keys and mobile numbers used in the send. Either the mobileNumbers or subscribers property is required, but not both.
ShortCode String True The short code.
MessageText String True The text value.

Result Set Columns

Name Type Description
Results String Results related to the queue process of an MO message for send.

CData Cloud

RefreshList

Refreshes a list.

Input

Name Type Required Description
ListId String True The Id of the list to refresh.

Result Set Columns

Name Type Description
TokenId String The token Id which can be used to check the status of the request.

CData Cloud

SendMessageToRecipient

Send an OTT message to the recipient. Supported OTT networks are Facebook Messenger and LINE.

MessageContents

You cannot send an OTT message to the recipient without specifying the content of the message. To create message contents, you must insert data in a temporary table called 'MessageContents#TEMP'. The columns available for this temporary table are the following:

ColumnDescription
TypeIndicates the message content type of the send request with values: text, image, audio, video, native.
TextMessage text to be sent out to the recipient. Required for 'text' type message content.
UrlURL of the multimedia attachment to be sent out to the recipient. Required for 'image, audio, video' type message content.
AltUrlAlternate URL of the multimedia attachment to be sent out to the recipient. Required for LINE for 'image, video' type message content.
DurationLength of the audio multimedia attachment to be sent out to the recipient. Required for LINE for 'audio' type message content.
NativePayloadOtt-network-specific blob of JSON payload passed in message request.
IsReusableIndicates if a multimedia attachment can be reused for future messages. Only supported for Messenger.
AttachmentIdAttachment Id of a reusable multimedia asset. Only supported for Messenger.

MessageCustomKeys

You can also specify message custom keys to pass-through in the message payload by inserting data in a temporary table called 'MessageCustomKeys#TEMP'. The columns available for this temporary table are the following:

ColumnDescription
messagingTypeIndicates the messaging_type of a messenger send request with values: RESPONSE, UPDATE, MESSAGE_TAG. Required for Messenger send requests.
tagMessage Tag of a messenger send request. Required for Messenger send request if messagingType = Message_TAG.
notificationTypeIndicates the push notification type for message send request with values: REGULAR, SILENT_PUSH, NO_PUSH. Required for Messenger. Optional for Messenger send requests.

Execute

Messenger message send:

INSERT INTO MessageContents#TEMP (type, text) VALUES ('text', 'thanks for purchase')
INSERT INTO MessageCustomKeys#TEMP (messagingType) VALUES ('RESPONSE')
EXECUTE SendMessageToRecipient MessageKey = 'e1c35141-6e5c-4bc2-813b-60f969e52b0d', MessageGroupKey = 'CanBeAGUIDorAny100UnicodeCharString', SenderType = 'messenger', SenderId = '503868699681937', OttId = 'FBfacdb735074f7c492c0bf190fa99020', UserReference = '1938cd4d34cc4db0b109756b8a9b14ff', Subject = 'Message Name', ValidityPeriod = 30"

Different Messenger Content Types:

INSERT INTO MessageContents#TEMP (type, url, AltUrl, IsReusable, AttachmentId) VALUES ('image', 'https://example.com/original.jpg', 'https://example.com/preview.jpg', true, 12345)
INSERT INTO MessageCustomKeys#TEMP (messagingType) VALUES ('RESPONSE')
EXECUTE SendMessageToRecipient MessageKey = 'e1c35141-6e5c-4bc2-813b-60f969e52b0d', MessageGroupKey = 'CanBeAGUIDorAny100UnicodeCharString', SenderType = 'messenger', SenderId = '503868699681937', OttId = 'FBfacdb735074f7c492c0bf190fa99020', UserReference = '1938cd4d34cc4db0b109756b8a9b14ff', Subject = 'Message Name', ValidityPeriod = 30"

LINE message send:

INSERT INTO MessageContents#TEMP (type, text) VALUES ('text', 'thanks for purchase')
INSERT INTO MessageCustomKeys#TEMP (messagingType) VALUES ('RESPONSE')
EXECUTE SendMessageToRecipient MessageKey = 'CanBeAGUIDorAny100UnicodeCharString', MessageGroupKey = 'CanBeAGUIDorAny100UnicodeCharString', SenderType = 'line', SenderId = '2145435435632435', OttId = 'U42348yafsd8y3248yfsq8cy9088934d', UserReference = '1938cd4d34cc4db0b109756b8a9b14ff', Subject = 'Message Name', ValidityPeriod = 30"

Input

Name Type Required Description
MessageKey String True User-defined message identifier.
MessageGroupKey String False User-defined message identifier to group a number of send requests.
SenderType String True Indicates the name of the OTT network the resource is being registered with values: line, messenger.
SenderId String True Indicates the identifier of the OTT resource sending the message: LINE Channel Id, Messenger Page Id.
OttId String True Recipient ID of the user. For LINE, if userReference is invalid, a retry is attempted with ottId as senderId.
UserReference String True Alternate Recipient ID of the user. For Messenger: user_ref can be passed as userReference. For LINE, reply_token can be passed as userReference.
Subject String False Message name.
ValidityPeriod Integer True Time period for which the request is valid.

Result Set Columns

Name Type Description
OttRequestId String The request ID of the OTT.

CData Cloud

SendTransactionalMessageToMultipleRecipients

Sends a message to a single recipient via a send definition.

Execute

Transactional message send:

For RecipientAggregate and Attributes either JSON or temp table as input. For example,

INSERT INTO RecipientAggregate#TEMP (RecipientContactKey, RecipientTo, RecipientMessageKey, RecipientAttributes) VALUES ('recipient1', '[email protected]', 'nFL4ULgheUeaGbPIMzJJSw', '{"RequestAttribute_1":"value_1", "RequestAttribute_2":"value_2", "Attribute1":"This is one for recipient1", "Attribute2":"This is two for recipient1"}');
INSERT INTO RecipientAggregate#TEMP (RecipientContactKey, RecipientTo, RecipientMessageKey, RecipientAttributes) VALUES ('recipient2', '[email protected]', 'GV1LhQ6NFkqFUAE1IsoQ9Q', '{"UserAttribute_3":"value_3", "UserAttribute_4":"value_4"}');

EXECUTE SendTransactionalMessageToMultipleRecipients DefinitionKey = '2FA_order_accounts', RecipientAggregate = 'RecipientAggregate#TEMP', Attributes = '{"UserAttribute_a":"value_a", "UserAttribute_b":"value_b"}'

INSERT INTO Attributes#TEMP (UserAttr_1, UserAttr_2) VALUES ('UserAttrValue_1', 'UserAttrValue_2');

INSERT INTO RecipientAggregate#TEMP (RecipientContactKey, RecipientTo, RecipientMessageKey, RecipientAttributes) VALUES ('recipient1', '[email protected]', 'nFL4ULgheUeaGbPIMzJJSw', '{"RequestAttribute_1":"value_1", "RequestAttribute_2":"value_2", "Attribute1":"This is one for recipient1", "Attribute2":"This is two for recipient1"}');
INSERT INTO RecipientAggregate#TEMP (RecipientContactKey, RecipientTo, RecipientMessageKey, RecipientAttributes) VALUES ('recipient2', '[email protected]', 'GV1LhQ6NFkqFUAE1IsoQ9Q', '{"UserAttribute_3":"value_3", "UserAttribute_4":"value_4"}');


EXECUTE SendTransactionalMessageToMultipleRecipients DefinitionKey = '2FA_order_accounts', RecipientAggregate = 'RecipientAggregate#TEMP', Attributes = 'Attributes#TEMP'

Input

Name Type Required Description
DefinitionKey String True Unique identifier of the definition.
RecipientContactKey String False Unique identifier for a subscriber in Marketing Cloud. Each request must include a contactKey. You can use an existing subscriber key or create one at send time by using the recipient’s email address.
RecipientTo String False Channel address of the recipient. For email, it’s the recipient's email address.
RecipientMessageKey String False Unique identifier used to track message status. Can be automatically created when you create a message or provided as part of the request. Can be up to 100 characters, and there are no restricted characters. Each recipient in a request must have a unique messageKey. If you use a duplicate messageKey in the same send request, the message is rejected.
RecipientAttributes String False Information used to personalize the message for the recipient. Written as key pairs. The attributes match profile attributes, content attributes, or triggered send data extension attributes.
RecipientAggregate String True Array of recipient objects that contain parameters and metadata for the recipients, such as send tracking and personalization attributes.
Attributes String False Information used to personalize the message for the recipient. Written as key pairs. The attributes match profile attributes, content attributes, or triggered send data extension attributes.

Result Set Columns

Name Type Description
RequestId String The unique identifier of this request.
MessageKey String Unique identifier to track message send status.
Status String The status of the send request.
ErrorMessage String The error message.

CData Cloud

SendTransactionalMessageToRecipient

Sends a message to a single recipient via a send definition.

Execute

Send a transactional message:

Attributes support either JSON or temp table as input. For example,

EXECUTE SendTransactionalMessageToRecipient MessageKey = 'e1c35141-6e5c-4bc2-813b-60f969e52b0d', DefinitionKey = 'CanBeAGUIDorAny100UnicodeCharString', RecipientContactKey = 'd3c4a2d2-b620-4a39-88aa-b14868b766c6', RecipientTo = '[email protected]', Attributes = '{"UserAttr_1":"UserAttrValue_1","UserAttr_2":"UserAttrValue_2"}'

INSERT INTO Attributes#TEMP (UserAttr_1, UserAttr_2) VALUES ('UserAttrValue_1', 'UserAttrValue_2');

EXECUTE SendTransactionalMessageToRecipient MessageKey = 'e1c35141-6e5c-4bc2-813b-60f969e52b0d', DefinitionKey = 'CanBeAGUIDorAny100UnicodeCharString', RecipientContactKey = 'd3c4a2d2-b620-4a39-88aa-b14868b766c6', RecipientTo = '[email protected]', Attributes = 'Attributes#TEMP';

Input

Name Type Required Description
MessageKey String True User-defined message identifier.
DefinitionKey String True Unique identifier of the definition.
RecipientContactKey String True Unique identifier for a subscriber in Marketing Cloud. Each request must include a contactKey. You can use an existing subscriber key or create one at send time by using the recipient's email address.
RecipientTo String False Channel address of the recipient. For email, it's the recipient's email address.
Attributes String False Information used to personalize the message for the recipient. Written as key pairs. The attributes match profile attributes, content attributes, or triggered send data extension attributes.

Result Set Columns

Name Type Description
RequestId String The unique identifier of this request.

CData Cloud

StopJourney

Stop a running journey.

Input

Name Type Required Description
JourneyId String True The ID of the journey to stop, expressed in the form of a GUID (UUID).
JourneyVersion Integer True The version number of the journey to stop.

Result Set Columns

Name Type Description
Success Boolean Whether the journey was stopped.

CData Cloud

SOAP データモデル

Cloud は、Salesforce Marketing Cloud SOAP API をデータベーステーブル およびビュー としてモデル化します。これらはスキーマファイルにて定義されます。スキーマファイルは、スキーマを簡単にカスタマイズできるシンプルなテキストベースのコンフィギュレーションファイルです。

このセクションでは、API の制限および要件について説明します。既定のSupportEnhancedSQL 機能を使って、これらの制限の大半を回避できます。

テーブル

テーブル では、利用可能なテーブルを説明します。テーブルは、Assets、Categories、Journeys などを静的にモデル化するように定義されています。

ビュー

ビュー は変更ができないテーブルです。一般的に、読み取り専用のデータはビューとして表示されます。ストアドプロシージャを使用すると、オブジェクトのダウンロードやアップロードなど、Salesforce Marketing Cloud の操作を実行できます。

CData Cloud

テーブル

Cloud はSalesforce Marketing Cloud のデータを、標準のSQL ステートメントを使用してクエリできるリレーショナルデータベースのテーブルのリストとしてモデル化します。

CData Cloud - Salesforce Marketing Cloud テーブル

Name Description
Account A Marketing Cloud account.
AccountUser An individual user within an account. This table does not support deletes.
BusinessUnit A unit within a larger Enterprise or Enterprise 2.0 account. This table supports queries and updates only.
ContentArea A ContentArea represents a defined section of reusable content.
DataExtension Represents a data extension within an account.
Email Represents an email in a Marketing Cloud account.
EmailSendDefinition Record that contains the message information, sender profile, delivery profile, and audience information.
FileTrigger Reserved for future use. This table does not suport deletes.
FilterDefinition Defines an audience based on specified rules in a filter. This table does not support inserts.
ImportDefinition Defines a reusable pattern of import options. This table does not support inserts.
List A marketing list of subscribers.
Portfolio Indicates a file within the Portfolio of a Marketing Cloud account.
ProgramManifestTemplate Reserved for future use. This table does not support deletes or inserts.
QueryDefinition Represents a SQL query activity accessed and performed by the SOAP API. This table does not support updates or inserts.
ReplyMailManagementConfiguration Details configuration settings for the reply mail management in an account. This table does not support deletes.
Send Used to send email and retrieve aggregate data. This table does not support deletes or updates.
SendClassification Represents a send classification in a Marketing Cloud account.
SenderProfile The send profile used in conjunction with an email send definition.
SMSTriggeredSend Indicates a single instance of an SMS triggered send. This table does not support deletes or updates.
Subscriber A person subscribed to receive email or SMS communication.
SuppressionListDefinition A suppression list that can be associated with different contexts.
TriggeredSendDefinition To create or update a TriggeredSendDefinition where the list ID is the All Subs List ID, you need the Email | Subscribers | All Subscribers | View and SendEmailToList permissions.

CData Cloud

Account

A Marketing Cloud account.

Table-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM Account WHERE Id = 123

SELECT * FROM Account WHERE Id IN (123, 456)

SELECT * FROM Account WHERE CreatedDate > '2017/01/25'

Insert

You must specify the Name column when executing an insert against this table.

INSERT INTO Account (Name) VALUES ('Test')

Update

You must specify the Id in the WHERE clause when executing an update against this table.

UPDATE Account SET Fax = '1123123' WHERE Id = 123

Delete

You must specify the Id in the WHERE clause when executing a delete against this table.

DELETE FROM Account WHERE Id = 123

Columns

Name Type ReadOnly Description
ID [KEY] Int False

Identifier of the account.

AccountType String False

Type of Marketing Cloud account.

使用できる値は次のとおりです。BUSINESS_UNIT, CHANNEL_CONNECT, CONNECT, DOTO_MEMBER, ENTERPRISE_2, EXACTTARGET, LP_MEMBER, None, PRO_CONNECT, PRO_CONNECT_CLIENT

ParentID Int False

Specifies the ID number of the parent account for Lock and Publish, On Your Behalf, Enterprise, and Enterprise 2.0 account children and business units.

BrandID Int False

Specifies brand tags to use on an account.

PrivateLabelID Int False

Specifies the private label for an account.

ReportingParentID Int False

Reserved for future use.

Name String False

Name of the account.

Email String False

Default email address the account. Indicates if subscriber information can be used for email sends.

FromName String False

Specifies the default email message From Name. Deprecated for email send definitions and triggered send definitions.

BusinessName String False

Business name of an account's owner.

Phone String False

Specifies a phone number.

Address String False

The address used to communicate with a Person.

Fax String False

Fax number of the account's owner.

City String False

City of an account's owner to be displayed in the physical mailing address required at the bottom of all email messages.

State String False

Specifies the geographical state of the account's owner.

Zip String False

Specifies the zip code of the account's owner.

Country String False

Country of an account's owner, as displayed in the physical mailing address required at the bottom of all email messages.

IsActive Boolean False

Specifies whether or not the account is active.

IsTestAccount Bool False

Specifies whether or not an account is a 'Test' account.

Client_ClientID1 Int True

The Client Id of the client.

DBID Int False

Reserved for future use.

CustomerID Long False

Reserved for future use.

DeletedDate Datetime True

Date and time of an account's deletion.

EditionID Int False

Specifies the product edition of the account.

ModifiedDate Datetime False

Indicates the last time account information was modified.

CreatedDate Datetime False

Date and time of the account's creation.

ParentName String False

Specifies the name of the Parent account.

Subscription_SubscriptionID String True

Reserved for future use.

Subscription_HasPurchasedEmails Bool True

Reserved for future use.

Subscription_EmailsPurchased Int True

Specifies the number of emails purchased in a subscription.

Subscription_Period String True

Reserved for future use.

Subscription_AccountsPurchased Int True

Marketing Cloud Accounts purchased.

Subscription_LPAccountsPurchased Int True

Specifies the number of Lock and Publish account purchased.

Subscription_DOTOAccountsPurchased Int True

Specifies number of Marketing Cloud agency reseller accounts purchased.

Subscription_BUAccountsPurchased Int True

Defines the number of business units purchased for a subscription.

Subscription_AdvAccountsPurchased Int True

This property represents the number of advertising accounts purchased for the account.

Subscription_BeginDate Datetime True

Specifies the date a subscription begins.

Subscription_EndDate Datetime True

Specifies the end data of an activity.

Subscription_Notes String True

Deprecated.

PartnerKey String False

Unique identifier provided by partner for an account, accessible only via API.

Client_PartnerClientKey String True

The partner client key of the client.

InheritAddress Bool False

Specifies that an Enterprise 2.0 business unit will inherit the address from the parent business unit.

UnsubscribeBehavior Int True

The behavior of the subscription when unsubscripbed.

Subscription_ContractNumber String True

Reserved for future use.

Subscription_ContractModifier String True

Reserved for future use.

IsTrialAccount Bool False

Reserved for future use.

Client_EnterpriseID Long True

Read-only identifier the enterprise of the client.

ParentAccount_ID Int False

Read-only identifier for the parent of the account.

ParentAccount_Name String True

Name of the parent of the account.

ParentAccount_ParentID Int True

Read-only identifier for the parent of the parent of this account.

ParentAccount_CustomerKey String True

The customer key of the parent account.

ParentAccount_AccountType String True

The account type of the parent account.

CustomerKey String False

User-supplied unique identifier for an object within an object type.

Locale_LocaleCode String True

The locale code of the locale.

TimeZone_ID Int True

Read-only identifier of the timezone.

TimeZone_Name String True

Name of the timezone.

Roles String False

Collection of roles defined for an account.

ContextualRoles Int True

The contextual roles of the account.

ObjectState String False

Reserved for future use.

LanguageLocale_LocaleCode String True

The locale code of the language layout.

IndustryCode String False

The code of the industry.

AccountState Int False

The state of the account.

SubscriptionRestrictionFlags Long False

Restriction flags of the subscription.

CData Cloud

AccountUser

An individual user within an account. This table does not support deletes.

Table-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM AccountUser WHERE Id = 123

SELECT * FROM AccountUser WHERE Id IN (123, 456)

SELECT * FROM AccountUser WHERE CreatedDate > '2017/01/25'

Insert

You must specify the following fields when inserting to this table: Client_Id, Name, Email, UserID, and Password.

INSERT INTO AccountUser (Client_Id, UserId, Name, Email, Password) VALUES (123, 'bcabsbasbcasb', 'Test', '[email protected]', 'testpas@2sowrd')

Update

You must specify the Id and the Client_Id in the WHERE clause when executing an update against this table.

UPDATE AccountUser SET Name = 'changed' WHERE Id = 123 AND Client_Id = 456

Columns

Name Type ReadOnly Description
ID [KEY] Int False

Identifier for an object.

CreatedDate Datetime False

Date and time of the object's creation..

ModifiedDate Datetime False

Indicates the last time object information was modified.

Client_ID [KEY] Int False

The Id of the client.

AccountUserID Int False

Specifies the Marketing Cloud identifier of an account user.

UserID String False

The Id of the user.

Name String False

Name of the object or property.

Email String False

Default email address for object. Indicates if subscriber information can be used for email sends.

MustChangePassword Bool False

Indicates whether user must change password on next login.

ActiveFlag Bool False

Specifies the status of an account user.

ChallengePhrase String False

Specifies the challenge answer for login assistance.

ChallengeAnswer String False

Specifies the challenge answer for login assistance.

IsAPIUser Bool False

Indicates if a user can use the API. A value of true indicates the user's password remains the same until actively changed.

NotificationEmailAddress String False

Indicates email address to which to send notifications.

Client_PartnerClientKey String False

The partner client key of the partner.

Password String False

Specified the password of an account user.

Locale_LocaleCode String True

The locale code of the locale.

TimeZone_ID Int True

The id of the timezone.

TimeZone_Name String True

The name of the timezone.

CustomerKey String False

User-supplied unique identifier for an object within an object type.

DefaultBusinessUnit Int False

Indicates business unit account user initially accesses.

LanguageLocale_LocaleCode String True

The locale code of the language locale.

Client_ModifiedBy Int False

Returns user ID for user who modified the object.

CData Cloud

BusinessUnit

A unit within a larger Enterprise or Enterprise 2.0 account. This table supports queries and updates only.

Table-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM BusinessUnit WHERE Id = 123

SELECT * FROM BusinessUnit WHERE Id IN (123, 456)

SELECT * FROM BusinessUnit WHERE CreatedDate > '2017/01/25'

Update

You must specify the Id in the WHERE clause when executing an update against this table.

UPDATE BusinessUnit SET Name = 'Changed' WHERE Id = 123

Columns

Name Type ReadOnly Description
ID [KEY] Int False

Identifier for an object.

AccountType String False

Type of Marketing Cloud account. Valid values are BUSINESS_UNIT, CHANNEL_CONNECT, CONNECT, DOTO_MEMBER, ENTERPRISE_2, EXACTTARGET, LP_MEMBER, None, PRO_CONNECT, PRO_CONNECT_CLIENT.

ParentID Int False

Specifies the ID number of the parent account.

BrandID Int False

Specifies brand tags to use on an account.

PrivateLabelID Int False

Specifies the private label for an account.

ReportingParentID Int False

Reserved for future use..

Name String False

Name of the object or property.

Email String False

Default email address for object.

FromName String False

Specifies the default email message From Name.

BusinessName String False

Business name of an account's owner.

Phone String False

Specifies a phone number.

Address String False

The address used to communicate with a Person.

Fax String False

Fax number of the account's owner.

City String False

City of an account's owner to be displayed in the physical mailing address required at the bottom of all email messages.

State String False

Specifies the geographical state of the account's owner.

Zip String False

Specifies the zip code of the account's owner.

Country String False

Country of an account's owner, as displayed in the physical mailing address required at the bottom of all email messages.

IsActive Bool False

Specifies whether or not the object is active.

IsTestAccount Bool False

Specifies whether or not an account is a 'Test' account.

Client_ID Int False

The Id of the client.

DBID Int False

Reserved for future use.

CustomerID Long False

The Id of the customer.

DeletedDate Datetime False

Date and time of an account's deletion (the value of this property must be set before the account can be deleted).

EditionID Int False

Specifies the product edition of the account.

IsTrialAccount Bool False

Reserved for future use.

Locale_LocaleCode String True

The locale code of the locale.

Client_EnterpriseID Long True

The enterprise Id of the client.

ModifiedDate Datetime False

Indicates the last time object information was modified.

CreatedDate Datetime False

Date and time of the object's creation.

Subscription_SubscriptionID String True

The subscription id of the subscription.

Subscription_HasPurchasedEmails Bool True

Reserved for future use..

Subscription_EmailsPurchased Int True

Specifies the number of emails purchased in a subscription..

Subscription_Period String True

Reserved for future use..

Subscription_AccountsPurchased Int True

Marketing Cloud Accounts purchased.

Subscription_LPAccountsPurchased Int True

Specifies the number of Lock and Publish account purchased.

Subscription_DOTOAccountsPurchased Int True

Specifies number of Marketing Cloud agency reseller accounts purchased.

Subscription_BUAccountsPurchased Int True

Defines the number of business units purchased for a subscription.

Subscription_AdvAccountsPurchased Int True

This property represents the number of advertising accounts purchased for the account.

Subscription_BeginDate Datetime True

Specifies the date a subscription begins..

Subscription_EndDate Datetime True

Specifies the end data of an activity..

Subscription_Notes String True

Deprecated..

Subscription_ContractNumber String True

Reserved for future use..

Subscription_ContractModifier String True

Reserved for future use..

PartnerKey String False

Unique identifier provided by partner for an object, accessible only via API.

Client_PartnerClientKey String True

Unique identifier provided by partner for an object, accessible only via API.

ParentName String False

Specifies the name of the Parent account.

ParentAccount_ID Int True

The Id of the parent account.

ParentAccount_Name String True

The name of the parent account.

CustomerKey String False

User-supplied unique identifier for an object within an object type.

Description String False

Describes and provides information regarding the object.

DefaultSendClassification_ObjectID String True

System-controlled, read-only text string identifier for object.

DefaultHomePage_ID String True

The Id of the default home page..

InheritAddress Bool False

Specifies that an Enterprise 2.0 business unit will inherit the address from the parent business unit.

ContextualRoles Int True

The contextual roles of the business unit.

LanguageLocale_LocaleCode String True

The locale code of the language locale.

CData Cloud

ContentArea

A ContentArea represents a defined section of reusable content.

Table-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM ContentArea WHERE Id = 123

SELECT * FROM ContentArea WHERE Id IN (123, 456)

SELECT * FROM ContentArea WHERE CreatedDate > '2017/01/25'

Insert

You must specify the following fields when inserting to this table: Name and Content.

INSERT INTO ContentArea (Name, Content) VALUES ('Testing', 'Hello world')

Update

You must specify the Id in the WHERE clause when executing an update against this table.

UPDATE ContentArea SET Name = 'Changed' WHERE Id = 123

Delete

You must specify the Id in the WHERE clause when executing a delete against this table.

DELETE FROM ContentArea WHERE Id = 123

Columns

Name Type ReadOnly Description
RowObjectID String False

Identifier for the row of an object.

ObjectID String False

System-controlled, text string identifier for object.

ID [KEY] Int False

Identifier for an object.

CustomerKey String False

User-supplied unique identifier for an object within an object type.

Client_ID Int False

The Id of the client.

ModifiedDate Datetime False

Indicates the last time object information was modified.

CreatedDate Datetime False

Date and time of the object's creation.

CategoryID Int False

Specifies the identifier of the folder containing the email.

Name String False

Name of the object or property.

Layout String False

Indicates layout type of content area.

IsDynamicContent Bool False

Indicates if specific content area contains dynamic content.

Content String False

Identifies content contained in a content area.

IsSurvey Bool False

Indicates whether a specific content area contains survey questions.

IsBlank Bool False

Indicates if specified content area contains no content.

Key String False

Specifies key associated with content area in HTML body.

CData Cloud

DataExtension

Represents a data extension within an account.

Table-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM DataExtension WHERE CreatedDate > '2017/01/25'

Insert

You must specify the following fields when inserting to this table: Name, CustomerKey, and Fields.

Note: The Salesforce Marketing Cloud APIs have problems with DataExtensions with names longer than 40 characters. Try to limit the name to something relatively short.

INSERT INTO DataExtension (Name, CustomerKey, Fields) VALUES ('TestName', 'TestCustomerKey', 'fieldname1;fieldname2;fieldname3')

Update

You must specify the ObjectId or CustomerKey or Name in the WHERE clause when executing an update against this table.

UPDATE DataExtension SET ResetRetentionPeriodOnImport = true WHERE ObjectId = 'nzxcaslkjd-123'

Delete

You must specify the ObjectId or CustomerKey or Name in the WHERE clause when executing a delete against this table.

DELETE FROM DataExtension WHERE ObjectId = 'nzxcaslkjd-123'

Columns

Name Type ReadOnly Description
ObjectID [KEY] String False

System-controlled, text string identifier for object.

PartnerKey String False

Unique identifier provided by partner for an object, accessible only via API.

CustomerKey String False

User-supplied unique identifier for an object within an object type.

Name String False

Name of the object or property.

CreatedDate Datetime False

Date and time of the object's creation.

ModifiedDate Datetime False

Indicates the last time object information was modified.

Client_ID Int False

The Id of the client.

Description String False

Describes and provides information regarding the object.

IsSendable Bool False

Indicates whether you can use a data extension as part of an audience for a message send.

IsTestable Bool False

Indicates whether a sendable data extension can be used within tests sends for a message.

SendableDataExtensionField_Name String False

The name of the sendable data extension field.

SendableSubscriberField_Name String False

The name of the sendablesubscriber field.

Template_CustomerKey String False

User-supplied unique identifier for an object within an object type.

CategoryID Long False

Specifies the identifier of the folder.

Status String False

Defines status of the object.

IsPlatformObject Bool False

Indicated whether the object is a platform object.

DataRetentionPeriodLength Int False

Specifies the number of time units for which data will be retained.

DataRetentionPeriodUnitOfMeasure Int False

Specifies the units of time for which data will be retained.

RowBasedRetention Bool False

Indicates whether the data retention policy removes data by row or by entire data extension.

ResetRetentionPeriodOnImport Bool False

Indicates whether a data retention period should be reset after a successful import of new data.

DeleteAtEndOfRetentionPeriod Bool False

Indicates whether data should be deleted at the end of the retention period.

RetainUntil String False

Indicates the date that ends the retention period for a data extension.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
Fields String

A semi-colon separated list of names for the fields to add to this data entension.

CData Cloud

Email

Represents an email in a Marketing Cloud account.

Table-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM Email WHERE Id = 123

SELECT * FROM Email WHERE Id IN (123, 456)

SELECT * FROM Email WHERE CreatedDate > '2017/01/25'

Insert

You must specify the following fields when inserting to this table: Name and Subject.

INSERT INTO Email (Name, Subject) VALUES ('Testing', 'Greetings')

Update

You must specify the Id in the WHERE clause when executing an update against this table.

UPDATE Email SET Name = 'Changed' WHERE Id = 31558

Delete

You must specify the Id in the WHERE clause when executing a delete against this table.

DELETE FROM Email WHERE Id = 123

Columns

Name Type ReadOnly Description
ID [KEY] Int False

Identifier for an object.

PartnerKey String False

Unique identifier provided by partner for an object, accessible only via API.

CreatedDate Datetime False

Indicates the date and time of the object's creation.

ModifiedDate Datetime False

Indicates the last time object information was modified.

Client_ID Int False

The Id of the client.

Name String False

Name of the object or property.

PreHeader String False

Contains text used in preheader of email message on mobile devices.

Folder String False

Specifies folder information (Retrieve only) - Deprecated.

CategoryID Int False

Specifies the identifier of the folder containing the email.

HTMLBody String False

Contains HTML body of an email message.

TextBody String False

Contains raw text body of a message.

Subject String False

Defines the subject of an object.

IsActive Bool False

Specifies whether or not the object is active.

IsHTMLPaste Bool False

Indicates whether email message was created via pasted HTML.

ClonedFromID Int False

ID of email message from which the specified email message was created.

Status String False

Defines the status of an object.

EmailType String False

Defines the preferred email type.

CharacterSet String False

Indicates encoding used in an email message.

HasDynamicSubjectLine Bool False

Indicates whether email message contains a dynamic subject line.

ContentCheckStatus String False

Indicates whether content validation has completed for this email message.

Client_PartnerClientKey String False

User-defined partner key for an account.

ContentAreas String False

Contains information on content areas included in an email message.

CustomerKey String False

User-supplied unique identifier for an object within an object type.

CData Cloud

EmailSendDefinition

Record that contains the message information, sender profile, delivery profile, and audience information.

Table-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM EmailSendDefinition WHERE ObjectID = 123

SELECT * FROM EmailSendDefinition WHERE ObjectID IN (123, 456)

SELECT * FROM EmailSendDefinition WHERE CreatedDate > '2017/01/25'

Insert

You must specify the following fields when inserting to this table: Name, SendClassification_CustomerKey, and Email_Id.

INSERT INTO EmailSendDefinition (Name, SendClassification_CustomerKey, Email_Id) VALUES ('Testing', 13507, 31677)

Update

You must specify the Id in the WHERE clause when executing an update against this table.

UPDATE EmailSendDefinition SET Description = 'Changed' WHERE ObjectId = 'acasascas'

Delete

You must specify the Id in the WHERE clause when executing a delete against this table.

DELETE FROM EmailSendDefinition WHERE ObjectId = 'sdfsdf123'

Columns

Name Type ReadOnly Description
Client_ID Int True

The Id of the client.

CreatedDate Datetime False

Indicates the date and time of the object's creation.

ModifiedDate Datetime False

Indicates the last time object information was modified.

ObjectID String False

System-controlled, text string identifier for object.

CustomerKey String False

User-supplied unique identifier for an object within an object type.

Name String False

Name of the object or property.

CategoryID Int False

Specifies the identifier of the folder containing the email.

Description String False

Describes and provides information regarding the object.

SendClassification_CustomerKey String False

User-supplied unique identifier for an object within an object type.

SenderProfile_CustomerKey String True

User-supplied unique identifier for an object within an object type

SenderProfile_FromName String True

Specifies the default email message From Name.

SenderProfile_FromAddress String True

Indicates From address associated with a object.

DeliveryProfile_SourceAddressType String True

Indicates the source IP address type used with the delivery profile.

DeliveryProfile_PrivateIP String True

Contains information on the private IP address associated with a delivery profile.

DeliveryProfile_DomainType String True

Defines the type of domain.

DeliveryProfile_PrivateDomain String True

Defines private domain to use as part of a delivery profile or send definition.

DeliveryProfile_HeaderSalutationSource String True

Defines source of header salutation for a delivery profile or send definition.

DeliveryProfile_FooterSalutationSource String True

Defines source of a footer salutation to use as part of a delivery profile or send definition (Default, ContentLibrary, or None).

SuppressTracking Bool False

Indicates whether the send definition suppresses tracking results for associated sends.

IsSendLogging Bool False

Indicates whether send logging is enabled for the specified send definition

Email_ID Int True

The Id of the email.

CCEmail String False

Carbon copy email address.

BccEmail String False

Indicates email addresses to receive blind carbon copy of a message.

AutoBccEmail String False

Defines blind carbon copy email address to which to send a message as part of an email send definition.

TestEmailAddr String False

Defines an email address to which to send a test message as part of an email send definition.

EmailSubject String False

Subject of the email.

DynamicEmailSubject String False

Contains content to be used in a dynamic subject line.

IsMultipart Bool False

Indicates whether the email is sent with Multipart/MIME enabled.

IsWrapped Bool False

Indicates whether an email send contains the links necessary to process tracking information for clicks.

SendLimit Int False

Indicates limit of messages to send as part of a send definition within a predefined send window.

DeduplicateByEmail Bool False

Indicates whether a send definition should de-duplicate multiple emails sent to the same email address.

ExclusionFilter String False

Contains a string of AMPscript that can evaluate to true or false, used to exclude email addresses from a send definition.

Additional String False

The ID for a send that customers use as a campaign ID.

IsPlatformObject Bool False

Indicated whether the object is a platform object.

CData Cloud

FileTrigger

Reserved for future use. This table does not suport deletes.

Table-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) query is processed server side:

SELECT * FROM FileTrigger WHERE CreatedDate > '2017/01/25'

Insert

You must specify the following fields when inserting to this table: Name.

INSERT INTO FileTrigger (Name) VALUES ('Testing')

Update

You must specify the ObjectId in the WHERE clause when executing an update against this table.

UPDATE FileTrigger SET Name = 'Changed' WHERE ObjectId = 'nzxcaslkjd-123'

Columns

Name Type ReadOnly Description
ObjectID [KEY] String False

System-controlled, text string identifier for object.

CustomerKey String False

User-supplied unique identifier for an object within an object type.

Client_ID Long False

The Id of the client.

ExternalReference String False

Reserved for future use.

Name String False

Name of the object or property.

Description String False

Describes and provides information regarding the object.

Type String False

Indicates type of specific list. Valid values include Public, Private, Salesforce, GlobalUnsubscribe, and Master.

Status String False

Defines status of the object.

StatusMessage String False

Describes the status of an API call.

RequestParameterDetail String False

Reserved for future use.

ResponseControlManifest String False

Reserved for future use.

FileName String False

Indicates name of file associated with the object.

LastPullDate Datetime False

Reserved for future use.

ScheduledDate Datetime False

Reserved for future use.

IsActive Bool False

Specifies whether or not the object is active.

CreatedDate Datetime False

Indicated the date and time of the object's creation.

ModifiedDate Datetime False

Indicates the last time object information was modified.

Client_CreatedBy Int False

Returns user ID for user who created object

Client_ModifiedBy Int False

Returns user ID for user who modified object.

CData Cloud

FilterDefinition

Defines an audience based on specified rules in a filter. This table does not support inserts.

Table-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) query is processed server side:

SELECT * FROM FilterDefinition WHERE CreatedDate > '2017/01/25'

Update

You must specify the ObjectId in the WHERE clause when executing an update against this table.

UPDATE FilterDefinition SET Name = 'Changed' WHERE ObjectId = 'nzxcaslkjd-123'

Delete

You must specify the ObjectId in the WHERE clause when executing a delete against this table.

DELETE FROM FilterDefinition WHERE Object = 'nzxcaslkjd-123'

Columns

Name Type ReadOnly Description
ObjectID [KEY] String False

System-controlled, text string identifier for object.

Client_ID Int True

The Id of the client.

Client_ClientPartnerKey Int True

User-defined partner key for an account.

Name String False

Name of the object or property.

CustomerKey String False

User-supplied unique identifier for an object within an object type.

CreatedDate Datetime False

Indicated the date and time of the object's creation.

ModifiedDate Datetime False

Indicates the last time object information was modified.

Description String False

Describes and provides information regarding the object.

DataSource_ID Int True

Read-only identifier for an object.

DataSource_ObjectID String True

System-controlled, read-only text string identifier for object.

DataSource_Name Int True

Name of the object or property.

DataSource_ListName Int True

The list name of the data source.

DataSource_CustomerKey String True

User-supplied unique identifier for an object within an object type.

DataSource_CreatedDate Datetime True

Read-only date and time of the object's creation.

DataSource_ModifiedDate Datetime True

Indicates the last time object information was modified.

DataFilter String False

Filter parts for a filter definition.

CData Cloud

ImportDefinition

Defines a reusable pattern of import options. This table does not support inserts.

Table-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM ImportDefinition WHERE ObjectID = 'nzxcaslkjd-123'

SELECT * FROM ImportDefinition WHERE ObjectID IN ('nzxcaslkjd-123', 'nzxcaslkjd-456')

SELECT * FROM ImportDefinition WHERE CreatedDate > '2017/01/25'

Update

You must specify the ObjectId in the WHERE clause when executing an update against this table.

UPDATE ImportDefinition SET Name = 'Changed' WHERE ObjectId = 'nzxcaslkjd-123'

Delete

You must specify the ObjectId in the WHERE clause when executing a delete against this table.

DELETE FROM ImportDefinition WHERE ObjectId = 'nzxcaslkjd-123'

Columns

Name Type ReadOnly Description
ObjectID [KEY] String False

System-controlled, text string identifier for object.

PartnerKey String False

Unique identifier provided by partner for an object, accessible only via API.

Client_ClientID1 Int False

The client Id of the client.

Name String False

Name of the object or property.

CustomerKey String False

User-supplied unique identifier for an object within an object type.

Description String False

Describes and provides information regarding the object.

FileSpec String False

Defines the file-naming pattern associated with an activity (valid substitutions include%%YEAR%%, %%MONTH%%, and %%DAY%%).

AllowErrors Bool False

Specifies whether an import should continue after an error occurs.

FieldMappingType String False

Defines how fields are mapped within an import definition.

FileType String False

Specifies column delimiter of a file (CSV, TAB, or Other).

UpdateType String False

Indicates update type associated with an import definition.

MaxFileAge Int False

Specifies the age of the oldest file to be included in an import definition.

MaxFileAgeScheduleOffset Int False

Specifies an offset in hours to associate with a file age for accomodating timezone differences.

MaxImportFrequency Int False

Specifies the number of hours to wait before allowing a file to be imported again.

DestinationObject_ID Int False

Identifier for an object.

DestinationObject_ObjectID String False

System-controlled, text string identifier for object.

Notification_ResponseType String True

The response type of the notification.

Notification_ResponseAddress String False

The response address of the notification.

RetrieveFileTransferLocation_ObjectID String False

System-controlled, text string identifier for object.

Delimiter String False

Specifies the delimiter used as part of an import definition.

HeaderLines Int False

Specifies the number of lines in the file that are header lines that should not be processed.

EndOfLineRepresentation String False

Specifies the line-ending character(s) used in delimited files to be imported.

NullRepresentation String False

Defines character used to represent a null value during an import.

StandardQuotedStrings Bool False

Specifies whether standard quoted strings are used as part of an import definition.

DateFormattingLocale_LocaleCode String False

The locale code of the date formatting locale.

CData Cloud

List

A marketing list of subscribers.

Table-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM List WHERE Id = 123

SELECT * FROM List WHERE Id IN (123, 456)

SELECT * FROM List WHERE CreatedDate > '2017/01/25'

Insert

You must specify the following field when inserting to this table: ListName.

INSERT INTO List (ListName) VALUES ('Test')

Update

You must specify the Id in the WHERE clause when executing an update against this table.

UPDATE List SET ListName = 'Changed' WHERE Id = 123

Delete

You must specify the Id in the WHERE clause when executing a delete against this table.

DELETE FROM List WHERE Id = 123

Columns

Name Type ReadOnly Description
ID [KEY] Int False

Identifier for an object.

ObjectID String False

System-controlled, text string identifier for object.

PartnerKey String False

Unique identifier provided by partner for an object, accessible only via API.

CreatedDate Datetime False

Indicates the date and time of the object's creation.

ModifiedDate Datetime False

Indicates the last time object information was modified.

Client_ID Int False

The Id of the client.

Client_PartnerClientKey String False

User-defined partner key for an account.

ListName String False

Name of a specific list.

Description String False

Describes and provides information regarding the object.

Category Int False

ID of the folder that an item is located in.

Type String False

Indicates type of specific list. Valid values include Public, Private, Salesforce, GlobalUnsubscribe, and Master.

CustomerKey String False

User-supplied unique identifier for an object within an object type.

ListClassification String True

Specifies the classification for a list.

AutomatedEmail_ID Int False

Identifier for an object.

CData Cloud

Portfolio

Indicates a file within the Portfolio of a Marketing Cloud account.

Table-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM Portfolio WHERE ObjectID = 'nzxcaslkjd-123'

SELECT * FROM Portfolio WHERE ObjectID IN ('nzxcaslkjd-123', 'nzxcaslkjd-456')

SELECT * FROM Portfolio WHERE CreatedDate > '2017/01/25'

Insert

You must specify the following fields when inserting to this table: DisplayName, FileName, CustomerKey, and Source_URN.

INSERT INTO Portfolio (DisplayName, FileName, CustomerKey,  Source_URN) VALUES ('portdisplayname', 'portfilename.jpg', 'portcuskey', 'https://example.com/image.jpg')

Update

You must specify the ObjectID in the WHERE clause when executing an update against this table.

UPDATE Portfolio SET DisplayName = 'ChangedDisplayName' WHERE ObjectID = 'nzxcaslkjd-123'

Delete

You must specify the ObjectID in the WHERE clause when executing a delete against this table.

DELETE FROM Portfolio WHERE ObjectID = 'nzxcaslkjd-123'

Columns

Name Type ReadOnly Description
RowObjectID String False

Identifier for the row of an object.

ObjectID [KEY] String False

System-controlled, text string identifier for object.

PartnerKey String False

Unique identifier provided by partner for an object, accessible only via API.

CustomerKey String False

User-supplied unique identifier for an object within an object type.

Client_ID Int False

The Id of the client.

CategoryID Int False

Specifies the identifier of the folder containing the email.

FileName String False

Indicates name of file associated with the object.

DisplayName String False

Name to be displayed for an item within a Portfolio.

Description String False

Describes and provides information regarding the object.

TypeDescription String False

Describes type for a Portfolio object.

IsUploaded Bool False

Indicates whether the Portfolio object in question was uploaded.

IsActive Bool False

Specifies whether or not the object is active.

FileSizeKB Int False

Specifies file size of a Portfolio item.

ThumbSizeKB Int False

Indicates size of a thumbnail image associated with a Portfolio object.

FileWidthPX Int False

Specifies the width of a Portfolio image in pixels.

FileHeightPX Int False

Specifies height of image contained in Portfolio (value)

FileURL String False

Specifies the URL at which a Portfolio file is stored.

ThumbURL String False

Indicates URL of a thumbnail image associated with a Portfolio object.

CacheClearTime Datetime False

Reserved for future use.

CategoryType String False

Defines whether a folder within a Portfolio is shared to other account users or not. Valid values are shared_portfolio, media.

CreatedDate Datetime False

Indicated the date and time of the object's creation.

CreatedBy Int False

The Id of the user who created the Portfolio.

ModifiedBy Int False

The id of the user who modified the Portfolio.

ModifiedDate Datetime False

Indicates the last time object information was modified.

ModifiedByName String True

The name of the user who modified the Portfolio.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
Source_URN String

A URN (uniform resource name) of the location of the source.

CData Cloud

ProgramManifestTemplate

Reserved for future use. This table does not support deletes or inserts.

Table-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM ProgramManifestTemplate WHERE ObjectID = 'nzxcaslkjd-123'

SELECT * FROM ProgramManifestTemplate WHERE ObjectID IN ('nzxcaslkjd-123', 'nzxcaslkjd-123')

SELECT * FROM ProgramManifestTemplate WHERE CreatedDate > '2017/01/25'

Update

You must specify the ObjectID in the WHERE clause when executing an update against this table.

UPDATE ProgramManifestTemplate SET Content = 'ChangedContent' WHERE ObjectID = 'nzxcaslkjd-123'

Columns

Name Type ReadOnly Description
ObjectID [KEY] String False

System-controlled, read-only text string identifier for object.

CustomerKey String False

User-supplied unique identifier for an object within an object type.

Client_ID Long False

The Id of the client.

Name String False

Name of the object or property.

Description String False

Describes and provides information regarding the object.

Type String False

Indicates type of specific list. Valid values include Public, Private, Salesforce, GlobalUnsubscribe, and Master. Indicates the type of email to send to the address. Valid values include Text and HTML.

OperationType String False

Specifies metadata about the type of operation to perform.

Content String False

Identifies content contained in a content area.

IsActive Bool False

Specifies whether or not the object is active.

CreatedDate Datetime False

Read-only date and time of the object's creation.

ModifiedDate Datetime False

Indicates the last time object information was modified.

CData Cloud

QueryDefinition

Represents a SQL query activity accessed and performed by the SOAP API. This table does not support updates or inserts.

Table-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM QueryDefinition WHERE ObjectID = 'nzxcaslkjd-123'

SELECT * FROM QueryDefinition WHERE ObjectID IN ('nzxcaslkjd-123', 456)

SELECT * FROM QueryDefinition WHERE CreatedDate > '2017/01/25'

Delete

You must specify the ObjectID in the WHERE clause when executing a delete against this table.

DELETE FROM QueryDefinition WHERE ObjectID = 'nzxcaslkjd-123'

Columns

Name Type ReadOnly Description
ObjectID [KEY] String False

System-controlled, text string identifier for object.

Client_ID Int False

The Id of the client.

Name String False

Name of the object or property.

CustomerKey String False

User-supplied unique identifier for an object within an object type.

Description String False

Describes and provides information regarding the object.

QueryText String False

Specifies text associated with a query definition.

TargetType String False

Indicates target type for a query definition.

DataExtensionTarget_Name String False

Name of the object or property.

DataExtensionTarget_CustomerKey String False

User-supplied unique identifier for an object within an object type

DataExtensionTarget_Description String False

Describes and provides information regarding the object.

TargetUpdateType String False

Indicates the target update type for a query definition.

FileType String False

Specifies column delimiter of a file (CSV, TAB, or Other).

FileSpec String False

Defines the file-naming pattern associated with an activity (valid substitutions include%%YEAR%%, %%MONTH%%, and %%DAY%%).

Status String False

Defines status of object.

CreatedDate Datetime False

Indicated the date and time of the object's creation.

ModifiedDate Datetime False

Indicates the last time object information was modified.

CategoryID Int False

Specifies the identifier of the folder containing the email.

CData Cloud

ReplyMailManagementConfiguration

Details configuration settings for the reply mail management in an account. This table does not support deletes.

Table-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM ReplyMailManagementConfiguration WHERE Id = 123

SELECT * FROM ReplyMailManagementConfiguration WHERE Id IN (123, 456)

SELECT * FROM ReplyMailManagementConfiguration WHERE CreatedDate > '2017/01/25'

Insert

You must specify the following fields when inserting to this table: EmailDisplayName and EmailReplyAddress.

INSERT INTO ReplyMailManagementConfiguration (EmailDisplayName, EmailReplyAddress) VALUES ('Test', '[email protected]')

Update

You must set a new value for EmailReplyAddress when executing an update against this table, and also supply its Id.

UPDATE ReplyMailManagementConfiguration SET EmailReplyAddress = '[email protected]' WHERE Id = 123

Columns

Name Type ReadOnly Description
ID [KEY] Int False

Identifier for an object.

Client_ID Int True

The Id of the client.

EmailDisplayName String False

Specifies the From name associated with the From email address as part of reply mail management configuration.

ReplySubdomain String False

Specifies subdomain associated with a reply mail management subdomain.

EmailReplyAddress String False

Specifies forwarding address for inbound emails resulting from a send.

CreatedDate Datetime False

Indicates the date and time of the object's creation.

ModifiedDate Datetime False

Indicates the last time object information was modified.

DNSRedirectComplete Bool False

Specifies whether a reply domain's DNS has been redirected to the Marketing Cloud IP addresses.

DeleteAutoReplies Bool False

Specifies whether auto-replies to a send should be deleted instead of forwarded to the RMM-configured email address.

SupportUnsubscribes Bool False

Indicates whether a reply mail management configuration allows subscribers to unsubscribe.

SupportUnsubKeyword Bool False

Indicates whether a reply mail management configuration supports a unsubscribe keyword.

SupportUnsubscribeKeyword Bool False

Indicates whether a reply mail management configuration supports a unsubscribe keyword.

SupportRemoveKeyword Bool False

Indicates whether a reply mail management configuration supports a remove keyword.

SupportOptOutKeyword Bool False

Indicates whether a reply mail management configuration supports an opt-out keyword.

SupportLeaveKeyword Bool False

Indicates whether a reply mail management configuration supports a leave keyword.

SupportMisspelledKeywords Bool False

Indicates whether a reply mail management configuration supports misspelled keywords.

SendAutoReplies Bool False

Indicates whether automatic replies should be sent as part of a reply mail management configuration.

AutoReplySubject String False

Contains the subject of the email message sent as an automatic reply.

AutoReplyBody String False

Contains the content of the message sent as an automatic reply.

ForwardingAddress String False

Specifies forwarding address for inbound emails resulting from a send.

ConversationLifetimeDays Int False

The number of lifetime days for a conversation.

ConversationLifetimeCycles Int False

The number of lifetime cycles for a conversation.

AnonymousRuleSet_ObjectID String True

System-controlled, read-only text string identifier for object.

AnonymousRuleSet_Name Int True

Name of the object or property.

AnonymousRuleSet_CustomerKey String True

User-supplied unique identifier for an object within an object type.

AnonymousAckTriggeredSend_ObjectID String True

System-controlled, read-only text string identifier for object.

AnonymousAckTriggeredSend_CustomerKey String True

User-supplied unique identifier for an object within an object type.

AnonymousAckTriggeredSend_Name String True

Name of the object or property.

AnonymousAckTriggeredSend_TriggeredSendStatus String True

Represents status of triggered send.

AnonymousForwardTriggeredSend_ObjectID String True

System-controlled, read-only text string identifier for object.

AnonymousForwardTriggeredSend_CustomerKey String True

User-supplied unique identifier for an object within an object type.

AnonymousForwardTriggeredSend_Name String True

Name of the object or property.

AnonymousForwardTriggeredSend_TriggeredSendStatus String True

Represents status of triggered send.

ResponderConversationRuleSet_ObjectID String True

System-controlled, read-only text string identifier for object.

ResponderConversationRuleSet_Name Int True

Name of the object or property.

ResponderConversationRuleSet_CustomerKey String True

User-supplied unique identifier for an object within an object type.

ResponderConversationAckTriggeredSend_ObjectID String True

System-controlled, read-only text string identifier for object.

ResponderConversationAckTriggeredSend_CustomerKey String True

User-supplied unique identifier for an object within an object type.

ResponderConversationAckTriggeredSend_Name String True

Name of the object or property.

ResponderConversationAckTriggeredSend_TriggeredSendStatus String True

Represents status of triggered send.

ResponderConversationForwardTriggeredSend_ObjectID String True

System-controlled, read-only text string identifier for object.

ResponderConversationForwardTriggeredSend_CustomerKey String True

User-supplied unique identifier for an object within an object type.

ResponderConversationForwardTriggeredSend_Name String True

Name of the object or property.

ResponderConversationForwardTriggeredSend_TriggeredSendStatus String True

Represents status of triggered send.

InitiatorConversationRuleSet_ObjectID String True

System-controlled, read-only text string identifier for object.

InitiatorConversationRuleSet_Name Int True

Name of the object or property.

InitiatorConversationRuleSet_CustomerKey String True

User-supplied unique identifier for an object within an object type.

InitiatorConversationAckTriggeredSend_ObjectID String True

System-controlled, read-only text string identifier for object.

InitiatorConversationAckTriggeredSend_CustomerKey String True

User-supplied unique identifier for an object within an object type.

InitiatorConversationAckTriggeredSend_Name String True

Name of the object or property.

InitiatorConversationAckTriggeredSend_TriggeredSendStatus String True

Represents status of triggered send.

InitiatorConversationForwardTriggeredSend_ObjectID String True

System-controlled, read-only text string identifier for object.

InitiatorConversationForwardTriggeredSend_CustomerKey String True

User-supplied unique identifier for an object within an object type.

InitiatorConversationForwardTriggeredSend_Name String True

Name of the object or property.

InitiatorConversationForwardTriggeredSend_TriggeredSendStatus String True

Represents status of triggered send.

ConversationExpirationTriggeredSend_ObjectID String True

System-controlled, read-only text string identifier for object.

ConversationExpirationTriggeredSend_CustomerKey String True

User-supplied unique identifier for an object within an object type.

ConversationExpirationTriggeredSend_Name String True

Name of the object or property.

ConversationExpirationTriggeredSend_TriggeredSendStatus String True

Represents status of triggered send.

MultiUseViolationTriggeredSend_ObjectID String True

System-controlled, read-only text string identifier for object.

MultiUseViolationTriggeredSend_CustomerKey String True

User-supplied unique identifier for an object within an object type.

MultiUseViolationTriggeredSend_Name String True

Name of the object or property.

MultiUseViolationTriggeredSend_TriggeredSendStatus String True

Represents status of triggered send.

InboundAddressIsOneUse Bool False

Specified whether the inbound address is one use.

CData Cloud

Send

Used to send email and retrieve aggregate data. This table does not support deletes or updates.

Table-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM Send WHERE Id = 123

SELECT * FROM Send WHERE Id IN (123, 456)

SELECT * FROM Send WHERE CreatedDate > '2017/01/25'

Insert

You must specify the following fields when inserting to this table: FromName, Email_Id, and List_Id.

INSERT INTO Send (FromName, Email_Id, List_Id) VALUES ('NASA', 31677, 52362)

Columns

Name Type ReadOnly Description
ID [KEY] Int False

Identifier for an object.

PartnerKey String False

Unique identifier provided by partner for an object, accessible only via API.

CreatedDate Datetime False

Indicates the date and time of the object's creation.

ModifiedDate Datetime False

Indicates the last time object information was modified.

Client_ID Int False

The Id of the client.

Client_PartnerClientKey String False

User-defined partner key for an account.

Email_ID Int False

Identifier for an object.

Email_PartnerKey String False

Unique identifier provided by partner for an object, accessible only via API.

SendDate Datetime False

Indicates the date on which a send occurred.

FromAddress String False

Indicates From address associated with a object.

FromName String False

Specifies the default email message From Name.

Duplicates Int False

Represent the number of duplicate email addresses associated with a send.

InvalidAddresses Int False

Specifies the number of invalid addresses associated with a send.

ExistingUndeliverables Int False

Indicates whether bounces occurred on previous send.

ExistingUnsubscribes Int False

Indicates whether unsubscriptions occurred on previous send.

HardBounces Int False

Indicates number of hard bounces associated with a send.

SoftBounces Int False

Indicates number of soft bounces associated with a specific send.

OtherBounces Int False

Specifies number of Other-type bounces in a send.

ForwardedEmails Int False

Number of emails forwarded for a send.

UniqueClicks Int False

Indicates number of unique clicks on message.

UniqueOpens Int False

Indicates number of unique opens resulting from a triggered send.

NumberSent Int False

Number of emails actually sent as part of an email send.

NumberDelivered Int False

Number of sent emails that did not bounce.

NumberTargeted Int False

Indicates the number of possible recipients for an email send.

NumberErrored Int False

Number of emails not sent as part of a send because an error occurred while trying to build the email.

NumberExcluded Int False

Indicates the number recipients excluded froman email send because of a held, unsubscribed, master unsubscribed, or global unsubscribed status.

Unsubscribes Int False

Indicates the number of unsubscribe events associated with a send.

MissingAddresses Int False

Specifies number of missing addresses encountered within a send.

Subject String False

Defines the status of an object.

PreviewURL String False

Indicates URL used to preview the message associated with a send.

SentDate Datetime False

Indicates date on which a send took place.

EmailName String False

Specifies the name of an email message associated with a send.

Status String False

The status of the object.

IsMultipart Bool False

Indicates whether the email is sent with Multipart/MIME enabled.

SendLimit Int False

Indicates limit of messages to send as part of a send definition within a predefined send window.

SendWindowOpen Datetime False

Defines the beginning of a send window for a send definition.

SendWindowClose Datetime False

Defines the end of a send window for a send definition.

IsAlwaysOn Bool False

Indicates whether the request can be performed while the system is is maintenance mode.

Additional String False

The ID for a send that customers use as a campaign ID.

BCCEmail String False

Indicates email addresses to receive blind carbon copy of a message.

EmailSendDefinition_ObjectID String False

System-controlled, text string identifier for object.

EmailSendDefinition_CustomerKey String False

The customer key of the email send definition.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
List_Id Int

The Id of the list to be sent.

CData Cloud

SendClassification

Represents a send classification in a Marketing Cloud account.

Table-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM SendClassification WHERE ObjectID = 'nzxcaslkjd-123'

SELECT * FROM SendClassification WHERE ObjectID IN ('nzxcaslkjd-123', 456)

SELECT * FROM SendClassification WHERE CreatedDate > '2017/01/25'

Insert

You must specify the following fields when inserting to this table: Name, DeliveryProfile_ObjectID, and SenderProfile_ObjectID.

INSERT INTO SendClassification (Name, DeliveryProfile_ObjectID, SenderProfile_ObjectID) VALUES ('TestName', 'aa1231231', 'vvb1231231')

Delete

You must specify the ObjectID in the WHERE clause when executing a delete against this table.

DELETE FROM SendClassification WHERE ObjectID = 'nzxcaslkjd-123'

Columns

Name Type ReadOnly Description
ObjectID [KEY] String False

System-controlled, text string identifier for object.

SendClassificationType String False

Defines the type for the applicable send classification. Valid values include Operational and Marketing.

Name String False

Name of the object or property.

Description String False

Describes and provides information regarding the object.

CustomerKey String False

User-supplied unique identifier for an object within an object type.

SenderProfile_CustomerKey String False

The customer key of the sender profile.

SenderProfile_ObjectID String False

System-controlled, text string identifier for object.

DeliveryProfile_CustomerKey String False

The customer key of the delivery profile.

DeliveryProfile_ObjectID String False

System-controlled, text string identifier for object.

ArchiveEmail Bool False

Property definition.

Client_ID Long False

The Id of the client.

Client_PartnerClientKey String False

User-defined partner key for an account.

PartnerKey String False

Unique identifier provided by partner for an object, accessible only via API.

CreatedDate Datetime False

Indicats the date and time of the object's creation.

ModifiedDate Datetime False

Indicates the last time object information was modified.

CData Cloud

SenderProfile

The send profile used in conjunction with an email send definition.

Table-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM SenderProfile WHERE ObjectID = 'nzxcaslkjd-123'

SELECT * FROM SenderProfile WHERE ObjectID IN ('nzxcaslkjd-123', 'nzxcaslkjd-456')

SELECT * FROM SenderProfile WHERE CreatedDate > '2017/01/25'

Insert

You must specify the following fields when inserting to this table: Name, FromName, and FromAddress.

INSERT INTO SenderProfile (Name, FromName, FromAddress) VALUES ('Test', 'Friendly Neighborhood', '[email protected]')

Update

You must specify the ObjectID in the WHERE clause when executing an update against this table.

UPDATE SenderProfile SET Name = 'changed_name', Description = 'changed_desc', FromName = 'changed_from_name', FromAddress = '[email protected]' WHERE ObjectID = 'nzxcaslkjd-123'

Delete

You must specify the ObjectID in the WHERE clause when executing a delete against this table.

DELETE FROM SenderProfile WHERE ObjectID = 'nzxcaslkjd-123'

Columns

Name Type ReadOnly Description
Name String False

Name of the object or property.

Description String False

Describes and provides information regarding the object.

FromName String False

Specifies the default email message From Name.

FromAddress String False

Indicates From address associated with a object.

UseDefaultRMMRules Bool False

Indicates whether a sender profile uses the default RMM rules for that account.

AutoForwardToEmailAddress String True

Indicates the email address to use with automatically forwarded email messages.

AutoForwardToName String True

Indicates the To name to use on automatically forwarded email messages.

DirectForward Bool False

Indicates whether the direct forward feature has been enabled for a sender profile.

AutoForwardTriggeredSend_ObjectID String False

System-controlled, text string identifier for object.

AutoReply Bool False

Indicates the reply associated with an automatically forwarded email message.

AutoReplyTriggeredSend_ObjectID String False

System-controlled, text string identifier for object.

SenderHeaderEmailAddress String False

Specifies the email address to include in the sender header of a sender profile.

SenderHeaderName String False

Specifies name to include in the sender header of a sender profile.

DataRetentionPeriodLength String False

Specifies the number of time units for which data will be retained.

ReplyManagementRuleSet_ObjectID String False

System-controlled, text string identifier for object.

RMMRuleCollection_ObjectID String False

System-controlled, text string identifier for object.

Client_ID Long False

The Id of the client.

PartnerKey String False

Unique identifier provided by partner for an object, accessible only via API.

CreatedDate Datetime False

Indicates the date and time of the object's creation.

ModifiedDate Datetime False

Indicates the last time object information was modified.

ObjectID String False

System-controlled, text string identifier for object.

CustomerKey String False

User-supplied unique identifier for an object within an object type.

Client_CreatedBy Int False

Returns user ID for user who created object

Client_ModifiedBy Int False

Returns user ID for user who modified object.

CData Cloud

SMSTriggeredSend

Indicates a single instance of an SMS triggered send. This table does not support deletes or updates.

Table-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM SMSTriggeredSend WHERE ObjectID = 123

SELECT * FROM SMSTriggeredSend WHERE ObjectID IN (123, 456)

SELECT * FROM SMSTriggeredSend WHERE CreatedDate > '2017/01/25'

Insert

You must specify the following field when inserting to this table: SMSTriggeredSendDefinition_ObjectID.

INSERT INTO SMSTriggeredSend (SMSTriggeredSendDefinition_ObjectID) VALUES (123)

Columns

Name Type ReadOnly Description
ObjectID [KEY] String False

System-controlled, text string identifier for object.

CreatedDate Datetime False

Indicates the date and time of the object's creation.

Client_ID Int False

The Id of the client.

SmsSendId String False

Indicates ID for a specific SMS send.

SMSTriggeredSendDefinition_ObjectID String False

System-controlled, text string identifier for object.

CData Cloud

Subscriber

A person subscribed to receive email or SMS communication.

Table-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM Subscriber WHERE Id = 123

SELECT * FROM Subscriber WHERE Id IN (123, 456)

SELECT * FROM Subscriber WHERE CreatedDate > '2017/01/25'

Insert

You must specify the following fields when inserting to this table: SubscriberKey and EmailAddress.

INSERT INTO Subscriber (SubscriberKey, EmailAddress) VALUES (123, '[email protected]')

Update

You must specify the Id in the WHERE clause when executing an update against this table.

UPDATE Subscriber SET EmailAddress = '[email protected]' WHERE Id = 123

Delete

You must specify the Id in the WHERE clause when executing a delete against this table.

DELETE FROM Subscriber WHERE Id = 123

Columns

Name Type ReadOnly Description
ID Int False

Identifier for an object.

PartnerKey String False

Unique identifier provided by partner for an object, accessible only via API.

CreatedDate Datetime False

Indicates the date and time of the object's creation.

Client_ID Int False

The Id of the client.

Client_PartnerClientKey String False

User-defined partner key for an account.

EmailAddress String False

Contains the email address for a subscriber.

SubscriberKey String False

Identification of a specific subscriber.

UnsubscribedDate Datetime False

Represents date subscriber unsubscribed from a list.

Status String False

Defines status of object.

EmailTypePreference String False

The format in which email should be sent.

CData Cloud

SuppressionListDefinition

A suppression list that can be associated with different contexts.

Table-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM SuppressionListDefinition WHERE ObjectID = 'nzxcaslkjd-123'

SELECT * FROM SuppressionListDefinition WHERE ObjectID IN ('nzxcaslkjd-123', 'nzxcaslkjd-456')

SELECT * FROM SuppressionListDefinition WHERE CreatedDate > '2017/01/25'

Insert

You must specify the following fields when inserting to this table: Name.

INSERT INTO SuppressionListDefinition (Name) VALUES ('Test')

Update

You must specify the ObjectID in the WHERE clause when executing an update against this table.

UPDATE SuppressionListDefinition SET Name = 'Changed' WHERE ObjectID = 'nzxcaslkjd-123'

Delete

You must specify the ObjectID in the WHERE clause when executing a delete against this table.

DELETE FROM SuppressionListDefinition WHERE ObjectID = 'nzxcaslkjd-123'

Columns

Name Type ReadOnly Description
ObjectID String False

System-controlled, text string identifier for object.

CustomerKey String False

User-supplied unique identifier for an object within an object type.

Name String False

Name of the object or property.

Description String False

Describes and provides information regarding the object.

Client_CreatedBy Int False

Returns user ID for user who created object

CreatedDate Datetime False

Indicates the date and time of the object's creation.

Client_ModifiedBy Int False

Returns user ID for user who modified object.

ModifiedDate Datetime False

Indicates the last time object information was modified.

Category Long False

ID of the folder that an item is located in.

Client_ID Int False

The Id of the client.

Client_EnterpriseID Long False

The EnterpriseID of the client.

SubscriberCount Long False

Indicates the number of records on a suppression list.

CData Cloud

TriggeredSendDefinition

To create or update a TriggeredSendDefinition where the list ID is the All Subs List ID, you need the Email | Subscribers | All Subscribers | View and SendEmailToList permissions.

Table-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM TriggeredSendDefinition WHERE ObjectID = 'nzxcaslkjd-123'

SELECT * FROM TriggeredSendDefinition WHERE ObjectID IN ('nzxcaslkjd-123', 'nzxcaslkjd-456')

SELECT * FROM TriggeredSendDefinition WHERE CreatedDate > '2017/01/25'

Insert

You must specify the following fields when inserting to this table: Name, SendClassification_ObjectID, and Email_Id.

INSERT INTO TriggeredSendDefinition (Name, SendClassification_ObjectID, Email_Id) VALUES ('Test', 'nzxcaslkjd-789', 123)

Update

You must specify the ObjectID in the WHERE clause when executing an update against this table.

UPDATE TriggeredSendDefinition SET Description = 'Changed' WHERE ObjectID = 'nzxcaslkjd-123'

Delete

You must specify the ObjectID in the WHERE clause when executing a delete against this table.

When deleting a row from this table, the row will not be deleted, but instead the value of TriggeredSendStatus will be set to false.

DELETE FROM TriggeredSendDefinition WHERE ObjectID = 'nzxcaslkjd-123'

Columns

Name Type ReadOnly Description
ObjectID [KEY] String False

System-controlled, text string identifier for object.

PartnerKey String False

Unique identifier provided by partner for an object, accessible only via API.

CreatedDate Datetime False

Indicates the date and time of the object's creation.

ModifiedDate Datetime False

Indicates the last time object information was modified.

Client_ID Long False

The Id of the client.

CustomerKey String False

User-supplied unique identifier for an object within an object type.

Email_ID Int False

Identifier for an object.

List_ID Int False

Identifier for an object.

Name String False

Name of the object or property.

Description String False

Describes and provides information regarding the object.

TriggeredSendType String False

Deprecated.

TriggeredSendStatus String False

Represents status of triggered send.

HeaderContentArea_ID Int False

Identifier for an object.

FooterContentArea_ID Int False

Identifier for an object.

SendClassification_ObjectID String False

System-controlled, text string identifier for object.

SendClassification_CustomerKey String False

The customer key of the send classification.

SenderProfile_CustomerKey String False

The customer key of the sender profile.

SenderProfile_ObjectID String False

System-controlled, text string identifier for object.

DeliveryProfile_CustomerKey String False

The customer key of the delivery profile.

DeliveryProfile_ObjectID String False

System-controlled, text string identifier for object.

PrivateDomain_ObjectID String False

System-controlled, text string identifier for object.

PrivateIP_ID Int True

Read-only identifier for an object.

AutoAddSubscribers Bool False

Indicates whether a triggered send recipient should be added to a subscriber list.

AutoUpdateSubscribers Bool False

Indicates if any subscriber information should be updated as part of a triggered send.

BatchInterval Int False

Deprecated.

FromName String False

Specifies the default email message From Name.

FromAddress String False

Indicates From address associated with a object.

BccEmail String False

Indicates email addresses to receive blind carbon copy of a message.

EmailSubject String False

Subject for an email send.

DynamicEmailSubject String False

Contains content to be used in a dynamic subject line.

IsMultipart Bool False

Indicates whether the email is sent with Multipart/MIME enabled.

IsWrapped Bool False

Indicates whether an email send contains the links necessary to process tracking information for clicks.

TestEmailAddr String False

Specified a test email address.

AllowedSlots String False

Reserved for future use.

NewSlotTrigger Int False

Deprecated.

SendLimit Int False

Indicates limit of messages to send as part of a send definition within a predefined send window.

SendWindowOpen Datetime False

Defines the beginning of a send window for a send definition.

SendWindowClose Datetime False

Defines the end of a send window for a send definition.

SuppressTracking Bool False

Indicates whether the send definition suppresses tracking results for associated sends.

Keyword String False

Reserved for future use.

List_PartnerKey String False

Unique identifier provided by partner for an object, accessible only via API.

Email_PartnerKey String False

Unique identifier provided by partner for an object, accessible only via API.

SendClassification_PartnerKey String False

Unique identifier provided by partner for an object, accessible only via API.

PrivateDomain_PartnerKey String True

Unique identifier provided by partner for an object, accessible only via API.

PrivateIP_PartnerKey String True

Unique identifier provided by partner for an object, accessible only via API.

Client_PartnerClientKey String False

User-defined partner key for an account.

IsPlatformObject Bool False

Indicated whether the object is a platform object.

CategoryID Int False

Specifies the identifier of the folder containing the email.

CData Cloud

ビュー

ビューは、データを示すという点でテーブルに似ていますが、ビューは読み取り専用です。

クエリは、ビューに対して通常のテーブルと同様に実行することができます。

CData Cloud - Salesforce Marketing Cloud ビュー

Name Description
Automation Defines an automation that exists within Automation Studio for an account.
BounceEvent Contains SMTP and other information pertaining to the specific event of an email message bounce.
ClickEvent Contains time and date information, as well as a URL ID and a URL, regarding a click on a link contained in a message.
DataExtensionField Represents a field within a data extension.
DataExtensionTemplate Represents a data extension template within an account.
DataFolder Represents a folder in a Marketing Cloud account
DoubleOptInMOKeyword The DoubleOptInMOKeyword object defines an MO keyword, allowing a mobile user to subscribe to SMS messages using a double opt-in workflow.
FileTriggerTypeLastPull Reserved for future use.
ForwardedEmailEvent Indicates a subscriber used the Forward To A Friend feature to send an email to another person.
ForwardedEmailOptInEvent Specifies an opt-in event related to a Forward To A Friend event.
HelpMOKeyword Defines actions associated with the HELP SMS keyword for an account.
ImportResultsSummary A retrieve-only object that contains status and aggregate information on an individual import started from an ImportDefinition.
LinkSend Provides information about a link in a send.
ListSend Specifies retrieve-only properties associated with the list(s) for a completed send.
ListSubscriber Retrieves subscribers for a list or lists for a subscriber.
MessagingVendorKind Contains the vendor details for an SMS (short message service) or voice messaging vendor. Deprecated.
NotSentEvent Contains information on when email message failed to be sent.
OpenEvent Contains information about the opening of a message send by a subscriber.
PrivateIP The PrivateIP object contains information on private IP address to be used as part of messages sends.
Publication Reserved for future use.
PublicationSubscriber Describes subscriber on a publication list.
PublicKeyManagement Reserved for future use.
ResultItem Contains results of asynchronous API call.
ResultMessage Message containing results of async call.
Role Defines roles and permissions assigned to a user in an account.
SendEmailMOKeyword Defines the action that sends a triggered email message to the email addresses defined in an MO message.
SendSMSMOKeyword Defines actions to take when the specified MO keyword is received.
SendSummary A retrieve only object that contains summary information about a specific send event.
SentEvent Contains tracking data related to a send, including information on individual subscribers.
SMSMTEvent Contains information on a specific SMS message sent to a subscriber.
SMSSharedKeyword Contains information used to request a keyword for use with SMS messages in a Marketing Cloud account.
SMSTriggeredSendDefinition Defines the send definition for an SMS message.
SubscriberList Use to retrieve lists for a specific subscriber.
SubscriberSendResult Reserved for future use.
SubscriberStatusEvent null
SuppressionListContext Defines a context that a SuppressionListDefinition can be associated with.
SurveyEvent Contains information on when a survey response took place.
Template Represents an email template in a Marketing Cloud account.
TimeZone Represents a specific time zone in the application.
TriggeredSendSummary Summary of results for a specific triggered send.
UnsubEvent Contains information regarding a specific unsubscription action taken by a subscriber.
UnsubscribeFromSMSPublicationMOKeyword Defines keyword used by a subscriber to unsubscribe from an SMS publication list.

CData Cloud

Automation

Defines an automation that exists within Automation Studio for an account.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but DateTime values: =, !=, <>, >, >=, <, <=, IN. For DateTime values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM Automation WHERE ObjectID = 123

SELECT * FROM Automation WHERE ObjectID IN (123, 456)

SELECT * FROM Automation WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ObjectID [KEY] String System-controlled, read-only text string identifier for object.
Name String Name of the object or property.
Description String Describes and provides information regarding the object.
Schedule_ID Int Read-only identifier for the schedule.
CustomerKey String User-supplied unique identifier for an object within an object type.
Client_ID Long The Id of the client.
IsActive Bool Specifies whether or not the object is active.
CreatedDate Datetime Read-only date and time of the object's creation.
Client_CreatedBy Int Returns user ID for user who created object.
ModifiedDate Datetime Indicates the last time object information was modified.
Client_ModifiedBy Int Returns user ID for user who modified object..
Status Int Indicates status of automation.
Client_EnterpriseID Long Reserved for future use.

CData Cloud

BounceEvent

Contains SMTP and other information pertaining to the specific event of an email message bounce.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM BounceEvent WHERE Id = 123

SELECT * FROM BounceEvent WHERE Id IN (123, 456)

SELECT * FROM BounceEvent WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ID [KEY] Int Read-only identifier for an object.
ObjectID String System-controlled, read-only text string identifier for object.
PartnerKey String Unique identifier provided by partner for an object, accessible only via API..
CreatedDate Datetime Read-only date and time of the object's creation..
ModifiedDate Datetime Indicates the last time object information was modified.
Client_ID Int Specifies Id of the client.
SendID Int Contains identifier for a specific send.
SubscriberKey String Identification of a specific subscriber.
EventDate Datetime Date when a tracking event occurred.
SMTPCode String Contains SMTP code related to a bounced email.
BounceCategory String Defines category for bounce associated with a bounced email.
SMTPReason String Contains SMTP reason associated with a bounced email.
BounceType String Defines type of bounce associated with a bounced email.
EventType String The type of tracking event.
TriggeredSendDefinitionObjectID String Identifies the triggered send definition associated with an event.
BatchID Int Ties triggered send sent events to other events.

CData Cloud

ClickEvent

Contains time and date information, as well as a URL ID and a URL, regarding a click on a link contained in a message.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM ClickEvent WHERE Id = 123

SELECT * FROM ClickEvent WHERE Id IN (123, 456)

SELECT * FROM ClickEvent WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ID [KEY] Int Read-only identifier for an object.
ObjectID String System-controlled, read-only text string identifier for object.
PartnerKey String Unique identifier provided by partner for an object, accessible only via API.
CreatedDate Datetime Read-only date and time of the object's creation.
ModifiedDate Datetime Indicates the last time object information was modified.
Client_ID Int The Id of the client.
SendID Int Contains identifier for a specific send.
SubscriberKey String Identification of a specific subscriber.
EventDate Datetime Date when a tracking event occurred.
EventType String The type of tracking event
TriggeredSendDefinitionObjectID String Identifies the triggered send definition associated with an event.
BatchID Int Ties triggered send sent events to other events.
URLID Int Indicates URL ID associated with a click tracking event.
URL String Indicates URL included in an event or configuration.

CData Cloud

DataExtensionField

Represents a field within a data extension.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM DataExtensionField WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ObjectID [KEY] String System-controlled, read-only text string identifier for object.
PartnerKey String Unique identifier provided by partner for an object, accessible only via API.
CustomerKey String User-supplied unique identifier for an object within an object type, which corresponds to the external key assigned to an object in the user interface.
Name String Name of the object or property.
DefaultValue String The default value for a data extension field if no value is supplied.
MaxLength Int Maximum length of the data.
IsRequired Bool Indicates whether the property must have a value specified.
Ordinal Int Indicates position of object within an array
IsPrimaryKey Bool Designates whether a data extension field is used as a primary key for that data extension.
FieldType String Designates data type for a data extension field.
CreatedDate Datetime Read-only date and time of the object's creation.
ModifiedDate Datetime Indicates the last time object information was modified.
Scale Int Indicates numeric precision for decimal properties.
Client_ID Int The Id of the client.
DataExtension_CustomerKey String User-supplied unique identifier for an object within an object type.
StorageType String Indicates special storage properties for the field. Valid values are: Unspecified, Plain, Encrypted, or Obfuscated.

CData Cloud

DataExtensionTemplate

Represents a data extension template within an account.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM DataExtensionTemplate WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ObjectID [KEY] String System-controlled, read-only text string identifier for object.
PartnerKey String Unique identifier provided by partner for an object, accessible only via API.
CustomerKey String User-supplied unique identifier for an object within an object type.
Name String Name of the object or property.
CreatedDate Datetime Read-only date and time of the object's creation.
ModifiedDate Datetime Indicates the last time object information was modified.
Client_ID Int The Id of the client.
Description String Describes and provides information regarding the object.
IsSendable Bool Specifies whether the template is sendable.
IsTestable Bool Specifies whether the template is testable.
SendableCustomObjectField String Specifies a sendable custom object field.
SendableSubscriberField String Specifies a sendable subscriber field.
DataRetentionPeriodLength String Specifies until when should the data be retained.
DataRetentionPeriodUnitOfMeasure Int Specifies the unit of measure for the data rentention period.
RowBasedRetention Bool Specifies whether row based retention is enabled.
ResetRetentionPeriodOnImport Bool Specifies whether retention period should be reset on import.
DeleteAtEndOfRetentionPeriod Bool Specifies whether the data should be deleted at the end of the retention period.
RetainUntil Datetime Specified until when the data should be retained.

CData Cloud

DataFolder

Represents a folder in a Marketing Cloud account

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM DataFolder WHERE Id = 123

SELECT * FROM DataFolder WHERE Id IN (123, 456)

SELECT * FROM DataFolder WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ID [KEY] Int Read-only identifier for an object.
Client_ID Int The Id of the client.
ParentFolder_ID Int Specifies the parent folder If for a data folder.
ParentFolder_CustomerKey String User-supplied unique identifier for an object within an object type.
ParentFolder_ObjectID String System-controlled, read-only text string identifier for object.
ParentFolder_Name String Name of the object or property.
ParentFolder_Description String Describes and provides information regarding the object.
ParentFolder_ContentType String Defines the type of content contained within a folder.
ParentFolder_IsActive Bool Specifies whether or not the object is active.
ParentFolder_IsEditable Bool Indicates if the property can be edited by the end-user in the profile center.
ParentFolder_AllowChildren Bool Specifies whether a data folder can have child data folders.
Name String Name of the object or property.
Description String Describes and provides information regarding the object.
ContentType String Defines the type of content contained within a folder.
IsActive Bool Specifies whether or not the object is active.
IsEditable Bool Indicates if the property can be edited by the end-user in the profile center.
AllowChildren Bool Specifies whether a data folder can have child data folders.
CreatedDate Datetime Read-only date and time of the object's creation.
ModifiedDate Datetime Indicates the last time object information was modified.
Client_ModifiedBy Int Returns user ID for user who modified object.
ObjectID String System-controlled, read-only text string identifier for object.
CustomerKey String User-supplied unique identifier for an object within an object type.
Client_EnterpriseID Long Reserved for future use.
Client_CreatedBy Int Returns user ID for user who created object

CData Cloud

DoubleOptInMOKeyword

The DoubleOptInMOKeyword object defines an MO keyword, allowing a mobile user to subscribe to SMS messages using a double opt-in workflow.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM DoubleOptInMOKeyword WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
Client_ID Int The Id of the client.
CreatedDate Datetime Read-only date and time of the object's creation.
ModifiedDate Datetime Indicates the last time object information was modified.
CustomerKey String User-supplied unique identifier for an object within an object type.
IsDefaultKeyword Bool Specifies if account defaults to this SMS keyword action if no other options are available.
DefaultPublication_ID Int Read-only identifier for an object.
InvalidPublicationMessage String Specifies message to send in case a subscriber requests subscription to or unsubscription from an invalid publication list.
InvalidResponseMessage String Specifies message to send in case a subscriber sends in an invalid response.
MissingPublicationMessage String Reserved for future use.
NeedPublicationMessage String Specifies message to send in case a subscriber sends in an response that does not specify a publication list.
PromptMessage String Contains message sent to subscriber to prompt response as part of the double opt-in process.
SuccessMessage String Defines SMS message to send if triggered email send succeeds.
UnexpectedErrorMessage String Contains message to send to subscriber in case of unexpected error.
ValidPublications String Defines valid publication lists for use with a double opt-in event.
ValidResponses String Defines valid responses a subscriber can use as part of a double opt-in process.

CData Cloud

FileTriggerTypeLastPull

Reserved for future use.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM FileTriggerTypeLastPull WHERE ObjectID = 'nzxcaslkjd-123'

SELECT * FROM FileTriggerTypeLastPull WHERE ObjectID IN ('nzxcaslkjd-123', 'nzxcaslkjd-456')

Columns

Name Type Description
Client_ID Long The Id of the client.
ObjectID [KEY] String System-controlled, read-only text string identifier for object.
ExternalReference String Reserved for future use.
Type String Indicates type of specific list.
LastPullDate Datetime Reserved for future use.

CData Cloud

ForwardedEmailEvent

Indicates a subscriber used the Forward To A Friend feature to send an email to another person.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM ForwardedEmailEvent WHERE Id = 123

SELECT * FROM ForwardedEmailEvent WHERE Id IN (123, 456)

SELECT * FROM ForwardedEmailEvent WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ID [KEY] Int Read-only identifier for an object.
ObjectID String System-controlled, read-only text string identifier for object.
PartnerKey String Unique identifier provided by partner for an object, accessible only via API.
CreatedDate Datetime Read-only date and time of the object's creation.
ModifiedDate Datetime Indicates the last time object information was modified.
Client_ID Int The Id of the client.
SendID Int Contains identifier for a specific send.
SubscriberKey String Identification of a specific subscriber.
EventDate Datetime Date when a tracking event occurred.
EventType String The type of tracking event.
TriggeredSendDefinitionObjectID String Identifies the triggered send definition associated with an event.
BatchID Int Ties triggered send sent events to other events.

CData Cloud

ForwardedEmailOptInEvent

Specifies an opt-in event related to a Forward To A Friend event.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM ForwardedEmailOptInEvent WHERE Id = 123

SELECT * FROM ForwardedEmailOptInEvent WHERE Id IN (123, 456)

SELECT * FROM ForwardedEmailOptInEvent WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ID [KEY] Int Read-only identifier for an object.
ObjectID String System-controlled, read-only text string identifier for object.
PartnerKey String Unique identifier provided by partner for an object, accessible only via API.
CreatedDate Datetime Read-only date and time of the object's creation.
ModifiedDate Datetime Indicates the last time object information was modified.
Client_ID Int The Id of the client.
SendID Int Contains identifier for a specific send.
SubscriberKey String Identification of a specific subscriber.
EventDate Datetime Date when a tracking event occurred.
EventType String The type of tracking event.
TriggeredSendDefinitionObjectID String Identifies the triggered send definition associated with an event.
BatchID Int Ties triggered send sent events to other events.
OptInSubscriberKey String Specifies the subscriber key of a subscriber opted in via forwarded email.

CData Cloud

HelpMOKeyword

Defines actions associated with the HELP SMS keyword for an account.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM HelpMOKeyword WHERE Client_ID = 123

SELECT * FROM HelpMOKeyword WHERE Client_ID IN (123, 456)

SELECT * FROM HelpMOKeyword WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
Client_ID Int The Id of the client.
CreatedDate Datetime Read-only date and time of the object's creation.
ModifiedDate Datetime Indicates the last time object information was modified.
CustomerKey String User-supplied unique identifier for an object within an object type.
IsDefaultKeyword Bool Specifies if account defaults to this SMS keyword action if no other options are available.
MoreChoicesPrompt String Text used to inform MO message sender of more available choices as part of a HELP keyword action.
DefaultHelpMessage String Contains default message to deliver for a HELP MO message.
MenuText String Defines text to use for outlining multiple response options in the response to a HELP MO request.
FriendlyName String Contains the friendly name for a HELP MO keyword.

CData Cloud

ImportResultsSummary

A retrieve-only object that contains status and aggregate information on an individual import started from an ImportDefinition.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM ImportResultsSummary WHERE Id = 123

SELECT * FROM ImportResultsSummary WHERE Id IN (123, 456)

SELECT * FROM ImportResultsSummary WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ObjectID [KEY] String System-controlled, read-only text string identifier for object.
ID Int Read-only identifier for an object.
Client_ID Long The Id of the client.
ImportDefinitionCustomerKey String Specifies customer key associated with import definition used in an import.
TaskResultID Int Indicates the task result ID associated with a summary of import results.
ImportStatus String Specifies import status associated with an import.
StartDate String Indicates the start date for the time period for which to retrieve import results.
EndDate String Specifies the end data of an activity.
DestinationID String Specifies the identifier of either the list or the data extension associated with a completed import.
NumberSuccessful Int Specifies number of successful record imports resulting from an import action.
NumberDuplicated Int Specifies number of duplicated records resulting from an import.
NumberErrors Int Indicates number of errors resulting from an import.
TotalRows Int Indicates the total number of rows included in the summary of an import.
ImportType String Specfies type of import performed.

CData Cloud

LinkSend

Provides information about a link in a send.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM LinkSend WHERE Id = 123

SELECT * FROM LinkSend WHERE Id IN (123, 456)

SELECT * FROM LinkSend WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ID [KEY] Int Read-only identifier for an object.
SendID Int Contains identifier for a specific send.
PartnerKey String Unique identifier provided by partner for an object, accessible only via API.
Client_ID Int The Id of the client.
Client_PartnerClientKey String User-defined partner key for an account.
Link_ID Int The Id of the link.
Link_PartnerKey String Unique identifier provided by partner for an object, accessible only via API.
Link_TotalClicks Int Indicates total number of clicks on link in message.
Link_UniqueClicks Int Indicates number of unique clicks on message.
Link_URL String Indicates URL included in an event or configuration.
Link_Alias String Name of link contained in message.

CData Cloud

ListSend

Specifies retrieve-only properties associated with the list(s) for a completed send.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM ListSend WHERE Id = 123

SELECT * FROM ListSend WHERE Id IN (123, 456)

SELECT * FROM ListSend WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ID [KEY] Int Read-only identifier for an object.
PartnerKey String Unique identifier provided by partner for an object, accessible only via API.
Client_ID Int The Id of the client.
SendID Int Contains identifier for a specific send.
List_ID Int Read-only identifier for an object.
List_ListName String The name of the list.
Duplicates Int Represent the number of duplicate email addresses associated with a send (exists only when a send occurs to multiple lists).
InvalidAddresses Int Specifies the number of invalid addresses associated with a send.
ExistingUndeliverables Int Indicates whether bounces occurred on previous send.
ExistingUnsubscribes Int Indicates whether unsubscriptions occurred on previous send.
HardBounces Int Indicates number of hard bounces associated with a send.
SoftBounces Int Indicates number of soft bounces associated with a specific send.
OtherBounces Int Specifies number of Other-type bounces in a send.
ForwardedEmails Int Number of emails forwarded for a send.
UniqueClicks Int Indicates number of unique clicks on message.
UniqueOpens Int Indicates number of unique opens resulting from a triggered send.
NumberSent Int Number of emails actually sent as part of an email send. This number reflects all of the sent messages and may include bounced messages.
NumberDelivered Int Number of sent emails that did not bounce.
Unsubscribes Int Indicates the number of unsubscribe events associated with a send.
MissingAddresses Int Specifies number of missing addresses encountered within a send.
PreviewURL String Indicates URL used to preview the message associated with a send.

CData Cloud

ListSubscriber

Retrieves subscribers for a list or lists for a subscriber.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM ListSubscriber WHERE Id = 123

SELECT * FROM ListSubscriber WHERE Id IN (123, 456)

SELECT * FROM ListSubscriber WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ID [KEY] Int Read-only identifier for an object.
ObjectID String System-controlled, read-only text string identifier for object.
SubscriberKey String Identification of a specific subscriber.
CreatedDate Datetime Read-only date and time of the object's creation.
ModifiedDate Datetime Indicates the last time object information was modified.
Client_ID Int The Id of the client.
Client_PartnerClientKey String User-defined partner key for an account.
ListID Int Defines identification for a list the subscriber resides on.
Status String Defines status of an object.
UnsubscribedDate Datetime The date the subscriber unsubscribed.

CData Cloud

MessagingVendorKind

Contains the vendor details for an SMS (short message service) or voice messaging vendor. Deprecated.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM MessagingVendorKind WHERE Id = 123

SELECT * FROM MessagingVendorKind WHERE Id IN (123, 456)

SELECT * FROM MessagingVendorKind WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ID [KEY] Int Identifier for an object.
Vendor String Deprecated.
Kind String Deprecated.
IsUsernameRequired Bool Deprecated.
IsPasswordRequired Bool Deprecated.
IsProfileRequired Bool Deprecated.
CreatedDate Datetime Indicates the date and time of the object's creation.
ModifiedDate Datetime Indicates the last time object information was modified.

CData Cloud

NotSentEvent

Contains information on when email message failed to be sent.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM NotSentEvent WHERE SendID = 123

SELECT * FROM NotSentEvent WHERE SendID IN (123, 456)

SELECT * FROM NotSentEvent WHERE CreatedDate > '2024/01/25'

Columns

Name Type Description
SendID Int Contains identifier for a specific send.
SubscriberKey String Identification of a specific subscriber.
EventDate Datetime Date when a tracking event occurred.
Client_ID Int The Id of the client.
EventType String The type of tracking event
BatchID Int Ties triggered send sent events to other events.
TriggeredSendDefinitionObjectID String Identifies the triggered send definition associated with an event.
ListID Int Defines identification for a list the subscriber resides on.
PartnerKey String Unique identifier provided by partner for an object, accessible only via API.
SubscriberID Int The Id of the subscriber.

CData Cloud

OpenEvent

Contains information about the opening of a message send by a subscriber.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM OpenEvent WHERE Id = 123

SELECT * FROM OpenEvent WHERE Id IN (123, 456)

SELECT * FROM OpenEvent WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ID [KEY] Int Read-only identifier for an object.
ObjectID String System-controlled, read-only text string identifier for object.
PartnerKey String Unique identifier provided by partner for an object, accessible only via API.
CreatedDate Datetime Read-only date and time of the object's creation.
ModifiedDate Datetime Indicates the last time object information was modified.
Client_ID Int The Id of the client.
SendID Int Contains identifier for a specific send.
SubscriberKey String Identification of a specific subscriber.
EventDate Datetime Date when a tracking event occurred.
EventType String The type of tracking event
TriggeredSendDefinitionObjectID String Identifies the triggered send definition associated with an event.
BatchID Int Ties triggered send sent events to other events.

CData Cloud

PrivateIP

The PrivateIP object contains information on private IP address to be used as part of messages sends.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM PrivateIP WHERE Id = 123

SELECT * FROM PrivateIP WHERE Id IN (123, 456)

SELECT * FROM PrivateIP WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ID [KEY] Int Read-only identifier for an object.
PartnerKey String Unique identifier provided by partner for an object, accessible only via API.
CreatedDate Datetime Read-only date and time of the object's creation.
Client_ID Int The Id of the client.
Name String Name of the object or property.
Description String Describes and provides information regarding the object.
IsActive Bool Specifies whether or not the object is active.
OrdinalID String Defines position of object within an array of information.
IPAddress String Contains IP address to be used in for a private IP.
Client_PartnerClientKey String User-defined partner key for an account.

CData Cloud

Publication

Reserved for future use.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM Publication WHERE Id = 123

SELECT * FROM Publication WHERE Id IN (123, 456)

SELECT * FROM Publication WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ID [KEY] Int Read-only identifier for an object.
PartnerKey String Unique identifier provided by partner for an object, accessible only via API.
CreatedDate Datetime Read-only date and time of the object's creation.
ModifiedDate Datetime Indicates the last time object information was modified.
Client_ID Int The Id of the client.
Client_PartnerClientKey String User-defined partner key for an account.
Name String Name of the object or property.
Category Int ID of the folder that an item is located in.

CData Cloud

PublicationSubscriber

Describes subscriber on a publication list.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM PublicationSubscriber WHERE Publication_ID = 123

SELECT * FROM PublicationSubscriber WHERE Publication_ID IN (123, 456)

SELECT * FROM PublicationSubscriber WHERE Publication_CreatedDate > '2017/01/25'

Columns

Name Type Description
Publication_ID Int Read-only identifier for an object.
Publication_PartnerKey String Unique identifier provided by partner for an object, accessible only via API.
Publication_CreatedDate Datetime Read-only date and time of the object's creation.
Publication_ModifiedDate Datetime Indicates the last time object information was modified.
Publication_Client_ID Int Read-only identifier for an object.
Publication_Client_PartnerClientKey String Unique identifier provided by partner for an object, accessible only via API.
Client_ID Int The Id of the client.
Client_PartnerClientKey String User-defined partner key for an account.
Publication_Name String Name of the object or property.
Publication_Category Int The category of the publication.
Subscriber_ID Int Read-only identifier for an object.
Subscriber_SubscriberKey String Identification of a specific subscriber.
Subscriber_PrimarySMSAddress_AddressType String The address type of the subscriber.
Subscriber_PrimarySMSAddress_Address String The address of the subscriber.
Subscriber_PrimarySMSAddress_Carrier String The carrier of the subscriber.
Subscriber_PrimarySMSPublicationStatus String The primary SMS publication status of the subscriber.

CData Cloud

PublicKeyManagement

Reserved for future use.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM PublicKeyManagement WHERE Id = 123

SELECT * FROM PublicKeyManagement WHERE Id IN (123, 456)

SELECT * FROM PublicKeyManagement WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ID [KEY] Int Read-only identifier for an object.
Client_ID Long The Id of the client.
Name String Name of the object or property.
PartnerKey String Unique identifier provided by partner for an object, accessible only via API.
Key String Specifies key associated with content area in HTML body.
CreatedDate Datetime Read-only date and time of the object's creation.
ModifiedDate Datetime Indicates the last time object information was modified.

CData Cloud

ResultItem

Contains results of asynchronous API call.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM ResultItem WHERE AsyncAPIRequestQueueID = 123

SELECT * FROM ResultItem WHERE AsyncAPIRequestQueueID IN (123, 456)

SELECT * FROM ResultItem WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
AsyncAPIRequestQueueID Int The Id of the async API request queue.
RequestID String Unique ID of initial async API call.
ConversationID String Unique ID of initial async API call. All requests that should be processed as a single unit will have the same ConversationID.
CorrelationID String Identifies correlation of objects across several requests.
Client_ID Int The Id of the client.
CreatedDate Datetime Read-only date and time of the object's creation.
StatusCode String Status of async API request.
StatusMessage String Describes the status of an API call.
OrdinalID Int System-controlled, read-only text string identifier for object.
ErrorCode Int Identifies the error of an API request via a numeric code.
RequestType String Defines request as synchronous or asynchronous API.
RequestObjectType String Defines type of the Request object, such as email or triggered send.
ResultType Int Defines result as coming from synchronous or asynchronous API.
Client_PartnerClientKey String User-defined partner key for an account.

CData Cloud

ResultMessage

Message containing results of async call.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM ResultMessage WHERE RequestID = 123

SELECT * FROM ResultMessage WHERE RequestID IN (123, 456)

SELECT * FROM ResultMessage WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
RequestID String Unique ID of initial async API call.
ConversationID String Unique ID of initial async API call.
Client_ID Int The Id of the client.
CreatedDate Datetime Read-only date and time of the object's creation.
OverallStatusCode String Represents overall status of conversation via async API.
StatusCode String Status of async API request.
StatusMessage String Describes the status of an API call.
ErrorCode Int Identifies the error of an API request.
RequestType String Defines request as synchronous or asynchronous API.
ResultType String Defines result as coming from synchronous or asynchronous API.
ResultDetailXML String Contains details of operation result in XML format.
Client_PartnerClientKey String User-defined partner key for an account.

CData Cloud

Role

Defines roles and permissions assigned to a user in an account.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM Account WHERE ObjectID = 'nzxcaslkjd-123'

SELECT * FROM Account WHERE ObjectID IN ('nzxcaslkjd-123', 'nzxcaslkjd-456')

SELECT * FROM Account WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ObjectID [KEY] String System-controlled, read-only text string identifier for object.
CustomerKey String User-supplied unique identifier for an object within an object type.
Name String Name of the object or property.
Description String Describes and provides information regarding the object.
IsPrivate Bool Indicates whether role is defined by Marketing Cloud or a client.
IsSystemDefined Bool Indicates whether role is defined by the application.
Client_EnterpriseID Long Reserved for future use.
Client_ID Int The Id of the client.
Client_CreatedBy Int Returns user ID for user who created object
CreatedDate Datetime Read-only date and time of the object's creation.
Client_ModifiedBy Int Returns user ID for user who modified object.
ModifiedDate Datetime Indicates the last time object information was modified.
PermissionSets String Indicates permission sets applied to a Role or PermissionSet object.
Permissions String Specifies an array of permissions.

CData Cloud

SendEmailMOKeyword

Defines the action that sends a triggered email message to the email addresses defined in an MO message.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM SendEmailMOKeyword WHERE Client_ID = 123

SELECT * FROM SendEmailMOKeyword WHERE Client_ID IN (123, 456)

SELECT * FROM SendEmailMOKeyword WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
Client_ID Int The Id of the client.
CreatedDate Datetime Read-only date and time of the object's creation.
ModifiedDate Datetime Indicates the last time object information was modified.
CustomerKey String User-supplied unique identifier for an object within an object type.
NextState_CustomerKey String The customer key of the next state.
IsDefaultKeyword Bool Specifies if account defaults to this SMS keyword action if no other options are available.
SuccessMessage String Defines SMS message to send if triggered email send succeeds.
MissingEmailMessage String Defines message to send if MO message does not contain a valid email address.
FailureMessage String Defines message to deliver in case the email send fails.
TriggeredSend_CustomerKey String The customer key of the triggered send definition.

CData Cloud

SendSMSMOKeyword

Defines actions to take when the specified MO keyword is received.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM SendSMSMOKeyword WHERE Client_ID = 123

SELECT * FROM SendSMSMOKeyword WHERE Client_ID IN (123, 456)

SELECT * FROM SendSMSMOKeyword WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
Client_ID Int The Id of the client.
CreatedDate Datetime Read-only date and time of the object's creation.
ModifiedDate Datetime Indicates the last time object information was modified.
NextMOKeyword_CustomerKey String Defines the customer key of the next MO keyword to use in an SMS conversation.
CustomerKey String User-supplied unique identifier for an object within an object type.
ObjectID [KEY] String System-controlled, read-only text string identifier for object.
IsDefaultKeyword Bool Specifies if account defaults to this SMS keyword action if no other options are available.
Message String Contains contents of results message.
ScriptErrorMessage String Defines message to deliver to subscriber in case of an error in the SMS conversation.

CData Cloud

SendSummary

A retrieve only object that contains summary information about a specific send event.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM SendSummary WHERE Client_ID = 123

SELECT * FROM SendSummary WHERE Client_ID IN (123, 456)

SELECT * FROM SendSummary WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
Client_ID Int The Id of the client.
AccountID Int Identifier for account.
SendID Int Contains identifier for a specific send.
DeliveredTime String Indicates the time a message was delivered.
CreatedDate Datetime Read-only date and time of the object's creation.
ModifiedDate Datetime Indicates the last time object information was modified.
CustomerKey String User-supplied unique identifier for an object within an object type.
PartnerKey String Unique identifier provided by partner for an object, accessible only via API.
AccountName String Name of account.
AccountEmail String Specifies email address attached to account.
IsTestAccount Bool Specifies whether or not an account is a 'Test' account.
TotalSent Int Indicates total number of messages sent as part of a send.
Transactional Int Indicates number of transactional messages included in a send.
NonTransactional Int Specifies number of marketing (non-transactional) messages included as part of a send.

CData Cloud

SentEvent

Contains tracking data related to a send, including information on individual subscribers.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM SentEvent WHERE Client_ID = 123

SELECT * FROM SentEvent WHERE Client_ID IN (123, 456)

SELECT * FROM SentEvent WHERE EventDate > '2024/01/25'

Columns

Name Type Description
SendID Int Contains identifier for a specific send.
SubscriberKey String Identification of a specific subscriber.
EventDate Datetime Date when a tracking event occurred.
Client_ID Int The Id of the client.
EventType String The type of tracking event
BatchID Int Ties triggered send sent events to other events.
TriggeredSendDefinitionObjectID String Identifies the triggered send definition associated with an event.
ListID Int Defines identification for a list the subscriber resides on.
PartnerKey String Unique identifier provided by partner for an object, accessible only via API.
SubscriberID Int The Id of the subscriber.

CData Cloud

SMSMTEvent

Contains information on a specific SMS message sent to a subscriber.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM SMSMTEvent WHERE ObjectID = 'nzxcaslkjd-123'

SELECT * FROM SMSMTEvent WHERE ObjectID IN ('nzxcaslkjd-123', 'nzxcaslkjd-456')

SELECT * FROM SMSMTEvent WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ObjectID [KEY] String System-controlled, read-only text string identifier for object.
EventDate Datetime Date when a tracking event occurred.
Client_ID Long The Id of the client.
MOCode String Specifies the MO code associated with a specific MO or MT tracking event.
SMSTriggeredSend_SMSSendId String Indicates ID for a specific SMS send.
SMSTriggeredSend_SMSTriggeredSendDefinition_ObjectID String System-controlled, read-only text string identifier for object.
SMSTriggeredSend_SMSTriggeredSendDefinition_CustomerKey String User-supplied unique identifier for an object within an object type.
Subscriber_ID Int Read-only identifier for an object.
Subscriber_SubscriberKey String Identification of a specific subscriber.
Subscriber_PrimarySMSAddress_Address String The primary SMS address of the subscribers.
Carrier String Name of the SMS carrier associated with an SMS address.

CData Cloud

SMSSharedKeyword

Contains information used to request a keyword for use with SMS messages in a Marketing Cloud account.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM SMSSharedKeyword WHERE Client_ID = 123

SELECT * FROM SMSSharedKeyword WHERE Client_ID IN (123, 456)

SELECT * FROM SMSSharedKeyword WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
CreatedDate Datetime Read-only date and time of the object's creation.
ModifiedDate Datetime Indicates the last time object information was modified.
Client_ID Long The Id of the client.
SharedKeyword String Specifies keyword requested for use in an account.
RequestDate Datetime Specifies the date when the request for an SMS shared keyword was made.
EffectiveDate Datetime Specifies when an SMS shared keyword becomes active for use.
ExpireDate Datetime Specifies when an SMS shared keyword stops being active for use.
ReturnToPoolDate Datetime Specifies the date when an expired SMS keyword can be requested for different use in a short code.
ShortCode String Specifies the short code for which an SMS keyword was requested.

CData Cloud

SMSTriggeredSendDefinition

Defines the send definition for an SMS message.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM SMSTriggeredSendDefinition WHERE ObjectID = 'nzxcaslkjd-123'

SELECT * FROM SMSTriggeredSendDefinition WHERE ObjectID IN ('nzxcaslkjd-123', 'nzxcaslkjd-456')

SELECT * FROM SMSTriggeredSendDefinition WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ObjectID [KEY] String System-controlled, read-only text string identifier for object.
CustomerKey String User-supplied unique identifier for an object within an object type.
Client_ID Long The Id of the client.
Name String Name of the object or property.
Description String Describes and provides information regarding the object.
Publication_ID Int Read-only identifier for an object.
CreatedDate Datetime Read-only date and time of the object's creation.
ModifiedDate Datetime Indicates the last time object information was modified.
Content_ID Int Read-only identifier for an object.
SendToList Bool Indicates whether SMS triggered send goes to a list or a single subscriber.
DataExtension_ObjectID String System-controlled, read-only text string identifier for object.
IsPlatformObject Bool Indicated whether the object is a platform object.

CData Cloud

SubscriberList

Use to retrieve lists for a specific subscriber.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM SubscriberList WHERE Id = 123

SELECT * FROM SubscriberList WHERE Id IN (123, 456)

SELECT * FROM SubscriberList WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ListSubID Long Identifier for an object.
ID [KEY] Int Identifier for an object.
PartnerKey String Unique identifier provided by partner for an object, accessible only via API.
CreatedDate Datetime date and time of the object's creation.
Subscriber_UnsubscribedDate Datetime The unsubscribed date of the subscriber.
Client_ID Int The Id of the client.
Status String Defines status of object.
List_ID Int Identifier for an object.
List_ListName String The name of the list.
Subscriber_Status String Defines status of object.
Subscriber_CreatedDate Datetime Indicates the date and time of the object's creation.
Subscriber_ID Int identifier for an object.
Subscriber_EmailAddress String The email address of a subscriber.
Subscriber_SubscriberKey String Identification of a specific subscriber.
Subscriber_PartnerKey String Unique identifier provided by partner for an object, accessible only via API.

CData Cloud

SubscriberSendResult

Reserved for future use.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM SubscriberSendResult WHERE Id = 123

SELECT * FROM SubscriberSendResult WHERE Id IN (123, 456)

SELECT * FROM SubscriberSendResult WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
Send_ID Int Read-only identifier for an object.
ID [KEY] Int Read-only identifier for an object.
Email_ID Int Read-only identifier for an object.
Email_Name String Name of the object or property.
Subject String Contains subject area information for a message.
FromName String Specifies the default email message From Name.
FromAddress String Indicates From address associated with a object.
SentDate Datetime Indicates date on which a send took place.
OpenDate Datetime Specifies data on which a subscriber opened a send.
ClickDate Datetime Specifies the data subscriber clicked a link included in a send.
Subscriber_Partnerkey String Unique identifier provided by partner for an object, accessible only via API.
Subscriber_EmailAddress String The email address of the subscriber.
Subscriber_PartnerType String The partner type of the subscriber.
UnsubscribeDate Datetime Indicates the date on which an unsubscribe event took place due to a send.
LastOpenDate Int Specifies the date subscribe was last opened.
LastClickDate Int Specifies the date subscribe was last clicked.
BounceDate Datetime Contains the date on which an individual send bounced for a subscriber.
EventDate Int Indicated the date of the event.
TotalClicks Int Indicates total number of clicks on link in message.
UniqueClicks Int Indicates number of unique clicks on message.
EmailAddress Int Indicates From address associated with a object.
Subscriber_ID Int Read-only identifier for an object.
SubscriberTypeID Int Read-only identifier for an object.
Subscriber_SubscriberKey String The subscriber key of the subscriber.
Send_PartnerKey String Unique identifier provided by partner for an object, accessible only via API.
PartnerKey String Unique identifier provided by partner for an object, accessible only via API.
Client_ID Int The Id of the client.
OtherBounces Int Specifies number of Other-type bounces in a send.
SoftBounces Int Indicates number of soft bounces associated with a specific send.
HardBounces Int Indicates number of hard bounces associated with a send.

CData Cloud

SubscriberStatusEvent

null

Columns

Name Type Description
ObjectID [KEY] String System-controlled, read-only text string identifier for object.
SubscriberID Long The Id of the subscriber.
Client_ID Long The Id of the client.
CurrentStatus String Defines current status of object.
PreviousStatus String Defines previous status of object.
CreatedDate Datetime Indicates the date and time of the object's creation.
SubscriberKey String Identification of a specific subscriber.
ReasonUnsub String Represents the reason why the subscriber unsubscribed from a list.

CData Cloud

SuppressionListContext

Defines a context that a SuppressionListDefinition can be associated with.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM SuppressionListContext WHERE Id = 123

SELECT * FROM SuppressionListContext WHERE Id IN (123, 456)

SELECT * FROM SuppressionListContext WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ObjectID [KEY] String System-controlled, read-only text string identifier for object.
Definition_ObjectID String System-controlled, read-only text string identifier for object.
Definition_Name String Name of the object or property.
Definition_CustomerKey String User-supplied unique identifier for an object within an object type.
Definition_Category Long The category of the defition.
Definition_Description String Describes and provides information regarding the object.
Context String The context with which a SuppressionListDefinition is associated.
SendClassification_ObjectID String System-controlled, read-only text string identifier for object.
Send_ID Int Read-only identifier for an object.
SenderProfile_ObjectID String System-controlled, read-only text string identifier for object.
SendClassificationType String Defines the type for the applicable send classification. Valid values include Operational and Marketing.
Client_CreatedBy Int Returns user ID for user who created object
CreatedDate Datetime Read-only date and time of the object's creation.
Client_ModifiedBy Int Returns user ID for user who modified object.
ModifiedDate Datetime Indicates the last time object information was modified.
Client_ID Long The Id of the client.
Client_EnterpriseID Long Reserved for future use.
AppliesToAllSends Bool Indicates whether this context applies to all transactional and marketing sends.

CData Cloud

SurveyEvent

Contains information on when a survey response took place.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM SurveyEvent WHERE Id = 123

SELECT * FROM SurveyEvent WHERE Id IN (123, 456)

SELECT * FROM SurveyEvent WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ID [KEY] Int Read-only identifier for an object.
ObjectID String System-controlled, read-only text string identifier for object.
PartnerKey String Unique identifier provided by partner for an object, accessible only via API.
CreatedDate Datetime Read-only date and time of the object's creation.
ModifiedDate Datetime Indicates the last time object information was modified.
Client_ID Int The Id of the client.
SendID Int Contains identifier for a specific send.
SubscriberKey String Identification of a specific subscriber.
EventDate Datetime Date when a tracking event occurred.
EventType String The type of tracking event.
TriggeredSendDefinitionObjectID String Identifies the triggered send definition associated with an event.
BatchID Int Ties triggered send sent events to other events.
Question String Specifies question associated with a survey event.
Answer String The answer provided by a subscriber to the survey question.

CData Cloud

Template

Represents an email template in a Marketing Cloud account.

Table-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM Template WHERE ObjectID = 'nzxcaslkjd-123'

SELECT * FROM Template WHERE ObjectID IN ('nzxcaslkjd-123', 'nzxcaslkjd-456')

SELECT * FROM Template WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ObjectID String System-controlled, read-only text string identifier for object.
ID [KEY] Int Read-only identifier for an object.
Client_ID Int The Id of the client.
TemplateName String Name used to identify template within Marketing Cloud application.
LayoutHTML String Contains HTML used to define layout of fields and content within template.
BackgroundColor String Specifies background color used for template.
BorderColor String Specifies border color used in template.
BorderWidth Int Specifies border pixel width used in template.
Cellpadding Int Specifies pixel width of padding within cells used in template.
Cellspacing Int Specifies pixel spacing between cells used in template.
Width Int Specifies the pixel width of the entire template
Align String Indicates the alignment of elements within the template.
ActiveFlag Int Indicates whether the template is available for use within the account.
CategoryID Int Indicates whether content validation has completed for this email message.
CategoryType String Identifies correlation of objects across several requests.
OwnerID Int Specifies MID of business unit that created the template within an Enterprise 2.0 account.
HeaderContent_ID Int The Id of the header content.
HeaderContent_ObjectID String System-controlled, read-only text string identifier for object.
Layout_ID Int The Id of the layout.
Layout_LayoutName String The name of the layout.
CustomerKey String User-supplied unique identifier for an object within an object type.
TemplateSubject String Contains email subject line specified by the template.
IsTemplateSubjectLocked Bool Indicates whether the subject defined in the header can be changed or not by email using template.

CData Cloud

TimeZone

Represents a specific time zone in the application.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM TimeZone

Columns

Name Type Description
ID [KEY] Int Read-only identifier for an object.
Name String Name of the object or property.

CData Cloud

TriggeredSendSummary

Summary of results for a specific triggered send.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM TriggeredSendSummary WHERE ObjectID = 'nzxcaslkjd-123'

SELECT * FROM TriggeredSendSummary WHERE ObjectID IN ('nzxcaslkjd-123', 'nzxcaslkjd-456')

SELECT * FROM TriggeredSendSummary WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ObjectID [KEY] String System-controlled, read-only text string identifier for object.
Client_ID Long The Id of the client.
Client_PartnerClientKey String User-defined partner key for an account.
CustomerKey String User-supplied unique identifier for an object within an object type.
PartnerKey String Unique identifier provided by partner for an object, accessible only via API.
Sent Long Indicates number of messages sent.
NotSentDueToOptOut Long Indicates number of sends not completed due to a subscriber's decision to opt out of receiving messages.
NotSentDueToUndeliverable Long Indicates number of sends not completed due to a subscriber's undeliverable status.
Bounces Long Indicates number of bounces resulting from a triggered send.
Opens Long Indicates number of opens from a triggered send.
UniqueOpens Long Indicates number of opens from a triggered send.
Clicks Long Indicates the number of clicks resulting from a triggered send.
UniqueClicks Long Indicates number of unique clicks on message.
OptOuts Long Indicates number of subscribers who opted out of receiving messages after receiving a triggered send.
SurveyResponses Long Indicates number of responses to a survey question contained in a triggered send.
FTAFRequests Long Indicates number of Forward To A Friend requests received as part of a triggered send.
FTAFEmailsSent Long Indicates Forward To A Friend emails sent as a result of a triggered send.
FTAFOptIns Long Indicates number of subscribers opting in to receiving messages as a result of a Forward To A Friend action from a triggered send.
Conversions Long Indicates the number of conversions results from a triggered send.
UniqueConversions Long Indicates number of unique conversions resulting from a triggered send.
InProcess Long Indicates the number of triggered send messages in progress. Deprecated.
NotSentDueToError Long Indicates number of triggered send messages not sent due to error.
RowObjectID String The row id of the object.
TriggeredSendDefinition_ObjectID String The Id of the associated triggered send definition for triggered send.
Queued Long Indicates number of messages queued for sending.

CData Cloud

UnsubEvent

Contains information regarding a specific unsubscription action taken by a subscriber.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM UnsubEvent WHERE Id = 123

SELECT * FROM UnsubEvent WHERE Id IN (123, 456)

SELECT * FROM UnsubEvent WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
ID Int Read-only identifier for an object.
ObjectID String System-controlled, read-only text string identifier for object.
PartnerKey String Unique identifier provided by partner for an object, accessible only via API.
CreatedDate Datetime Read-only date and time of the object's creation.
ModifiedDate Datetime Indicates the last time object information was modified.
Client_ID Int The Id of the client.
SendID Int Contains identifier for a specific send.
SubscriberKey String Identification of a specific subscriber.
EventDate Datetime Date when a tracking event occurred.
EventType String The type of tracking event
TriggeredSendDefinitionObjectID String Identifies the triggered send definition associated with an event.
BatchID Int Ties triggered send sent events to other events.
List_ID Int Indicates the id of the list involved in the unsubscription.
List_Type String Indicates type of specific list. Valid values include Public, Private, Salesforce, GlobalUnsubscribe, and Master.
List_ListClassification String Specifies the classification for a list.
IsMasterUnsubscribed Bool Indicates whether the subscriber master unsubscribed.

CData Cloud

UnsubscribeFromSMSPublicationMOKeyword

Defines keyword used by a subscriber to unsubscribe from an SMS publication list.

View-Specific Information

Select

The Cloud uses the Salesforce Marketing Cloud APIs to process the following WHERE clause operators for all but date-time values: =, !=, <>, >, >=, <, <=, IN. For date-time values, only > and < are supported. The Cloud processes other filters client-side within the Cloud.

For example, the following (but not only) queries are processed server side:

SELECT * FROM UnsubscribeFromSMSPublicationMOKeyword WHERE Client_ID = 123

SELECT * FROM UnsubscribeFromSMSPublicationMOKeyword WHERE Client_ID IN (123, 456)

SELECT * FROM UnsubscribeFromSMSPublicationMOKeyword WHERE CreatedDate > '2017/01/25'

Columns

Name Type Description
Client_ID Int The Id of the client.
CreatedDate Datetime Read-only date and time of the object's creation.
ModifiedDate Datetime Indicates the last time object information was modified.
CustomerKey String User-supplied unique identifier for an object within an object type.
NextMOKeyword_CustomerKey String Defines next MO keyword to use in an SMS conversation.
IsDefaultKeyword Bool Specifies if account defaults to this SMS keyword action if no other options are available.
AllUnsubSuccessMessage String Contains message to send to subscriber when they have successfully unsubscribed from all SMS publication lists.
InvalidPublicationMessage String Specifies message to send in case a subscriber requests subscription to or unsubscription from an invalid publication list.
SingleUnsubSuccessMessage String Contains message to send to subscriber when they have successfully unsubscribed from a single publication list.

CData Cloud

ストアドプロシージャ

ストアドプロシージャはファンクションライクなインターフェースで、Salesforce Marketing Cloud の単純なSELECT/INSERT/UPDATE/DELETE 処理にとどまらずCloud の機能を拡張します。

ストアドプロシージャは、パラメータのリストを受け取り、目的の機能を実行し、プロシージャが成功したか失敗したかを示すとともにSalesforce Marketing Cloud から関連するレスポンスデータを返します。

CData Cloud - Salesforce Marketing Cloud ストアドプロシージャ

Name Description
CreateTriggeredSend Create a triggered send object which represents a specific instance of a triggered email send.

CData Cloud

CreateTriggeredSend

Create a triggered send object which represents a specific instance of a triggered email send.

Table Specific Information

Subscribers

You cannot create a trigger send without specifying the subscribers. To create subscribers, you must insert data in a temporary table called 'Subscribers#TEMP'.

Example: Create two subscribers

INSERT INTO Subscribers#TEMP (SubscriberKey, EmailAddress) VALUES ('a4367b39-d7d6-4612-a020-0952aa9e83dd', '[email protected]')
INSERT INTO Subscribers#TEMP (SubscriberKey, EmailAddress) VALUES ('21621cc5-d12e-46d0-bf09-a429da29ef1a', '[email protected]')

Attributes

To create attributes, you must insert data in a temporary table called 'Attributes#TEMP'.

Example: Create two attributes

INSERT INTO Attributes#TEMP (Name, Value) VALUES ('orderstatus', 'received')
INSERT INTO Attributes#TEMP (Name, Value) VALUES ('orderdate', '2015-06-30 11:10:36.956')

Execute

After creating at least one subscriber item, you can execute the stored procedure.

EXECUTE CreateTriggeredSend Owner_ClientId = '7307527', Owner_FromName = 'From_Name', Owner_FromAddress = '[email protected]', TriggeredSendDefinitionCustomerKey = '27775'

Input

Name Type Required Description
TriggeredSendDefinitionCustomerKey String True Defines associated triggered send definition for triggered send. This property corresponds to the external key assigned to an object in Marketing Cloud.
Owner_ClientId String False Specifies the account ownership and context of an object.
Owner_FromAddress String False Indicates From address associated with a object.
Owner_FromName String False Specifies the default email message From Name.

Result Set Columns

Name Type Description
Success Boolean Whether the triggered send object was created successfully or not.

CData Cloud

システムテーブル

このセクションで説明されているシステムテーブルをクエリして、スキーマ情報、データソース機能に関する情報、およびバッチ操作の統計にアクセスできます。

スキーマテーブル

以下のテーブルは、Salesforce Marketing Cloud のデータベースメタデータを返します。

  • sys_catalogs:利用可能なデータベースをリスト。
  • sys_schemas:利用可能なスキーマをリスト。
  • sys_tables:利用可能なテーブルおよびビューをリスト。
  • sys_tablecolumns:利用可能なテーブルおよびビューのカラムについて説明。
  • sys_procedures:利用可能なストアドプロシージャについて説明。
  • sys_procedureparameters:ストアドプロシージャパラメータについて説明。
  • sys_keycolumns:主キーおよび外部キーについて説明。
  • sys_indexes:利用可能なインデックスについて説明。

データソーステーブル

以下のテーブルは、データソースへの接続方法およびクエリ方法についての情報を返します。

  • sys_connection_props:利用可能な接続プロパティについての情報を返す。
  • sys_sqlinfo:Cloud がデータソースにオフロードできるSELECT クエリについて説明。

クエリ情報テーブル

次のテーブルは、データ変更クエリ(バッチ処理を含む)のクエリ統計を返します。

  • sys_identity:バッチ処理または単一の更新に関する情報を返す。

CData Cloud

sys_catalogs

利用可能なデータベースをリストします。

次のクエリは、接続文字列で決定されるすべてのデータベースを取得します。

SELECT * FROM sys_catalogs

Columns

Name Type Description
CatalogName String データベース名。

CData Cloud

sys_schemas

利用可能なスキーマをリストします。

次のクエリは、すべての利用可能なスキーマを取得します。

          SELECT * FROM sys_schemas
          

Columns

Name Type Description
CatalogName String データベース名。
SchemaName String スキーマ名。

CData Cloud

sys_tables

利用可能なテーブルをリストします。

次のクエリは、利用可能なテーブルおよびビューを取得します。

          SELECT * FROM sys_tables
          

Columns

Name Type Description
CatalogName String テーブルまたはビューを含むデータベース。
SchemaName String テーブルまたはビューを含むスキーマ。
TableName String テーブル名またはビュー名。
TableType String テーブルの種類(テーブルまたはビュー)。
Description String テーブルまたはビューの説明。
IsUpdateable Boolean テーブルが更新可能かどうか。

CData Cloud

sys_tablecolumns

利用可能なテーブルおよびビューのカラムについて説明します。

次のクエリは、Subscriber テーブルのカラムとデータ型を返します。

SELECT ColumnName, DataTypeName FROM sys_tablecolumns WHERE TableName='Subscriber' 

Columns

Name Type Description
CatalogName String テーブルまたはビューを含むデータベースの名前。
SchemaName String テーブルまたはビューを含むスキーマ。
TableName String カラムを含むテーブルまたはビューの名前。
ColumnName String カラム名。
DataTypeName String データ型の名前。
DataType Int32 データ型を示す整数値。この値は、実行時に環境に基づいて決定されます。
Length Int32 カラムのストレージサイズ。
DisplaySize Int32 指定されたカラムの通常の最大幅(文字数)。
NumericPrecision Int32 数値データの最大桁数。文字データおよび日時データの場合は、カラムの長さ(文字数)。
NumericScale Int32 カラムのスケール(小数点以下の桁数)。
IsNullable Boolean カラムがNull を含められるかどうか。
Description String カラムの簡単な説明。
Ordinal Int32 カラムのシーケンスナンバー。
IsAutoIncrement String カラムに固定増分値が割り当てられるかどうか。
IsGeneratedColumn String 生成されたカラムであるかどうか。
IsHidden Boolean カラムが非表示かどうか。
IsArray Boolean カラムが配列かどうか。
IsReadOnly Boolean カラムが読み取り専用かどうか。
IsKey Boolean sys_tablecolumns から返されたフィールドがテーブルの主キーであるかどうか。

CData Cloud

sys_procedures

利用可能なストアドプロシージャをリストします。

次のクエリは、利用可能なストアドプロシージャを取得します。

          SELECT * FROM sys_procedures
          

Columns

Name Type Description
CatalogName String ストアドプロシージャを含むデータベース。
SchemaName String ストアドプロシージャを含むスキーマ。
ProcedureName String ストアドプロシージャの名前。
Description String ストアドプロシージャの説明。
ProcedureType String PROCEDURE やFUNCTION などのプロシージャのタイプ。

CData Cloud

sys_procedureparameters

ストアドプロシージャパラメータについて説明します。

次のクエリは、SelectEntries ストアドプロシージャのすべての入力パラメータについての情報を返します。

SELECT * FROM sys_procedureparameters WHERE ProcedureName='SelectEntries' AND Direction=1 OR Direction=2

Columns

Name Type Description
CatalogName String ストアドプロシージャを含むデータベースの名前。
SchemaName String ストアドプロシージャを含むスキーマの名前。
ProcedureName String パラメータを含むストアドプロシージャの名前。
ColumnName String ストアドプロシージャパラメータの名前。
Direction Int32 パラメータのタイプに対応する整数値:input (1)。input/output (2)、またはoutput(4)。input/output タイプパラメータは、入力パラメータと出力パラメータの両方になれます。
DataTypeName String データ型の名前。
DataType Int32 データ型を示す整数値。この値は、実行時に環境に基づいて決定されます。
Length Int32 文字データの場合は、許可される文字数。数値データの場合は、許可される桁数。
NumericPrecision Int32 数値データの場合は最大精度。文字データおよび日時データの場合は、カラムの長さ(文字数)。
NumericScale Int32 数値データの小数点以下の桁数。
IsNullable Boolean パラメータがNull を含められるかどうか。
IsRequired Boolean プロシージャの実行にパラメータが必要かどうか。
IsArray Boolean パラメータが配列かどうか。
Description String パラメータの説明。
Ordinal Int32 パラメータのインデックス。

CData Cloud

sys_keycolumns

主キーおよび外部キーについて説明します。

次のクエリは、Subscriber テーブルの主キーを取得します。

         SELECT * FROM sys_keycolumns WHERE IsKey='True' AND TableName='Subscriber' 
          

Columns

Name Type Description
CatalogName String キーを含むデータベースの名前。
SchemaName String キーを含むスキーマの名前。
TableName String キーを含むテーブルの名前。
ColumnName String キーカラムの名前
IsKey Boolean カラムがTableName フィールドで参照されるテーブル内の主キーかどうか。
IsForeignKey Boolean カラムがTableName フィールドで参照される外部キーかどうか。
PrimaryKeyName String 主キーの名前。
ForeignKeyName String 外部キーの名前。
ReferencedCatalogName String 主キーを含むデータベース。
ReferencedSchemaName String 主キーを含むスキーマ。
ReferencedTableName String 主キーを含むテーブル。
ReferencedColumnName String 主キーのカラム名。

CData Cloud

sys_foreignkeys

外部キーについて説明します。

次のクエリは、他のテーブルを参照するすべての外部キーを取得します。

         SELECT * FROM sys_foreignkeys WHERE ForeignKeyType = 'FOREIGNKEY_TYPE_IMPORT'
          

カラム

名前 タイプ 説明
CatalogName String キーを含むデータベースの名前。
SchemaName String キーを含むスキーマの名前。
TableName String キーを含むテーブルの名前。
ColumnName String キーカラムの名前
PrimaryKeyName String 主キーの名前。
ForeignKeyName String 外部キーの名前。
ReferencedCatalogName String 主キーを含むデータベース。
ReferencedSchemaName String 主キーを含むスキーマ。
ReferencedTableName String 主キーを含むテーブル。
ReferencedColumnName String 主キーのカラム名。
ForeignKeyType String 外部キーがインポート(他のテーブルを指す)キーかエクスポート(他のテーブルから参照される)キーかを指定します。

CData Cloud

sys_primarykeys

主キーについて説明します。

次のクエリは、すべてのテーブルとビューから主キーを取得します。

         SELECT * FROM sys_primarykeys
          

Columns

Name Type Description
CatalogName String キーを含むデータベースの名前。
SchemaName String キーを含むスキーマの名前。
TableName String キーを含むテーブルの名前。
ColumnName String キーカラムの名前。
KeySeq String 主キーのシーケンス番号。
KeyName String 主キーの名前。

CData Cloud

sys_indexes

利用可能なインデックスについて説明します。インデックスをフィルタリングすることで、より高速なクエリ応答時間でセレクティブクエリを記述できます。

次のクエリは、主キーでないすべてのインデックスを取得します。

          SELECT * FROM sys_indexes WHERE IsPrimary='false'
          

Columns

Name Type Description
CatalogName String インデックスを含むデータベースの名前。
SchemaName String インデックスを含むスキーマの名前。
TableName String インデックスを含むテーブルの名前。
IndexName String インデックス名。
ColumnName String インデックスに関連付けられたカラムの名前。
IsUnique Boolean インデックスが固有の場合はTrue。そうでない場合はFalse。
IsPrimary Boolean インデックスが主キーの場合はTrue。そうでない場合はFalse。
Type Int16 インデックスタイプに対応する整数値:statistic (0)、clustered (1)、hashed (2)、またはother (3)。
SortOrder String 並べ替え順序:A が昇順、D が降順。
OrdinalPosition Int16 インデックスのカラムのシーケンスナンバー。

CData Cloud

sys_connection_props

利用可能な接続プロパティと、接続文字列に設定されている接続プロパティに関する情報を返します。

次のクエリは、接続文字列に設定されている、あるいはデフォルト値で設定されているすべての接続プロパティを取得します。

SELECT * FROM sys_connection_props WHERE Value <> ''

Columns

Name Type Description
Name String 接続プロパティ名。
ShortDescription String 簡単な説明。
Type String 接続プロパティのデータ型。
Default String 明示的に設定されていない場合のデフォルト値。
Values String 可能な値のカンマ区切りリスト。別な値が指定されていると、検証エラーがスローされます。
Value String 設定した値またはあらかじめ設定されたデフォルト。
Required Boolean プロパティが接続に必要かどうか。
Category String 接続プロパティのカテゴリ。
IsSessionProperty String プロパティが、現在の接続に関する情報を保存するために使用されるセッションプロパティかどうか。
Sensitivity String プロパティの機密度。これは、プロパティがロギングおよび認証フォームで難読化されているかどうかを通知します。
PropertyName String キャメルケースの短縮形の接続プロパティ名。
Ordinal Int32 パラメータのインデックス。
CatOrdinal Int32 パラメータカテゴリのインデックス。
Hierarchy String このプロパティと一緒に設定する必要がある、関連のある依存プロパティを表示します。
Visible Boolean プロパティが接続UI に表示されるかどうかを通知します。
ETC String プロパティに関するその他のさまざまな情報。

CData Cloud

sys_sqlinfo

Cloud がデータソースにオフロードできるSELECT クエリ処理について説明します。

SQL 構文の詳細については、SQL 準拠 を参照してください。

データソースのSELECT 機能

以下はSQL 機能のサンプルデータセットです。 SELECT 機能のいくつかの側面がサポートされている場合には、カンマ区切りのリストで返されます。サポートされていない場合、カラムにはNO が入ります。

名前説明有効な値
AGGREGATE_FUNCTIONSサポートされている集計関数。AVG, COUNT, MAX, MIN, SUM, DISTINCT
COUNTCOUNT 関数がサポートされているかどうか。YES, NO
IDENTIFIER_QUOTE_OPEN_CHAR識別子をエスケープするための開始文字。[
IDENTIFIER_QUOTE_CLOSE_CHAR識別子をエスケープするための終了文字。]
SUPPORTED_OPERATORSサポートされているSQL 演算子。=, >, <, >=, <=, <>, !=, LIKE, NOT LIKE, IN, NOT IN, IS NULL, IS NOT NULL, AND, OR
GROUP_BYGROUP BY がサポートされているかどうか。サポートされている場合、どのレベルでサポートされているか。NO, NO_RELATION, EQUALS_SELECT, SQL_GB_COLLATE
OJ_CAPABILITIESサポートされている外部結合の種類。NO, LEFT, RIGHT, FULL, INNER, NOT_ORDERED, ALL_COMPARISON_OPS
OUTER_JOINS外部結合がサポートされているかどうか。YES, NO
SUBQUERIESサブクエリがサポートされているかどうか。サポートされていれば、どのレベルでサポートされているか。NO, COMPARISON, EXISTS, IN, CORRELATED_SUBQUERIES, QUANTIFIED
STRING_FUNCTIONSサポートされている文字列関数。LENGTH, CHAR, LOCATE, REPLACE, SUBSTRING, RTRIM, LTRIM, RIGHT, LEFT, UCASE, SPACE, SOUNDEX, LCASE, CONCAT, ASCII, REPEAT, OCTET, BIT, POSITION, INSERT, TRIM, UPPER, REGEXP, LOWER, DIFFERENCE, CHARACTER, SUBSTR, STR, REVERSE, PLAN, UUIDTOSTR, TRANSLATE, TRAILING, TO, STUFF, STRTOUUID, STRING, SPLIT, SORTKEY, SIMILAR, REPLICATE, PATINDEX, LPAD, LEN, LEADING, KEY, INSTR, INSERTSTR, HTML, GRAPHICAL, CONVERT, COLLATION, CHARINDEX, BYTE
NUMERIC_FUNCTIONSサポートされている数値関数。ABS, ACOS, ASIN, ATAN, ATAN2, CEILING, COS, COT, EXP, FLOOR, LOG, MOD, SIGN, SIN, SQRT, TAN, PI, RAND, DEGREES, LOG10, POWER, RADIANS, ROUND, TRUNCATE
TIMEDATE_FUNCTIONSサポートされている日付および時刻関数。NOW, CURDATE, DAYOFMONTH, DAYOFWEEK, DAYOFYEAR, MONTH, QUARTER, WEEK, YEAR, CURTIME, HOUR, MINUTE, SECOND, TIMESTAMPADD, TIMESTAMPDIFF, DAYNAME, MONTHNAME, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, EXTRACT
REPLICATION_SKIP_TABLESレプリケーション中にスキップされたテーブルを示します。
REPLICATION_TIMECHECK_COLUMNSレプリケーション中に更新判断のカラムとして使用するかどうかを、(指定された順に)チェックするカラムのリストを含む文字列の配列。
IDENTIFIER_PATTERN識別子としてどの文字列が有効かを示す文字列値。
SUPPORT_TRANSACTIONプロバイダーが、コミットやロールバックなどのトランザクションをサポートしているかどうかを示します。YES, NO
DIALECT使用するSQL ダイアレクトを示します。
KEY_PROPERTIESUniform データベースを特定するプロパティを示します。
SUPPORTS_MULTIPLE_SCHEMASプロバイダー用に複数のスキームが存在するかどうかを示します。YES, NO
SUPPORTS_MULTIPLE_CATALOGSプロバイダー用に複数のカタログが存在するかどうかを示します。YES, NO
DATASYNCVERSIONこのドライバーにアクセスするために必要な、CData Sync のバージョン。Standard, Starter, Professional, Enterprise
DATASYNCCATEGORYこのドライバーのCData Sync カテゴリ。Source, Destination, Cloud Destination
SUPPORTSENHANCEDSQLAPI で提供されている以上の、追加SQL 機能がサポートされているかどうか。TRUE, FALSE
SUPPORTS_BATCH_OPERATIONSバッチ操作がサポートされているかどうか。YES, NO
SQL_CAPこのドライバーでサポートされているすべてのSQL 機能。SELECT, INSERT, DELETE, UPDATE, TRANSACTIONS, ORDERBY, OAUTH, ASSIGNEDID, LIMIT, LIKE, BULKINSERT, COUNT, BULKDELETE, BULKUPDATE, GROUPBY, HAVING, AGGS, OFFSET, REPLICATE, COUNTDISTINCT, JOINS, DROP, CREATE, DISTINCT, INNERJOINS, SUBQUERIES, ALTER, MULTIPLESCHEMAS, GROUPBYNORELATION, OUTERJOINS, UNIONALL, UNION, UPSERT, GETDELETED, CROSSJOINS, GROUPBYCOLLATE, MULTIPLECATS, FULLOUTERJOIN, MERGE, JSONEXTRACT, BULKUPSERT, SUM, SUBQUERIESFULL, MIN, MAX, JOINSFULL, XMLEXTRACT, AVG, MULTISTATEMENTS, FOREIGNKEYS, CASE, LEFTJOINS, COMMAJOINS, WITH, LITERALS, RENAME, NESTEDTABLES, EXECUTE, BATCH, BASIC, INDEX
PREFERRED_CACHE_OPTIONS使用したいcacheOptions を指定する文字列値。
ENABLE_EF_ADVANCED_QUERYドライバーがEntity Framework の高度なクエリをサポートしているかどうかを示します。サポートしていなければ、クエリはクライアントサイドで処理されます。YES, NO
PSEUDO_COLUMNS利用可能な疑似カラムを示す文字列の配列。
MERGE_ALWAYS値がtrue であれば、CData Sync 内でMerge Model が強制的に実行されます。TRUE, FALSE
REPLICATION_MIN_DATE_QUERYレプリケート開始日時を返すSELECT クエリ。
REPLICATION_MIN_FUNCTIONサーバーサイドでmin を実行するために使用する式名を、プロバイダーが指定できるようになります。
REPLICATION_START_DATEレプリケート開始日を、プロバイダーが指定できるようになります。
REPLICATION_MAX_DATE_QUERYレプリケート終了日時を返すSELECT クエリ。
REPLICATION_MAX_FUNCTIONサーバーサイドでmax を実行するために使用する式名を、プロバイダーが指定できるようになります。
IGNORE_INTERVALS_ON_INITIAL_REPLICATE初回のレプリケートで、レプリケートをチャンクに分割しないテーブルのリスト。
CHECKCACHE_USE_PARENTIDCheckCache 構文を親キーカラムに対して実行するかどうかを示します。TRUE, FALSE
CREATE_SCHEMA_PROCEDURESスキーマファイルの生成に使用できる、ストアドプロシージャを示します。

次のクエリは、WHERE 句で使用できる演算子を取得します。

SELECT * FROM sys_sqlinfo WHERE Name = 'SUPPORTED_OPERATORS'
WHERE 句では、個々のテーブルの制限や要件が異なる場合がありますので注意してください。詳しくは、データモデル セクションを参照してください。

Columns

Name Type Description
NAME String SQL 構文のコンポーネント、またはサーバー上で処理できる機能。
VALUE String サポートされるSQL またはSQL 構文の詳細。

CData Cloud

sys_identity

試行された変更に関する情報を返します。

次のクエリは、バッチ処理で変更された行のId を取得します。

         SELECT * FROM sys_identity
          

Columns

Name Type Description
Id String データ変更処理から返された、データベース生成Id。
Batch String バッチの識別子。1 は単一処理。
Operation String バッチ内の処理の結果:INSERTED、UPDATED、またはDELETED。
Message String SUCCESS、またはバッチ内の更新が失敗した場合のエラーメッセージ。

CData Cloud

sys_information

利用可能なシステム情報を説明します。

次のクエリは、すべてのカラムを取得します。

SELECT * FROM sys_information

Columns

NameTypeDescription
ProductString製品名。
VersionString製品のバージョン番号。
DatasourceString製品が接続するデータソースの名前。
NodeIdString製品がインストールされているマシンの固有識別子。
HelpURLString製品のヘルプドキュメントのURL。
LicenseString製品のライセンス情報。(この情報が利用できない場合、この項目は空白のままか「N/A」と表示されます。)
LocationString製品のライブラリが格納されているファイルパスの場所。
EnvironmentString製品が現在稼働している環境またはランタイムのバージョン。
DataSyncVersionString本コネクタを使用するために必要なCData Sync のティア。
DataSyncCategoryStringCData Sync 機能のカテゴリ(例:Source、Destination)。

CData Cloud

接続文字列オプション

接続文字列プロパティは、接続を確立するために使用できるさまざまなオプションです。このセクションでは、本プロバイダーの接続文字列で設定できるオプションの一覧を示します。詳細については各リンクをクリックしてください。

Authentication


プロパティ説明
AuthSchemeThe type of authentication to use when connecting to Salesforce Marketing Cloud.
UseLegacyAuthenticationレガシー認証を使用してSalesforce Marketing Cloud REST API に接続する必要があるかを決定するboolean。
User認証するSalesforce Marketing Cloud ユーザーアカウントのユーザーID を指定します。
Password認証するユーザーアカウントのパスワードを指定します。
SubdomainSalesforce Marketing Cloud API のサブドメイン。
UseAsyncBatchWhether to use the synchronous or the asynchronous SOAP API to perform Batch insert.
WaitForBulkResultsWhether to wait for bulk results when using the asynchronous API. Only active when UseAsyncBatch is true.

OAuth


プロパティ説明
OAuthClientIdカスタムOAuth アプリケーションの作成時に割り当てられたクライアントId を指定します。(コンシューマーキーとも呼ばれます。)このID は、カスタムアプリケーションをOAuth 認可サーバーに登録します。
OAuthClientSecretカスタムOAuth アプリケーションの作成時に割り当てられたクライアントシークレットを指定します。( コンシューマーシークレット とも呼ばれます。)このシークレットは、カスタムアプリケーションをOAuth 認可サーバーに登録します。
ScopeSpace-separated list of data-access permissions for your application. Review REST API Permission IDs and Scopes for a full list of permissions. If scope is not specified, the token is issued with the scopes assigned to the API integration in Installed Packages.

SSL


プロパティ説明
SSLServerCertTLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。

Logging


プロパティ説明
VerbosityログファイルのVerbosity レベルを指定し、記録される情報の詳細度を制御します。サポートされる値の範囲は1から5までです。

Schema


プロパティ説明
BrowsableSchemasレポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。
Schema接続するSalesforce Marketing Cloud サーバーのバージョンを指定します。

Miscellaneous


プロパティ説明
AccountIdThe account identifier, or MID, of the target business unit.
DisplayChildDataExtensionsDisplays the Data Extensions of Child Accounts if set.
Instance[廃止] 使用されているSalesforce Marketing Cloud API のインスタンス。
ListDataExtensionsデータエクステンションがテーブルとしてリストされるかどうかを決定するboolean。
MaxRows集計やGROUP BY を使用しないクエリで返される最大行数を指定します。
PagesizeSalesforce Marketing Cloud から返される、1ページあたりの結果の最大数を指定します。この設定は、ほとんどのユースケースに最適化されている、データソースによって設定されたデフォルトのページサイズをオーバーライドします。
PseudoColumnsテーブルカラムとして公開する擬似カラムを指定します。'TableName=ColumnName;TableName=ColumnName' という形式を使用します。デフォルトは空の文字列で、このプロパティを無効にします。
QueryAllAccountsQueries all accounts, including parent and all children, regarding an event.
Timeoutprovider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。デフォルトは60秒です。タイムアウトを無効にするには0を設定します。
TimeZoneサーバーのタイムゾーン。形式はUTC オフセットを使用する必要があります。例:+00:00。
CData Cloud

Authentication

このセクションでは、本プロバイダーの接続文字列で設定可能なAuthentication プロパティの全リストを提供します。


プロパティ説明
AuthSchemeThe type of authentication to use when connecting to Salesforce Marketing Cloud.
UseLegacyAuthenticationレガシー認証を使用してSalesforce Marketing Cloud REST API に接続する必要があるかを決定するboolean。
User認証するSalesforce Marketing Cloud ユーザーアカウントのユーザーID を指定します。
Password認証するユーザーアカウントのパスワードを指定します。
SubdomainSalesforce Marketing Cloud API のサブドメイン。
UseAsyncBatchWhether to use the synchronous or the asynchronous SOAP API to perform Batch insert.
WaitForBulkResultsWhether to wait for bulk results when using the asynchronous API. Only active when UseAsyncBatch is true.
CData Cloud

AuthScheme

The type of authentication to use when connecting to Salesforce Marketing Cloud.

Possible Values

OAuth, OAuthClient, Basic

データ型

string

デフォルト値

"Basic"

解説

Select among the following connection properties:

  • OAuth: Specifies user-account OAuth authentication.
  • OAuthClient: Specifies Server-to-Server OAuth authentication.
  • Basic: Specifies BASIC user/password authentication.

CData Cloud

UseLegacyAuthentication

レガシー認証を使用してSalesforce Marketing Cloud REST API に接続する必要があるかを決定するboolean。

データ型

bool

デフォルト値

false

解説

プロパティのデフォルト値はfalse です。

レガシー機能を持つパッケージをインストールしたSalesforce Marketing Cloud に接続するには、このプロパティをTRUE に設定します。

CData Cloud

User

認証するSalesforce Marketing Cloud ユーザーアカウントのユーザーID を指定します。

データ型

string

デフォルト値

""

解説

認証サーバーは、ユーザーのID を検証するためにUser とPassword の両方を必要とします。

CData Cloud

Password

認証するユーザーアカウントのパスワードを指定します。

データ型

string

デフォルト値

""

解説

認証サーバーは、ユーザーのID を検証するためにUser とPassword の両方を必要とします。

CData Cloud

Subdomain

Salesforce Marketing Cloud API のサブドメイン。

データ型

string

デフォルト値

""

解説

サブドメインは以下の手順で取得できます。

  1. Marketing Cloud にログインします。
  2. [設定]ページに移動して、[Apps]->[Installed Packages]を選択します。
  3. 使用するAPI 統合コンポーネントを含むパッケージを選択します。
  4. サブドメインは[Authentication Base URI]で指定されます。例:https://SUBDOMAIN.auth.marketingcloudapis.com/
  5. [Authentication Base URI] のサブドメインの値のみが必要です。

CData Cloud

UseAsyncBatch

Whether to use the synchronous or the asynchronous SOAP API to perform Batch insert.

データ型

bool

デフォルト値

true

解説

This property determines whether or not the asynchronous API is used for Insert data to Salesforce Marketing Cloud. These requests will be processed asynchronously meaning the driver will not wait for Salesforce to process the results fully. You can query the following table to get information about the jobs and batches that were created:

SELECT * FROM LastResultInfo#TEMP

CData Cloud

WaitForBulkResults

Whether to wait for bulk results when using the asynchronous API. Only active when UseAsyncBatch is true.

データ型

bool

デフォルト値

false

解説

This property determines whether the Cloud will wait for bulk requests to report their status. By default this property is false and any INSERT queries will complete as soon as they are submitted to Salesforce Marketing Cloud. When this property is true, the Cloud will wait for INSERT to finish.

When this property is false, data modification queries will be faster but less detailed status information will be available. The LastResultInfo#TEMP table will list the creates batches and not the status of individual rows. Information about individual rows will only be availble if you execute the GetBatchResults stored procedure for each batch.

When this property is true, data modification queries will be slower but more status information will be available. The LastResultInfo#TEMP table will list the ID of each updated row, its status and any associated error messages.

CData Cloud

OAuth

このセクションでは、本プロバイダーの接続文字列で設定可能なOAuth プロパティの全リストを提供します。


プロパティ説明
OAuthClientIdカスタムOAuth アプリケーションの作成時に割り当てられたクライアントId を指定します。(コンシューマーキーとも呼ばれます。)このID は、カスタムアプリケーションをOAuth 認可サーバーに登録します。
OAuthClientSecretカスタムOAuth アプリケーションの作成時に割り当てられたクライアントシークレットを指定します。( コンシューマーシークレット とも呼ばれます。)このシークレットは、カスタムアプリケーションをOAuth 認可サーバーに登録します。
ScopeSpace-separated list of data-access permissions for your application. Review REST API Permission IDs and Scopes for a full list of permissions. If scope is not specified, the token is issued with the scopes assigned to the API integration in Installed Packages.
CData Cloud

OAuthClientId

カスタムOAuth アプリケーションの作成時に割り当てられたクライアントId を指定します。(コンシューマーキーとも呼ばれます。)このID は、カスタムアプリケーションをOAuth 認可サーバーに登録します。

データ型

string

デフォルト値

""

解説

OAuthClientId は、ユーザーがOAuth 経由で認証を行う前に設定する必要があるいくつかの接続パラメータの1つです。詳細は接続の確立を参照してください。

CData Cloud

OAuthClientSecret

カスタムOAuth アプリケーションの作成時に割り当てられたクライアントシークレットを指定します。( コンシューマーシークレット とも呼ばれます。)このシークレットは、カスタムアプリケーションをOAuth 認可サーバーに登録します。

データ型

string

デフォルト値

""

解説

OAuthClientSecret は、ユーザーがOAuth 経由で認証を行う前に設定する必要があるいくつかの接続パラメータの1つです。詳細は接続の確立を参照してください。

CData Cloud

Scope

Space-separated list of data-access permissions for your application. Review REST API Permission IDs and Scopes for a full list of permissions. If scope is not specified, the token is issued with the scopes assigned to the API integration in Installed Packages.

データ型

string

デフォルト値

""

解説

Space-separated list of data-access permissions for your application. Review REST API Permission IDs and Scopes for a full list of permissions. If scope is not specified, the token is issued with the scopes assigned to the API integration in Installed Packages.

CData Cloud

SSL

このセクションでは、本プロバイダーの接続文字列で設定可能なSSL プロパティの全リストを提供します。


プロパティ説明
SSLServerCertTLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。
CData Cloud

SSLServerCert

TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。

データ型

string

デフォルト値

""

解説

TLS/SSL 接続を使用する場合は、このプロパティを使用して、サーバーが受け入れるTLS/SSL 証明書を指定できます。コンピュータによって信頼されていない他の証明書はすべて拒否されます。

このプロパティは、次のフォームを取ります:

説明 例
フルPEM 証明書(例では省略されています) -----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE-----
証明書を保有するローカルファイルへのパス。 C:\cert.cer
公開鍵(例では省略されています) -----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY-----
MD5 Thumbprint (hex 値はスペースおよびコロン区切り) ecadbdda5a1529c58a1e9e09828d70e4
SHA1 Thumbprint (hex 値はスペースおよびコロン区切り) 34a929226ae0819f2ec14b4a3d904f801cbb150d

これを指定しない場合は、マシンが信用するすべての証明書が受け入れられます。

すべての証明書の受け入れを示すには、'*'を使用します。セキュリティ上の理由から、これはお勧めできません。

CData Cloud

Logging

このセクションでは、本プロバイダーの接続文字列で設定可能なLogging プロパティの全リストを提供します。


プロパティ説明
VerbosityログファイルのVerbosity レベルを指定し、記録される情報の詳細度を制御します。サポートされる値の範囲は1から5までです。
CData Cloud

Verbosity

ログファイルのVerbosity レベルを指定し、記録される情報の詳細度を制御します。サポートされる値の範囲は1から5までです。

データ型

string

デフォルト値

"1"

解説

このプロパティは、Cloud がログファイルに含める詳細レベルを定義します。 Verbosity レベルを高くするとログに記録される情報の詳細が増えますが、ログファイルが大きくなり取り込まれるデータが増えるためパフォーマンスが低下する可能性があります。

デフォルトのVerbosity レベルは1で、通常の運用にはこれが推奨されます。 より高いVerbosity レベルは主にデバッグを目的としています。 各レベルの詳細については、ログ を参照してください。

LogModules プロパティと組み合わせることで、Verbosity は特定の情報カテゴリに対するログの詳細度を調整できます。

CData Cloud

Schema

このセクションでは、本プロバイダーの接続文字列で設定可能なSchema プロパティの全リストを提供します。


プロパティ説明
BrowsableSchemasレポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。
Schema接続するSalesforce Marketing Cloud サーバーのバージョンを指定します。
CData Cloud

BrowsableSchemas

レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。

データ型

string

デフォルト値

""

解説

利用可能なデータベーススキーマをすべてリストすると余分な時間がかかり、パフォーマンスが低下します。 接続文字列にスキーマのリストを指定することで、時間を節約しパフォーマンスを向上させることができます。

CData Cloud

Schema

接続するSalesforce Marketing Cloud サーバーのバージョンを指定します。

Possible Values

SOAP, REST

データ型

string

デフォルト値

"SOAP"

解説

このプロパティをREST に設定するとSalesforce Marketing Cloud 1.x REST API を使用し、SOAP に設定するとSalesforce Marketing Cloud SOAP API を使用します。

CData Cloud

Miscellaneous

このセクションでは、本プロバイダーの接続文字列で設定可能なMiscellaneous プロパティの全リストを提供します。


プロパティ説明
AccountIdThe account identifier, or MID, of the target business unit.
DisplayChildDataExtensionsDisplays the Data Extensions of Child Accounts if set.
Instance[廃止] 使用されているSalesforce Marketing Cloud API のインスタンス。
ListDataExtensionsデータエクステンションがテーブルとしてリストされるかどうかを決定するboolean。
MaxRows集計やGROUP BY を使用しないクエリで返される最大行数を指定します。
PagesizeSalesforce Marketing Cloud から返される、1ページあたりの結果の最大数を指定します。この設定は、ほとんどのユースケースに最適化されている、データソースによって設定されたデフォルトのページサイズをオーバーライドします。
PseudoColumnsテーブルカラムとして公開する擬似カラムを指定します。'TableName=ColumnName;TableName=ColumnName' という形式を使用します。デフォルトは空の文字列で、このプロパティを無効にします。
QueryAllAccountsQueries all accounts, including parent and all children, regarding an event.
Timeoutprovider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。デフォルトは60秒です。タイムアウトを無効にするには0を設定します。
TimeZoneサーバーのタイムゾーン。形式はUTC オフセットを使用する必要があります。例:+00:00。
CData Cloud

AccountId

The account identifier, or MID, of the target business unit.

データ型

string

デフォルト値

""

解説

Use this property to switch between business units. If you don't specify account_id, the returned access token is in the context of the business unit that created the integration. The specified AccountId will be used only during the OAuth flow. It is not supported for legacy packages.

CData Cloud

DisplayChildDataExtensions

Displays the Data Extensions of Child Accounts if set.

データ型

bool

デフォルト値

false

解説

Use this property to list child accounts data extension objects. By default, only parent and shared data extensions are displayed.

CData Cloud

Instance

[廃止] 使用されているSalesforce Marketing Cloud API のインスタンス。

Possible Values

s1, s4, s6, s7, s8, s10, s11, s12

データ型

string

デフォルト値

"s7"

解説

デフォルトで使用されるSalesforce Marketing Cloud インスタンスはs7 です。インスタンスを特定するには、次の手順に従ってください。

  1. Marketing Cloud にログインします。
  2. アカウント名をクリックします。
  3. アカウントのMID 値をコピーします。
  4. 別のブラウザのタブまたはウィンドウで、https://trust.marketingcloud.com に移動します。
  5. テキストフィールドにコピーしたMID 値を入力し、[Go]をクリックします。
Note:インスタンスがs10より大きい場合は、Subdomain を指定する必要があります。

CData Cloud

ListDataExtensions

データエクステンションがテーブルとしてリストされるかどうかを決定するboolean。

データ型

bool

デフォルト値

true

解説

データエクステンションがテーブルとしてリストされるかどうかを決定するboolean。

CData Cloud

MaxRows

集計やGROUP BY を使用しないクエリで返される最大行数を指定します。

データ型

int

デフォルト値

-1

解説

このプロパティは、集計やGROUP BY 句を含まないクエリに対してCloud が返す行数の上限を設定します。 この制限により、クエリがデフォルトで過度に大きな結果セットを返さないようにします。

クエリにLIMIT 句が含まれている場合、クエリで指定された値がMaxRows 設定よりも優先されます。 MaxRows が"-1" に設定されている場合、LIMIT 句が明示的にクエリに含まれていない限り、行の制限は行われません。

このプロパティは、非常に大きなデータセットを返す可能性のあるクエリを実行する際に、パフォーマンスを最適化し過剰なリソース消費を防ぐのに役立ちます。

CData Cloud

Pagesize

Salesforce Marketing Cloud から返される、1ページあたりの結果の最大数を指定します。この設定は、ほとんどのユースケースに最適化されている、データソースによって設定されたデフォルトのページサイズをオーバーライドします。

データ型

int

デフォルト値

-1

解説

クエリする特定のオブジェクトやサービスエンドポイントの結果を最適化するために、デフォルトのページサイズを調整したい場合があります。 ページサイズを大きくするとパフォーマンスが向上するかもしれませんが、ページあたりのメモリ消費量が増える可能性もあることに注意してください。

CData Cloud

PseudoColumns

テーブルカラムとして公開する擬似カラムを指定します。'TableName=ColumnName;TableName=ColumnName' という形式を使用します。デフォルトは空の文字列で、このプロパティを無効にします。

データ型

string

デフォルト値

""

解説

このプロパティを使用すると、Cloud がテーブルカラムとして公開する擬似カラムを定義できます。

個々の擬似カラムを指定するには、以下の形式を使用します。"Table1=Column1;Table1=Column2;Table2=Column3"

すべてのテーブルのすべての擬似カラムを含めるには、次のようにします:"*=*"

CData Cloud

QueryAllAccounts

Queries all accounts, including parent and all children, regarding an event.

データ型

bool

デフォルト値

false

解説

Use this property to query all accounts, including parent and all children, regarding an event. Available only for SOAP schema.

CData Cloud

Timeout

provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。デフォルトは60秒です。タイムアウトを無効にするには0を設定します。

データ型

int

デフォルト値

60

解説

このプロパティは、Cloud が操作をキャンセルする前に操作の完了を待機する最大時間を秒単位で制御します。 操作の完了前にタイムアウト時間が経過すると、Cloud は操作をキャンセルして例外をスローします。

タイムアウトは、クエリや操作全体ではなくサーバーとの個々の通信に適用されます。 例えば、各ページング呼び出しがタイムアウト制限内に完了する場合、クエリは60秒を超えて実行を続けることができます。

このプロパティを0に設定するとタイムアウトが無効になり、操作が成功するか、サーバー側のタイムアウト、ネットワークの中断、またはサーバーのリソース制限などの他の条件で失敗するまで無期限に実行されます。 このプロパティは慎重に使用してください。長時間実行される操作がパフォーマンスを低下させたり、応答しなくなる可能性があるためです。

CData Cloud

TimeZone

サーバーのタイムゾーン。形式はUTC オフセットを使用する必要があります。例:+00:00。

データ型

string

デフォルト値

"-06:00"

解説

If you have contacted your Marketing Cloud representative to disable the "Incoming Date Normalization" feature, you must specify the Account timezone instead of server timezone.

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