Documentation

crm.lead.get

crm.lead.get(id)

Returns a lead by the specified ID.

Parameters

Parameter Description
id Specifies the lead ID.

Example

	var id = prompt("Enter ID");
		BX24.callMethod(
			"crm.lead.get", 
			{ id: id }, 
			function(result) 
			{
				if(result.error())
					console.error(result.error());
				else
					console.dir(result.data());
			}
		);		
</script>

See Also

© «Bitrix24», 2001-2024