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_ |
datetime |
作成日時 | プラットフォーム上でフィルタ可能、書き込み可能、計算列、add_ |
The stage creation time. | |
days_ |
int64 |
腐るまでの日数 | プラットフォーム上のフィルター、書き込み可能、days_ |
The number of days the deals not updated in this stage would become rotten. | |
deal_ |
int64 |
成約確率 | プラットフォーム上のフィルター、書き込み可能、deal_ |
The success probability percentage of the deal. | |
id |
int64 |
ID | プラットフォーム上でフィルタ可能、書き込み可能、計算列、id |
The ID of the stage. | |
is_ |
char |
「ディール・ロット」は有効になっていますか | プラットフォーム上のフィルター、書き込み可能、is_ |
Whether deals in this stage can become rotten. | |
is_ |
char |
削除済みです | プラットフォーム上でフィルタ可能、書き込み可能、計算列、is_ |
Whether the stage is marked as deleted or not. | |
name |
varchar2 |
名前 | プラットフォーム上のフィルター、書き込み可能、name |
The name of the stage. | |
order_ |
int64 |
シーケンス番号 | プラットフォーム上でフィルタ可能、書き込み可能、計算列、order_ |
Defines the order of the stage. | |
pipeline_ |
int64 |
パイプラインID | プラットフォーム上のフィルター、書き込み可能、pipeline_ |
The ID of the pipeline to add the stage to. | |
update_ |
datetime |
最終更新日時 | プラットフォーム上でフィルタ可能、書き込み可能、計算列、update_ |
The stage update time. |
キー
| キー | コラム | 「~を指す」 | 種類 | 説明 |
|---|---|---|---|---|
Stages_ |
pipeline_ |
Pipelines.id |
キー |
参照元
- ArchivedDeals
stage_id(Key) - 取引
stage_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