Documentation

sale.propertyRelation.list

Scope: catalog Permissions to execute: for all

sale.propertyRelation.list(select, filter, order, navigation)

The method gets list of property bindings.

When successful, returns list of items in response body.

Parameters

ParameterType Description
selectobject Fields, corresponding to available list of fields.
filterobject Fields, corresponding to available list of fields.
orderobject Fields, corresponding to available list of fields.
navigationstring Number of display page.
startstring The number of first entries to be skipped inside the result. This value must be 50-fold Due to technical limitations this parameter value always must be divisible by 50. For example, with the value of 50, the result will show 51st and subsequent entries, and the first 50 entries will be skipped. . With the value of -1, the count will be disabled.


Examples

BX24.callMethod(
    'sale.propertyRelation.list', 
    { select:{
		entityId		
	  } ,
	  filter:{
	    propertyId: 1
	  },
	  order:{
		entityType: asc
	  },
	  navigation: 1
	}, 
    function(result)
    {
        if(result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
});


© «Bitrix24», 2001-2024