Documentation

catalog.documentcontractor.list

Scope: catalog Permissions to execute: for all

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

Method gets list of CRM entity (Contact/Company) bindings to inventory objects/documents by filter. Returns list of bindings with structure, described in parameter select (if not specified, prints all fields, as in method getFields).

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.
startstring Printed page number. Works for https queries.


Examples

For JS

BX.callMethod(
	'catalog.documentcontractor.list',
	{
		select: ['id', 'documentId'],
		order: {'id': 'desc'},
		filter:
		{
			'documentId': 6,
			'entityTypeId': 3
		}
	},

	function(result)
	{
		console.log(result.data())
		result.next();
	}
);

For HTTPS

https://your_account/rest/catalog.documentcontractor.list?auth=_auth_key_&start=50

© «Bitrix24», 2001-2024