ActivityTypes
Get all ActivityTypes.
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 Activities WHERE Id = 9
INSERT
Insert can be executed by specifying the Name and IconKey columns. The columns that are not required can be inserted optionally.
For example:
INSERT INTO ActivityTypes (Name, IconKey, color, IsCustomFlag, KeyString) VALUES ('test42', 'task', 'FFFFFF', 'true', 'call')
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 ActivityTypes SET IconKey = 'email' WHERE id = 7
DELETE
Delete can be executed by specifying the Id in the WHERE Clause.
For example:
DELETE FROM ActivityTypes WHERE Id = 2
Columns
Name | Type | ReadOnly | Description |
Id [KEY] | Integer | True |
The ID of the ActivityType. |
ActiveFlag | Boolean | True |
ActiveFlag. |
AddTime | Datetime | True |
AddTime. |
Color | String | False |
A designated color for the ActivityType in 6-character HEX format. |
IconKey | String | False |
Icon graphic to use for representing this activity type. The allowed values are task, email, meeting, deadline, call, lunch, calendar, downarrow, document, smartphone, camera, scissors, cogs, bubble, uparrow, checkbox, signpost, shuffle, addressbook, linegraph, picture, car, world, search, clip, sound, brush, key, padlock, pricetag, suitcase, finish, plane, loop, wifi, truck, cart, bulb, bell, presentation. |
IsCustomFlag | Boolean | True |
IsCustomFlag. |
KeyString | String | True |
KeyString. |
Name | String | False |
The name of the ActivityType. |
OrderNr | Integer | False |
An order number for this ActivityType. Order numbers should be used to order the types in the ActivityType selections. |
UpdateTime | Datetime | True |
UpdateTime. |