Roles
Returns all the role.
Select
The driver will use the Pipedrive API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the driver.
- Id supports the '=' operator.
For example, the following query is processed server side:
SELECT * FROM Roles SELECT * FROM Roles WHERE Id = 2
INSERT
Insert can be executed by specifying the Name and ParentRoleId columns. The columns that are not required can be inserted optionally.
For example:
INSERT INTO Roles (Name,ParentRoleId) VALUES ('BangaloreCdataIndia123','2')
UPDATE
Update can be executed by specifying the Id in the WHERE Clause. The columns that are not read-only can be Updated.
For example:
UPDATE Roles SET Name = 'My name just started here' WHERE Id = 1
DELETE
Delete can be executed by specifying the Id in the WHERE Clause.
For example:
DELETE FROM Roles WHERE Id = 1
Columns
Name | Type | ReadOnly | Description |
Id [KEY] | Integer | True |
ID of the role. |
ActiveFlag | Boolean | True |
ActiveFlag. |
AssignmentCount | String | True |
AssignmentCount. |
Level | Integer | True |
Level. |
Name | String | False |
The name of the Role. |
ParentRoleId | Integer | False |
The ID of the parent Role. |
SubRoleCount | String | True |
SubRoleCount. |