JDBC Driver for Marketo

Build 23.0.8839

OpportunityRoles

Marketo の組織の商談ロールをクエリします。

テーブル固有の情報

Note:This table is only available for Marketo subscriptions which do not have a native CRM sync enabled.If sync is enabled, an error will be returned when attempting to query the table stating that the API is disabled.

Select

商談を取得するには、フィルターを指定する必要があります。Valid filters are any searchable columns which include MarketoGUID and a combination of ExternalOpportunityId and LeadId.

SELECT * FROM OpportunityRoles WHERE ExternalOpportunityId = 'Opportunity1' AND LeadId = '1'

Insert

新しいOpportunity Role レコードを作成するには、Opportunity Role に関するデータベースに入力する情報を指定します。

次の例では、新しいOpportunity Role を挿入する方法を説明します。

INSERT INTO OpportunityRoles (ExternalOpportunityId, LeadId, IsPrimary, Role) VALUES ('CDATA1', '1', false, 'MyRole')

Update

読み取り専用以外のフィールドは、すべて更新可能です。

UPDATE OpportunityRoles SET IsPrimary = true WHERE MarketoGUID = 'c674bda8-6e94-40cf-a853-98833b85b7cb'

Delete

Marketo からOpportunity Roles を削除するために使用します。削除を実行するにはMarketoGUID フィールドが必須です。

DELETE FROM OpportunityRoles WHERE MarketoGUID = 'c674bda8-6e94-40cf-a853-98833b85b7cb'

Columns

Name Type ReadOnly Filterable Description
MarketoGUID [KEY] String True True

Marketo が割り当てた、商談ロールの一意の識別子。

ExternalOpportunityId String False True

商談の外部Id。

ExternalCreatedDate Datetime False

商談ロールが作成された外部の日時。

IsPrimary Boolean False

Specifies whether the opportunity role is the primary role on the opportunity.

LeadId Integer False True

The lead Id associated with the opportunity role.

Role String False

商談と関連のあるロール。

CreatedAt Datetime True

商談ロールが作成された日時。

UpdatedAt Datetime True

商談ロールの最終更新時刻。

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839