Roles: Pipedrive Roles
insert update delete REST
- Katalog:
Pipedrive - Schéma:
Users - Primární klíče:
id - Label: Roles
Pomocí insert, update a delete lze načítat a měnit data.
Shrnutí
The roles users can have. Each request costs 20 tokens of the daily budget of the company.
Zdroj API
- Koncový bod:
/roles
Sloupce tabulky
Sloupce tabulky Roles jsou uvedeny níže. Každý sloupec má datový typ SQL. Pro každý požadovaný sloupec musí být vždy během vkládání a aktualizace zadána nová hodnota, která není nulová (non-null).
| Jméno | Datový typ | Štítek | Vyžadováno | Značky | Dokumentace |
|---|---|---|---|---|---|
active_ |
char |
Příznak „Aktivní“ | filters on the platform, writable, computed, active_ |
Whether the role is active or not. | |
assignment_ |
varchar2 |
Počet úkolů | filters on the platform, writable, computed, assignment_ |
The number of users assigned to this role. | |
id |
int64 |
ID | filters on the platform, writable, computed, id |
The ID of the role. | |
level |
int64 |
Úroveň | filters on the platform, writable, computed, level |
The level of role in the role hierarchy. | |
name |
varchar2 |
Jméno | filtry na platformě, zapisovatelné, name |
The name of the role. | |
parent_ |
int64 |
ID role rodiče | filtry na platformě, zapisovatelné, parent_ |
The ID of the parent role. | |
sub_ |
varchar2 |
Počet dílčích rolí | filters on the platform, writable, computed, sub_ |
The number of sub-roles. |
Klíče
| Klíč | Sloupec | Vztahuje se k | Druh | Popis |
|---|---|---|---|---|
Roles_ |
parent_ |
Roles.id |
Klíč |
Odkazuje na
- CurrentUsers
role_id(Key) - Roles
parent_role_id(Key) - Users
role_id(Key)