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_ |
datetime |
作成日時 | プラットフォーム上でフィルタ可能、書き込み可能、計算列、add_ |
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_ |
varchar2 |
会議・ミーティング・クライアント | プラットフォーム上でフィルタ可能、書き込み可能、計算列、conference_ |
The client used for the conference meeting. | |
conference_ |
varchar2 |
会議のミーティングID | プラットフォーム上でフィルタ可能、書き込み可能、計算列、conference_ |
The ID of the conference meeting. | |
conference_ |
varchar2 |
会議のURL | プラットフォーム上でフィルタ可能、書き込み可能、計算列、conference_ |
The URL of the conference meeting. | |
creator_ |
int64 |
作成者ID | プラットフォーム上でフィルタ可能、書き込み可能、計算列、creator_ |
The ID of the user who created the activity. | |
deal_ |
int64 |
取引ID | プラットフォーム上のフィルター、書き込み可能、deal_ |
The ID of the deal linked to the activity. | |
done |
char |
完了 | プラットフォーム上のフィルター、書き込み可能、done |
Whether the activity is marked as done or not. | |
due_ |
datetime |
期日 | プラットフォーム上のフィルター、書き込み可能、due_ |
The due date of the activity. | |
due_ |
varchar2 |
期限 | プラットフォーム上のフィルター、書き込み可能、due_ |
The due time of the activity. | |
duration |
varchar2 |
所要時間 | プラットフォーム上のフィルター、書き込み可能、duration |
The duration of the activity. | |
id |
int64 |
ID | プラットフォーム上でフィルタ可能、書き込み可能、計算列、id |
The ID of the activity. | |
is_ |
char |
削除済みです | プラットフォーム上でフィルタ可能、書き込み可能、計算列、is_ |
Whether the activity is deleted or not. | |
lead_ |
varchar2 |
リードID | プラットフォーム上のフィルター、書き込み可能、lead_ |
The ID of the lead linked to the activity. | |
location |
varchar2 |
所在地 | プラットフォーム上のフィルター、書き込み可能、_ |
Location of the activity.書き込み時のみ使用されます。読み取り時は空になります。 | |
location_ |
varchar2 |
場所:管理エリア 1階 | プラットフォーム上のフィルター、書き込み可能、location. |
Admin area level 1 (e.g. state) of the activity. | |
location_ |
varchar2 |
場所:管理エリア 2階 | プラットフォーム上のフィルター、書き込み可能、location. |
Admin area level 2 (e.g. county) of the activity. | |
location_ |
varchar2 |
所在地 国 | プラットフォーム上のフィルター、書き込み可能、location. |
Country of the activity. | |
location_ |
varchar2 |
所在地 地域 | プラットフォーム上のフィルター、書き込み可能、location. |
Locality (e.g. city) of the activity. | |
location_ |
varchar2 |
所在地 郵便番号 | プラットフォーム上のフィルター、書き込み可能、location. |
Postal code of the activity. | |
location_ |
varchar2 |
場所・ルート | プラットフォーム上のフィルター、書き込み可能、location. |
Route (e.g. street) of the activity. | |
location_ |
varchar2 |
所在地 通り名 番地 | プラットフォーム上のフィルター、書き込み可能、location. |
Street number of the activity. | |
location_ |
varchar2 |
所在地 細地域 | プラットフォーム上のフィルター、書き込み可能、location. |
Sublocality (e.g. neighborhood) of the activity. | |
location_ |
varchar2 |
所在地:サブ施設 | プラットフォーム上のフィルター、書き込み可能、location. |
Subpremise (e.g. apartment/suite number) of the activity. | |
location_ |
varchar2 |
位置情報 | プラットフォーム上のフィルター、書き込み可能、location. |
The full address of the activity. | |
marked_ |
datetime |
「完了」としてマークされた日時 | プラットフォーム上でフィルタ可能、書き込み可能、計算列、marked_ |
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_ |
int64 |
所有者ID | プラットフォーム上のフィルター、書き込み可能、owner_ |
The ID of the user who owns the activity. | |
participants |
varchar2 |
参加者 | プラットフォーム上のフィルター、書き込み可能、participants |
The participants of the activity. | |
person_ |
int64 |
人物ID | プラットフォーム上でフィルタ可能、書き込み可能、計算列、person_ |
The ID of the person linked to the activity. | |
priority |
int64 |
優先順位 | プラットフォーム上のフィルター、書き込み可能、priority |
The priority of the activity. | |
project_ |
int64 |
プロジェクトID | プラットフォーム上のフィルター、書き込み可能、project_ |
The ID of the project linked to the activity. | |
public_ |
varchar2 |
公開用説明文 | プラットフォーム上のフィルター、書き込み可能、public_ |
The public description of the activity. | |
subject |
varchar2 |
件名 | プラットフォーム上のフィルター、書き込み可能、subject |
The subject of the activity. | |
type |
varchar2 |
タイプ | プラットフォーム上のフィルター、書き込み可能、type |
The type of the activity. | |
update_ |
datetime |
最終更新日時 | プラットフォーム上でフィルタ可能、書き込み可能、計算列、update_ |
The last updated date and time of the activity. |
キー
| キー | コラム | 「~を指す」 | 種類 | 説明 |
|---|---|---|---|---|
Activities_ |
creator_ |
Users.id |
キー | |
Activities_ |
deal_ |
ArchivedDeals.id |
テキスト | The deal, in Deals or, once archived, in ArchivedDeals; a deleted deal stays readable for 30 days with status 'deleted'. |
Activities_ |
deal_ |
Deals.id |
テキスト | The deal, in Deals or, once archived, in ArchivedDeals; a deleted deal stays readable for 30 days with status 'deleted'. |
Activities_ |
lead_ |
ArchivedLeads.id |
テキスト | The lead, in Leads or, once archived, in ArchivedLeads. |
Activities_ |
lead_ |
Leads.id |
テキスト | The lead, in Leads or, once archived, in ArchivedLeads. |
Activities_ |
org_id |
Organizations.id |
キー | |
Activities_ |
owner_ |
Users.id |
キー | |
Activities_ |
person_ |
Persons.id |
キー | |
Activities_ |
project_ |
ArchivedProjects.id |
テキスト | The project, in Projects or, once archived, in ArchivedProjects. |
Activities_ |
project_ |
Projects.id |
テキスト | The project, in Projects or, once archived, in ArchivedProjects. |
Activities_ |
type |
ActivityTypes. |
キー |
参照元
- CallLogs
activity_id(Key) - Leads
next_activity_id(Key) - Files
activity_id(Key) - RecentChangesBySinceTimestamp
id(テキスト型)
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