Documentation

catalog.ratio.list

Scope: catalog Permissions to execute: for all

catalog.ratio.list(select, filter, order, start)

The method gets list of measurement unit ratio by filter.

When successful, returns list of measurement unit ratios in the response body.

Parameters

ParameterType Description
selectobject Fields, corresponding to the available list of fields.
filterobject Fields, corresponding to the available list of fields.
orderobject Fields, corresponding to the available list of fields.
navigationstring Retrieved page number.
startstring Printed page number. Works for https queries.


Examples

For JS

BX24.callMethod(
	'catalog.ratio.list', 
	{
		select:{
			id
		},
		filter:{
			isDefault: Y
		},
		order:{
			id: asc
		},
		start: 1
	},
	function(result)
	{
		if(result.error())
			console.error(result.error().ex);
		else
			console.log(result.data());
		result.next();
	}
);

For HTTPS

https://your_account/rest/catalog.ratio.list?auth=_auth_key_&start=50
© «Bitrix24», 2001-2024