LeadLabels
Returns details of all Lead Labels.
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 LeadLabels
INSERT
Insert can be executed by specifying the Name and Color columns. The columns that are not required can be inserted optionally.
For example:
INSERT INTO LeadLabels (Name,Color) VALUES ('BangaloreCdataIndia123','blue')
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 LeadLabels SET Name = 'I am updating content' WHERE id ='28093520-743a-11ec-96e6-031cfba07e9a'
DELETE
Delete can be executed by specifying the Id in the WHERE Clause.
For example:
DELETE FROM LeadLabels WHERE Id = '28093520-743a-11ec-96e6-031cfba07e9a'
Columns
Name | Type | ReadOnly | Description |
Id [KEY] | String | True |
The ID of the Lead Label. |
AddTime | Datetime | True |
AddTime. |
Color | String | False |
The color of the label. The allowed values are green, blue, red, yellow, purple, gray. |
Name | String | False |
The name of the Lead Label. |
UpdateTime | Datetime | True |
UpdateTime. |