Documentation

task.item.getdata

Attention! This method is deprecated and is no longer supported. It is recommended to use the methods tasks.task.*.

Returns an array of task data fields (TITLE, DESCRIPTION, etc.). The following fields are available.

Function parameters

ParameterDescription
TASKIDTask ID.

Attention! Compliance to parameter sequence in the query is mandatory. If sequence is not observed, the request will be executed with errors.

Example

// Get data on task ID 2:
BX24.callMethod(
	'task.item.getdata',
	[2],
	function(result)
	{
		console.info(result.data());
		console.log(result);
	}
);

© «Bitrix24», 2001-2024