Documentation

crm.company.contact.items.delete

Scope: catalog Permissions to execute: for all

crm.company.contact.items.delete(id)

The method clears set of contacts, binded with the specified company.

Parameters

Parameter Description
id Company ID.

Example

var id = prompt("Enter ID");
BX24.callMethod(
	"crm.company.contact.items.delete", 
	{ 
		id: id 
	}, 
	function(result) 
	{
		if(result.error())
			console.error(result.error());
		else
			console.info(result.data());
	}
);


© «Bitrix24», 2001-2024
Up