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());
    }
);


© «Bitrix24», 2001-2022
Up