Documentation

sale.propertyvRelation.add

sale.propertyvRelation.add(fields)

The method adds property binding.

When successful, returns property binding resource in response body.

Parameters

ParameterType Description
fieldsobject Fields, corresponding to available list of getFields.


Examples

BX24.callMethod(
    'sale.propertyvRelation.add', 
    {
	  fields: {
		entityId: 6,
		entityType: 'D',
		propertyId: 40
	    }
	  }
	}, 
    function(result)
    {
        if(result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
});


© «Bitrix24», 2001-2022
Up