Pipelines: Pipedrive Pipelines
insert update delete REST
- カタログ:
Pipedrive - スキーマ:
Pipelines - 主キー:
id - ラベル: パイプライン
insert、update、delete を使用して、データの取得や変更を行うことができます。
概要
The sales pipelines: the sequences of stages a deal goes through. Each request costs 5 tokens of the daily budget of the company.
APIソース
- エンドポイント:
/pipelines
表の列
テーブル Pipelines の列は以下のとおりです。 各列には、SQLのデータ型が設定されています。 INSERT文およびUPDATE文の実行中は、常にすべての必須列に対して、null以外の新しい値を指定する必要があります。
| 名前 | データ型 | ラベル | 必須 | マーク | ドキュメント |
|---|---|---|---|---|---|
add_ |
datetime |
作成日時 | プラットフォーム上でフィルタ可能、書き込み可能、計算列、add_ |
The pipeline creation time. | |
id |
int64 |
ID | プラットフォーム上でフィルタ可能、書き込み可能、計算列、id |
The ID of the pipeline. | |
is_ |
char |
「取引確率」は有効になっていますか | プラットフォーム上のフィルター、書き込み可能、is_ |
Whether deal probability is disabled or enabled for this pipeline. | |
is_ |
char |
削除済みです | プラットフォーム上でフィルタ可能、書き込み可能、計算列、is_ |
Whether this pipeline is marked as deleted or not. | |
name |
varchar2 |
名前 | プラットフォーム上のフィルター、書き込み可能、name |
The name of the pipeline. | |
order_ |
int64 |
シーケンス番号 | プラットフォーム上でフィルタ可能、書き込み可能、計算列、order_ |
Defines the order of pipelines. | |
update_ |
datetime |
最終更新日時 | プラットフォーム上でフィルタ可能、書き込み可能、計算列、update_ |
The pipeline update time. |
参照元
- ArchivedDeals
pipeline_id(Key) - 取引
pipeline_id(キー) - ステージ
pipeline_id(キー) - RecentChangesBySinceTimestamp
id(テキスト型)
Queryの例
select ppe.name pipeline_name
, stg.name stage_name
, count(*) deal_count
, sum(dls.value) deal_value
from Pipedrive.Deals.Deals dls
join Pipedrive.Pipelines.Stages stg
on stg.id = dls.stage_id
join Pipedrive.Pipelines.Pipelines ppe
on ppe.id = dls.pipeline_id
where dls.status = 'open'
group
by ppe.name
, stg.name