crm.contact.get
Scope: catalog Permissions to execute: for all
crm.contact.get(id)
Returns a contact by the specified contact ID.
To retrive list of companies, associated with the contact, used the following crm.contact.company.items.get method.
Parameters
Parameter | Description |
---|---|
id | Specifies the contact ID. |
Example
var id = prompt("Enter ID"); BX24.callMethod( "crm.contact.get", { id: id }, function(result) { if(result.error()) console.error(result.error()); else console.dir(result.data()); } ); </script>
© «Bitrix24», 2001-2024