InvantiveのドキュメントInvantive Cloudの一部
Invantive サポートフォーラムログイン / 会員登録

Activities: Pipedrive Activities

insert update delete REST

  • カタログ:Pipedrive
  • スキーマ: Activities
  • 主キー:id
  • ラベル: アクティビティ

insert、update、delete を使用して、データの取得や変更を行うことができます。

概要

The activities: calls, meetings, tasks and other things to do, linked to deals, leads, persons, organizations and projects. Each request costs 10 tokens of the daily budget of the company.

APIソース

  • エンドポイント: /activities

表の列

テーブル Activities の列は以下のとおりです。 各列には、SQLのデータ型が設定されています。 INSERT文およびUPDATE文の実行中は、常にすべての必須列に対して、null以外の新しい値を指定する必要があります。

名前 データ型 ラベル 必須 マーク ドキュメント
add_time datetime 作成日時 プラットフォーム上でフィルタ可能、書き込み可能、計算列、add_time The creation date and time of the activity.
attendees varchar2 参加者 プラットフォーム上のフィルター、書き込み可能、attendees The attendees of the activity.
busy char 忙しい プラットフォーム上のフィルター、書き込み可能、busy Whether the activity marks the assignee as busy or not in their calendar.
conference_meeting_client varchar2 会議・ミーティング・クライアント プラットフォーム上でフィルタ可能、書き込み可能、計算列、conference_meeting_client The client used for the conference meeting.
conference_meeting_id varchar2 会議のミーティングID プラットフォーム上でフィルタ可能、書き込み可能、計算列、conference_meeting_id The ID of the conference meeting.
conference_meeting_url varchar2 会議のURL プラットフォーム上でフィルタ可能、書き込み可能、計算列、conference_meeting_url The URL of the conference meeting.
creator_user_id int64 作成者ID プラットフォーム上でフィルタ可能、書き込み可能、計算列、creator_user_id The ID of the user who created the activity.
deal_id int64 取引ID プラットフォーム上のフィルター、書き込み可能、deal_id The ID of the deal linked to the activity.
done char 完了 プラットフォーム上のフィルター、書き込み可能、done Whether the activity is marked as done or not.
due_date datetime 期日 プラットフォーム上のフィルター、書き込み可能、due_date The due date of the activity.
due_time varchar2 期限 プラットフォーム上のフィルター、書き込み可能、due_time The due time of the activity.
duration varchar2 所要時間 プラットフォーム上のフィルター、書き込み可能、duration The duration of the activity.
id int64 ID プラットフォーム上でフィルタ可能、書き込み可能、計算列、id The ID of the activity.
is_deleted char 削除済みです プラットフォーム上でフィルタ可能、書き込み可能、計算列、is_deleted Whether the activity is deleted or not.
lead_id varchar2 リードID プラットフォーム上のフィルター、書き込み可能、lead_id The ID of the lead linked to the activity.
location varchar2 所在地 プラットフォーム上のフィルター、書き込み可能、__write_only.location Location of the activity.書き込み時のみ使用されます。読み取り時は空になります。
location_admin_area_level_1 varchar2 場所:管理エリア 1階 プラットフォーム上のフィルター、書き込み可能、location.admin_area_level_1 Admin area level 1 (e.g. state) of the activity.
location_admin_area_level_2 varchar2 場所:管理エリア 2階 プラットフォーム上のフィルター、書き込み可能、location.admin_area_level_2 Admin area level 2 (e.g. county) of the activity.
location_country varchar2 所在地 国 プラットフォーム上のフィルター、書き込み可能、location.country Country of the activity.
location_locality varchar2 所在地 地域 プラットフォーム上のフィルター、書き込み可能、location.locality Locality (e.g. city) of the activity.
location_postal_code varchar2 所在地 郵便番号 プラットフォーム上のフィルター、書き込み可能、location.postal_code Postal code of the activity.
location_route varchar2 場所・ルート プラットフォーム上のフィルター、書き込み可能、location.route Route (e.g. street) of the activity.
location_street_number varchar2 所在地 通り名 番地 プラットフォーム上のフィルター、書き込み可能、location.street_number Street number of the activity.
location_sublocality varchar2 所在地 細地域 プラットフォーム上のフィルター、書き込み可能、location.sublocality Sublocality (e.g. neighborhood) of the activity.
location_subpremise varchar2 所在地:サブ施設 プラットフォーム上のフィルター、書き込み可能、location.subpremise Subpremise (e.g. apartment/suite number) of the activity.
location_value varchar2 位置情報 プラットフォーム上のフィルター、書き込み可能、location.value The full address of the activity.
marked_as_done_time datetime 「完了」としてマークされた日時 プラットフォーム上でフィルタ可能、書き込み可能、計算列、marked_as_done_time The date and time when the activity was marked as done.
note varchar2 備考 プラットフォーム上のフィルター、書き込み可能、note The note of the activity.
org_id int64 組織ID プラットフォーム上のフィルター、書き込み可能、org_id The ID of the organization linked to the activity.
outcome int64 結果 プラットフォーム上のフィルター、書き込み可能、outcome The ID of the Outcome for the activity.
owner_id int64 所有者ID プラットフォーム上のフィルター、書き込み可能、owner_id The ID of the user who owns the activity.
participants varchar2 参加者 プラットフォーム上のフィルター、書き込み可能、participants The participants of the activity.
person_id int64 人物ID プラットフォーム上でフィルタ可能、書き込み可能、計算列、person_id The ID of the person linked to the activity.
priority int64 優先順位 プラットフォーム上のフィルター、書き込み可能、priority The priority of the activity.
project_id int64 プロジェクトID プラットフォーム上のフィルター、書き込み可能、project_id The ID of the project linked to the activity.
public_description varchar2 公開用説明文 プラットフォーム上のフィルター、書き込み可能、public_description The public description of the activity.
subject varchar2 件名 プラットフォーム上のフィルター、書き込み可能、subject The subject of the activity.
type varchar2 タイプ プラットフォーム上のフィルター、書き込み可能、type The type of the activity.
update_time datetime 最終更新日時 プラットフォーム上でフィルタ可能、書き込み可能、計算列、update_time The last updated date and time of the activity.

