Documentation

crm.enum.activitypriority

crm.enum.activitypriority()

Returns items of Activity Priority list.

Parameters

No parameters

Example

 BX24.callMethod(
  "crm.enum.activitypriority", 
  {}, 
  function(result) 
  {
   if(result.error())
    console.error(result.error());
   else
    console.dir(result.data());
  }
 ); 

{
    "result": [
        {
            "ID": 0,
            "NAME": ""
        },
        {
            "ID": 1,
            "NAME": "low"
        },
        {
            "ID": 2,
            "NAME": "medium"
        },
        {
            "ID": 3,
            "NAME": "high"
        }
    ],
    "time": {
        "start": 1623511552.3520579,
        "finish": 1623511552.38078,
        "duration": 0.028722047805786133,
        "processing": 0.0060150623321533203,
        "date_start": "2021-06-12T18:25:52+03:00",
        "date_finish": "2021-06-12T18:25:52+03:00"
    }
}

© «Bitrix24», 2001-2024