crm.timeline.comment.list
Scope: catalog Permissions to execute: for all
crm.timeline.comment.list()
The method returns list of all comments for specific CRM element.
Required fields when filtering:
ENTITY_ID
и
ENTITY_TYPE
Field Description Type Note
ENTITY_ID Element ID with associated timeline entry. integer Unmodifiable\Required
.
Field Description Type Note
ENTITY_TYPE Element ID with associated comment.
Values:
lead
- lead;deal
- deal;contact
- contact;company
- company;order
- order.string Unmodifiable\Required
Parameters
See description of list methods.
Example:
BX24.callMethod( "crm.timeline.comment.list", { filter: { "ENTITY_ID": 10, "ENTITY_TYPE": "deal", }, select: [ "ID", "COMMENT ", "FILES"] }, function(result) { if(result.error()) console.error(result.error()); else { console.dir(result.data()); if(result.more()) result.next(); } } );