Roles: Pipedrive Roles
insert update delete REST
- カタログ:
Pipedrive - スキーマ:
Users - 主キー:
id - ラベル: ロール
insert、update、delete を使用して、データの取得や変更を行うことができます。
概要
The roles users can have. Each request costs 20 tokens of the daily budget of the company.
APIソース
- エンドポイント:
/roles
表の列
テーブル Roles の列は以下のとおりです。 各列には、SQLのデータ型が設定されています。 INSERT文およびUPDATE文の実行中は、常にすべての必須列に対して、null以外の新しい値を指定する必要があります。
| 名前 | データ型 | ラベル | 必須 | マーク | ドキュメント |
|---|---|---|---|---|---|
active_ |
char |
アクティブフラグ | プラットフォーム上でフィルタ可能、書き込み可能、計算列、active_ |
Whether the role is active or not. | |
assignment_ |
varchar2 |
課題数 | プラットフォーム上でフィルタ可能、書き込み可能、計算列、assignment_ |
The number of users assigned to this role. | |
id |
int64 |
ID | プラットフォーム上でフィルタ可能、書き込み可能、計算列、id |
The ID of the role. | |
level |
int64 |
レベル | プラットフォーム上でフィルタ可能、書き込み可能、計算列、level |
The level of role in the role hierarchy. | |
name |
varchar2 |
名前 | プラットフォーム上のフィルター、書き込み可能、name |
The name of the role. | |
parent_ |
int64 |
親のロールID | プラットフォーム上のフィルター、書き込み可能、parent_ |
The ID of the parent role. | |
sub_ |
varchar2 |
サブロールの数 | プラットフォーム上でフィルタ可能、書き込み可能、計算列、sub_ |
The number of sub-roles. |
キー
| キー | コラム | 「~を指す」 | 種類 | 説明 |
|---|---|---|---|---|
Roles_ |
parent_ |
Roles.id |
キー |
参照元
- CurrentUsers
role_id(Key) - Roles
parent_role_id(Key) - ユーザー
role_id(キー)