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

Stages: Pipedrive Stages

insert update delete REST

  • カタログ:Pipedrive
  • スキーマ: Pipelines
  • 主キー:id
  • ラベル: ステージ

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

概要

The stages of the sales pipelines. Each request costs 5 tokens of the daily budget of the company.

APIソース

  • エンドポイント: /stages

表の列

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

名前 データ型 ラベル 必須 マーク ドキュメント
add_time datetime 作成日時 プラットフォーム上でフィルタ可能、書き込み可能、計算列、add_time The stage creation time.
days_to_rotten int64 腐るまでの日数 プラットフォーム上のフィルター、書き込み可能、days_to_rotten The number of days the deals not updated in this stage would become rotten.
deal_probability int64 成約確率 プラットフォーム上のフィルター、書き込み可能、deal_probability The success probability percentage of the deal.
id int64 ID プラットフォーム上でフィルタ可能、書き込み可能、計算列、id The ID of the stage.
is_deal_rot_enabled char 「ディール・ロット」は有効になっていますか プラットフォーム上のフィルター、書き込み可能、is_deal_rot_enabled Whether deals in this stage can become rotten.
is_deleted char 削除済みです プラットフォーム上でフィルタ可能、書き込み可能、計算列、is_deleted Whether the stage is marked as deleted or not.
name varchar2 名前 プラットフォーム上のフィルター、書き込み可能、name The name of the stage.
order_nr int64 シーケンス番号 プラットフォーム上でフィルタ可能、書き込み可能、計算列、order_nr Defines the order of the stage.
pipeline_id int64 パイプラインID プラットフォーム上のフィルター、書き込み可能、pipeline_id The ID of the pipeline to add the stage to.
update_time datetime 最終更新日時 プラットフォーム上でフィルタ可能、書き込み可能、計算列、update_time The stage update time.

キー

キー コラム 「~を指す」 種類 説明
Stages_pipeline_id_fk pipeline_id Pipelines.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