NoteComments
Create, Update, Delete and Get the comments associated with a note.
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.
- NoteId supports the '=' operator.
- UUID supports the '=' operator.
For example, the following query is processed server side:
SELECT * FROM NoteComments WHERE NoteId = 14
INSERT
Insert can be executed by specifying the NoteId and Content columns.The columns that are not read-only can be inserted. Following is an example of how to insert into this table.
INSERT INTO NoteComments (NoteId,Content) VALUES (2, 'Test comment')
UPDATE
Update can be executed by specifying the NoteId and UUID in the WHERE Clause. The columns that are not read-only can be Updated.
For example:
UPDATE NoteComments SET Content='Test' where NoteId=1 and UUID = '53e0c79fdacf083d9fe1f799fdc0a206'
DELETE
Delete can be executed by specifying the NoteId and UUID in the WHERE Clause.
For example:
DELETE FROM NoteComments WHERE NoteId=1 and UUID = '53e0c79fdacf083d9fe1f799fdc0a206'
Columns
Name | Type | ReadOnly | Description |
NoteId [KEY] | Integer | True |
ID of the note. |
UUID | String | False |
Comment Id. |
ActiveFlag | Boolean | False |
Active flag. |
AddTime | String | False |
Add time of the note comment. |
CompanyId | Integer | True |
Company Id. |
Content | String | False |
Content of the comment. |
ObjectId | String | True |
Object Id. |
ObjectType | String | False |
Object type. |
UpdateTime | String | False |
Update time of the comment. |
UpdaterId | Integer | True |
Updater Id. |
UserId | Integer | True |
User Id. |