PersonFields
Returns data about all person fields.
Select
The add-in 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 add-in.
- Id supports the '=' operator.
For example, the following query is processed server side:
SELECT * FROM PersonFields WHERE Id = 9039
INSERT
Insert can be executed by specifying the Name and FieldType columns. The columns that are not required can be inserted optionally.
For example:
INSERT INTO PersonFields (Name, AddVisibleFlag, FieldType) VALUES ('NameCdataIndia', 'true', 'address')
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 PersonFields SET Name = 'My name just started here' WHERE Id = '9062'
DELETE
Delete can be executed by specifying the Id in the WHERE Clause.
For example:
DELETE FROM PersonFields WHERE Id = 9040
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | Integer | True |
ID of the field. | |
| ActiveFlag | Boolean | True |
ActiveFlag. | |
| AddTime | Datetime | True |
AddTime. | |
| AddVisibleFlag | Boolean | False |
Whether the field is available in 'add new' modal or not (both in web and mobile app). The default value is true. | |
| BulkEditAllowed | Boolean | True |
BulkEditAllowed. | |
| DetailsVisibleFlag | Boolean | True |
DetailsVisibleFlag. | |
| EditFlag | Boolean | True |
EditFlag. | |
| FieldType | String | False |
Type of the field. The allowed values are address, date, daterange, double, enum, monetary, org, people, phone, set, text, time, timerange, user, varchar, varchar_auto, visible_to. | |
| FilteringAllowed | Boolean | True |
FilteringAllowed. | |
| ImportantFlag | Boolean | True |
ImportantFlag. | |
| IndexVisibleFlag | Boolean | True |
IndexVisibleFlag. | |
| Key | String | True |
Key. | |
| LastUpdatedByUserId | String | True |
LastUpdatedByUserId. | |
| MandatoryFlag | Boolean | True |
MandatoryFlag. | |
| Name | String | False |
Name of the field. | |
| Options | String | False |
Options. | |
| OrderNr | Integer | True |
OrderNr. | |
| SearchableFlag | Boolean | True |
SearchableFlag. | |
| SortableFlag | Boolean | True |
SortableFlag. | |
| UpdateTime | Datetime | True |
UpdateTime. |