Files: Pipedrive Files
update delete REST
- カタログ:
Pipedrive - スキーマ:
Notes - 主キー:
id - Label: Files
update および delete を使用して、データの取得や変更を行うことができます。
概要
The files attached to deals, persons, organizations, products, activities, notes and leads. Each request costs 20 tokens of the daily budget of the company.
APIソース
- エンドポイント:
/files
表の列
テーブル Files の列は以下のとおりです。 各列には、SQLのデータ型が設定されています。 INSERT文およびUPDATE文の実行中は、常にすべての必須列に対して、null以外の新しい値を指定する必要があります。
| 名前 | データ型 | ラベル | 必須 | マーク | ドキュメント |
|---|---|---|---|---|---|
active_ |
char |
アクティブフラグ | filters on the platform, writable, computed, active_ |
Whether the user is active or not. | |
activity_ |
int64 |
アクティビティID | filters on the platform, writable, computed, activity_ |
The ID of the activity to associate the file with. | |
add_ |
datetime |
作成日時 | filters on the platform, writable, computed, add_ |
The date and time when the file was added/created. | |
cid |
varchar2 |
コンテンツID | filters on the platform, writable, computed, cid |
The ID of the inline attachment. | |
deal_ |
int64 |
取引ID | filters on the platform, writable, computed, deal_ |
The ID of the deal to associate the file with. | |
deal_ |
varchar2 |
取引名 | filters on the platform, writable, computed, deal_ |
The name of the deal associated with the file. | |
description |
varchar2 |
説明 | プラットフォーム上のフィルター、書き込み可能、description |
The description of the file. | |
file_ |
varchar2 |
ファイル名 | filters on the platform, writable, computed, file_ |
The original name of the file. | |
file_ |
int64 |
ファイルサイズ | filters on the platform, writable, computed, file_ |
The size of the file. | |
id |
int64 |
ID | filters on the platform, writable, computed, id |
The ID of the file. | |
inline_ |
char |
インラインフラグ | filters on the platform, writable, computed, inline_ |
Whether the file was uploaded as inline or not. | |
lead_ |
varchar2 |
リードID | filters on the platform, writable, computed, lead_ |
The ID of the lead to associate the file with. | |
lead_ |
varchar2 |
リード名 | filters on the platform, writable, computed, lead_ |
The name of the lead associated with the file. | |
mail_ |
varchar2 |
メールメッセージID | filters on the platform, writable, computed, mail_ |
The ID of the mail message to associate the file with. | |
mail_ |
varchar2 |
メールテンプレートID | filters on the platform, writable, computed, mail_ |
The ID of the mail template to associate the file with. | |
name |
varchar2 |
名前 | プラットフォーム上のフィルター、書き込み可能、name |
The visible name of the file. | |
org_id |
int64 |
組織ID | filters on the platform, writable, computed, org_id |
The ID of the organization to associate the file with. | |
org_ |
varchar2 |
組織名 | filters on the platform, writable, computed, org_ |
The name of the organization associated with the file. | |
person_ |
int64 |
人物ID | filters on the platform, writable, computed, person_ |
The ID of the person to associate the file with. | |
person_ |
varchar2 |
人名 | filters on the platform, writable, computed, person_ |
The name of the person associated with the file. | |
product_ |
int64 |
製品ID | filters on the platform, writable, computed, product_ |
The ID of the product to associate the file with. | |
product_ |
varchar2 |
製品名 | filters on the platform, writable, computed, product_ |
The name of the product associated with the file. | |
project_ |
int64 |
プロジェクトID | filters on the platform, writable, computed, project_ |
The ID of the project to associate the file with. | |
project_ |
varchar2 |
プロジェクト名 | filters on the platform, writable, computed, project_ |
The name of the project associated with the file. | |
remote_ |
varchar2 |
リモートID | filters on the platform, writable, computed, remote_ |
The ID of the remote item. | |
remote_ |
varchar2 |
遠隔地 | filters on the platform, writable, computed, remote_ |
The location type to send the file to. | |
s3_ |
varchar2 |
S3 バケット | filters on the platform, writable, computed, s3_ |
The location of the cloud storage. | |
update_ |
datetime |
最終更新日時 | filters on the platform, writable, computed, update_ |
The last updated date and time of the file. | |
url |
varchar2 |
URL | filters on the platform, writable, computed, url |
The URL of the download file. | |
user_ |
int64 |
ユーザーID | filters on the platform, writable, computed, user_ |
The ID of the user to associate the file with. |
キー
| キー | コラム | 「~を指す」 | 種類 | 説明 |
|---|---|---|---|---|
Files_ |
activity_ |
Activities.id |
キー | |
Files_ |
deal_ |
ArchivedDeals.id |
テキスト | The deal, in Deals or, once archived, in ArchivedDeals; a deleted deal stays readable for 30 days with status 'deleted'. |
Files_ |
deal_ |
Deals.id |
テキスト | The deal, in Deals or, once archived, in ArchivedDeals; a deleted deal stays readable for 30 days with status 'deleted'. |
Files_ |
lead_ |
ArchivedLeads.id |
テキスト | The lead, in Leads or, once archived, in ArchivedLeads. |
Files_ |
lead_ |
Leads.id |
テキスト | The lead, in Leads or, once archived, in ArchivedLeads. |
Files_ |
org_id |
Organizations.id |
キー | |
Files_ |
person_ |
Persons.id |
キー | |
Files_ |
product_ |
Products.id |
キー | |
Files_ |
project_ |
ArchivedProjects.id |
テキスト | The project, in Projects or, once archived, in ArchivedProjects. |
Files_ |
project_ |
Projects.id |
テキスト | The project, in Projects or, once archived, in ArchivedProjects. |
Files_ |
user_ |
Users.id |
キー |
参照元
- RecentChangesBySinceTimestamp
id(テキスト型)