Documentation

crm.timeline.bindings.fields

crm.timeline.bindings.fields()

The method returns list of binded CRM elements to timeline records.



Parameters

Parameter Description
fields Set of fields - array ("field"=>"value"[, ...]) type, containing field values. Required fields - OWNER_ID, ENTITY_ID and ENTITY_TYPE.

Fields

Field DescriptionTypeNote
OWNER_ID Record ID in timeline. integer Invariable\Required
ENTITY_ID Element ID to which a timeline record is binded. integer Invariable\Required
ENTITY_TYPE Type of element to which comment is binded.
Values:
  • lead - lead;
  • deal - deal;
  • contact - contact;
  • company - company;
  • order - order.
string Invariable\Required

Examples

   BX24.callMethod(
       "crm.timeline.bindings.fields",
       {},
       function(result)
       {
           if(result.error())
               console.error(result.error());
           else
               console.dir(result.data());
       }
   );


© «Bitrix24», 2001-2024