External Channels
Method | Description |
---|---|
crm.externalchannel.activity.company | Creates "Company document" activity. |
crm.externalchannel.activity.contact | Creates "Contact document" activity. |
crm.externalchannel.company | Imports a Company entry and creates "Company import" activity. |
crm.externalchannel.contact | Imports a Company entry and creates "Contact import" activity. |
crm.externalchannel.connector.register | Registers an external channel connector. |
crm.externalchannel.connector.unregister | Deletes an external channel connector. |
Method parameters
Parameter | Description |
---|---|
"updated field"=>"value" | Set of fields for company|contact - is an array("updated field"=>"value"[, ...]), where "updated field" can have values returned by the crm.company.fields|crm.contact.fields for agents and crm.activity.fields for an activity.
For the activity, field IS_MY_COMPANY - Y (company-seller) | N. |
MESSAGE | Message text. |
ORIGIN_ID | External code of an agent. |
COMPANY_ORIGIN_ID | Currently relevant only for contact. It is processed, but it is not recommended to use it, because the logic of working with this field can be changed without preliminary warning. When this parameter is passed, search for a company by origin_id is performed - if it is found, contact is successfully assigned to the company. |
RQ_ADDR | Multiple list with pre-set types:
|
RESULT_CURRENCY_ID | Currency code, taken from the crm.currency.list selection list. |
RESULT_VALUE | Currently relevant only for the activity of SELLING subtype: 1 - passed, 0 - not passed. |
START_TIME | |
VERSION | Version of agent. Change of agent version leads to the contact update in the system and to creation of the activity, Import #agent#. |
CHANNEL_ID | Channel ID, where the value is taken from the value, returned by the crm.externalchanell.connector.register method. |
© «Bitrix24», 2001-2024