Documentation

crm.externalchannel.connector.unregister

crm.externalchannel.connector.unregister(fields)

Deleted connector for an external channel.

Parameters

Parameter Description
fields Set of fields - is an array ("field"=>"value"[, ...]), containing the values of address field. Where "field" can have two values "TYPE_ID", "ORIGINATOR_ID"

Allowed selection list for TYPE_ID parameter types:
CUSTOMCustom type
BITRIXBUS
ONE_C1ะก
WORDPRESSWordpress
JOOMLAJoomla
DRUPAL Drupal
MAGENTO Magento

Call example:

BX24.callMethod(
   "crm.externalchannel.connector.register",
   {
    fields:{
        "ORIGINATOR_ID":"sale",
        "TYPE_ID":"2"
        }
   },
   function(result) 
   {
        if(result.error())
            console.error(result.error());
        else
            console.dir(result.data());
    }
);


User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2019, «Bitrix Inc.», 2019