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

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_time datetime 作成日時 プラットフォーム上でフィルタ可能、書き込み可能、計算列、add_time The pipeline creation time.
id int64 ID プラットフォーム上でフィルタ可能、書き込み可能、計算列、id The ID of the pipeline.
is_deal_probability_enabled char 「取引確率」は有効になっていますか プラットフォーム上のフィルター、書き込み可能、is_deal_probability_enabled Whether deal probability is disabled or enabled for this pipeline.
is_deleted char 削除済みです プラットフォーム上でフィルタ可能、書き込み可能、計算列、is_deleted Whether this pipeline is marked as deleted or not.
name varchar2 名前 プラットフォーム上のフィルター、書き込み可能、name The name of the pipeline.
order_nr int64 シーケンス番号 プラットフォーム上でフィルタ可能、書き込み可能、計算列、order_nr Defines the order of pipelines.
update_time datetime 最終更新日時 プラットフォーム上でフィルタ可能、書き込み可能、計算列、update_time The pipeline update time.

参照元

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