Teams
Returns data about teams within the company
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 Teams WHERE Id = 7
INSERT
Insert can be executed by specifying the Name and ManagerId columns. The columns that are not required can be inserted optionally.
For example:
INSERT INTO Teams (Name,ManagerId,Description) VALUES ('Bangalore123','1','THIS IS YOUR MANAGER')
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 Teams SET Name = 'My name just started here', ManagerId = 2 WHERE Id = 7
Columns
Name | Type | ReadOnly | Description |
Id [KEY] | Integer | True |
ID of the team. |
ActiveFlag | Integer | True |
Flag that indicates if the Team is activated. The allowed values are 0, 1. |
AddTime | Datetime | True |
AddTime. |
CreatedByUserId | Integer | True |
CreatedByUserId. |
DeletedFlag | Integer | True |
Flag that indicates if the Team is deleted. The allowed values are 0, 1. |
Description | String | False |
The Team description. |
ManagerId | Integer | False |
The Team manager ID. |
Name | String | False |
The Team name. |
Users | String | False |
List of User IDs. |
Pseudo-Columns
Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.
Name | Type | Description |
SkipUsers | String |
When enabled, the teams will not include IDs of member users. The allowed values are 0, 1. The default value is 1. |