キー

キー コラム 「~を指す」 種類 説明
Activities_creator_user_id_fk creator_user_id Users.id キー
Activities_deal_id_ArchivedDeals_txt deal_id ArchivedDeals.id テキスト The deal, in Deals or, once archived, in ArchivedDeals; a deleted deal stays readable for 30 days with status 'deleted'.
Activities_deal_id_Deals_txt deal_id Deals.id テキスト The deal, in Deals or, once archived, in ArchivedDeals; a deleted deal stays readable for 30 days with status 'deleted'.
Activities_lead_id_ArchivedLeads_txt lead_id ArchivedLeads.id テキスト The lead, in Leads or, once archived, in ArchivedLeads.
Activities_lead_id_Leads_txt lead_id Leads.id テキスト The lead, in Leads or, once archived, in ArchivedLeads.
Activities_org_id_fk org_id Organizations.id キー
Activities_owner_id_fk owner_id Users.id キー
Activities_person_id_fk person_id Persons.id キー
Activities_project_id_ArchivedProjects_txt project_id ArchivedProjects.id テキスト The project, in Projects or, once archived, in ArchivedProjects.
Activities_project_id_Projects_txt project_id Projects.id テキスト The project, in Projects or, once archived, in ArchivedProjects.
Activities_type_fk type ActivityTypes.key_string キー

参照元

Queryの例

select act.subject
,      act.type
,      act.due_date
,      act.due_time
from   Pipedrive.Activities.Activities act
where  act.done = false
and    act.due_date < trunc(sysdateutc) + 7