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 데이터 유형이 지정되어 있습니다. 삽입 및 업데이트 작업 중에는 항상 모든 필수 열에 대해 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