Documentation

crm.enum.getorderownertypes

crm.enum.getorderownertypes()

Method returns entity type IDs with available option to link order.

Possible values

Note: Presently. order linking can performed only to a Deal.

"result": [
    {
     "attribute": "DYN",
     "code": "DEAL",
     "id": "2",
     "name": "Deal"
   }
 ]

Parameters

No parameters.

Example

BX24.callMethod(
        "crm.enum.getorderownertypes", 
        {}, 
        function(result) 
        {
            if(result.error())
                console.error(result.error());
            else
                console.dir(result.data());
        }
    );	


© «Bitrix24», 2001-2022
Up