Méthode | Description | |
---|---|---|
add ( array $fields = [], array $params = [] ) : array | Add a new contact to CRM | |
delete ( integer $bitrix24UserId ) : array | Deletes the specified contact | |
fields ( ) : array | get list of contact fields with description | |
get ( integer $bitrix24UserId ) : array | Get contact by identifier | |
getList ( array $order = [], array $filter = [], array $select = [], integer $start ) : array | Get list of contact items. | |
update ( integer $contactId, array $fields = [], array $params = [] ) : array |
public getList ( array $order = [], array $filter = [], array $select = [], integer $start ) : array | ||
$order | array | - order of task items |
$filter | array | - filter array |
$select | array | - array of collumns to select |
$start | integer | - entity number to start from (usually returned in 'next' field of previous 'crm.contact.list' API call) |
Résultat | array |
public update ( integer $contactId, array $fields = [], array $params = [] ) : array | ||
$contactId | integer | Specifies the contact ID |
$fields | array | An array in format array("field"=>"value"[, ...]) containing values for the fields that need to be updated. The fields can be one or more of those returned by crm.contact.fields. |
$params | array | Set of parameters. REGISTER_SONET_EVENT - performs registration of a change event in a contact in the Activity Stream. The contact's Responsible person will also receive notification. |
Résultat | array |