Documentation

crm.enum.ownertype

crm.enum.ownertype()
Returns identifiers for types of CRM entities.

Possible values

{
    "result": [
       {
           "ID": 1,
           "NAME": "Lead"
       },
       {
           "ID": 2,
           "NAME": "Deal"
       },
       {
           "ID": 3,
           "NAME": "Contact"
       },
       {
           "ID": 4,
           "NAME": "Компания"
       },
       {
           "ID": 7,
           "NAME": "Quote"
       },
       {
           "ID": 5,
           "NAME": "Invoice"
       },
       {
           "ID": 8,
           "NAME": "Requisites"
       }
   ],
   "time": {
       "start": 1561543765.254939,
       "finish": 1561543765.270899,
       "duration": 0.015959978103637695,
       "processing": 0.003108978271484375,
       "date_start": "2019-06-26T13:09:25+03:00",
       "date_finish": "2019-06-26T13:09:25+03:00"
   }
}

Parameters

No parameters.

Example

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


User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2019, «Bitrix Inc.», 2019