Documentation

task.item.userfield.update

This method is used to edit property parameters.

Method parameters

ParameterDescription
authAuthorization token.
IDUser field ID.
DATAArray ("field"=>"value", ...). Contains values of edited parameters.

Example

$appParams = array(
    'auth' => 'q21g8vhcqmxdrbhqlbd2wh6ev1debppa',
    'ID' => 77
    'DATA' => array('XML_ID' => 'new_external_id')
);

Call examples

$request = 'http://your-domain.com/rest/task.item.userfield.update.xml?'.http_build_query($appParams);

BX24.callMethod(
	'task.item.userfield.update',
	{'q21g8vhcqmxdrbhqlbd2wh6ev1debppa', 77, ['XML_ID': 'new_external_id']},

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

© «Bitrix24», 2001-2024