Documentation

crm.status.entity.items

crm.status.entity.items()

Return directory elements by its symbol ID sorted by the SORT field. Method is similar to crm.status.list, except that in the latter sorting rules may be defined.

Parameters

ParameterDescription
entityIdDirectory symbol ID (may also get by calling the crm.status.entity.types) method. Required

Example

 var id = prompt('Enter ID');
 BX24.callMethod(
  "crm.status.entity.items", 
  { 
   entityId: id 
  }, 
  function(result) 
  {
   if(result.error())
    console.error(result.error());
   else
    console.dir(result.data());
  }
 ); 


© «Bitrix24», 2001-2022
Up