Documentation

imopenlines.config.list.get

The method is used to get list of Open Channels.

Parameters

Parameter Description Available from version
PARAMS Array of parameters List of available parameters is identical to the list of imopenlines.config.add method parameters for selection (select, order, filter) (optional)
OPTIONS Array of additional options (presently, only the field 'QUEUE' => 'Y'/'N' - Queue of responsible employees) (optional)

Example

	//imopenlines.config.list.get
	function configListGet()
	{
		var params = {
			PARAMS: {
				select: {
					'ID',
					...
				},
				order: {
					ID: 'ASC',
					...
				},
				filter: {
					ID: 1,
					...
				}
			},
			OPTIONS: {
				QUEUE: Y
			}
		};
		BX24.callMethod(
			'imopenlines.config.list.get',
			params,
			function (result) {
				if (result.error())
					alert("Error: " + result.error());
				else
					alert("True: " + result.data());
			}
		);
	}


© «Bitrix24», 2001-2024