task.item.addtofavorite
Attention! This method is deprecated and is no longer supported. It is recommended to use the methods tasks.task.*.
This method adds task to Favourites.
Method parameters
Parameter | Description |
---|---|
auth | Authorization token. |
TASK_ID | Task ID. |
PARAMS | Parameter contains AFFECT_CHILDREN key. It indicates, whether to add subtasks of this task to favorites. |
Attention! Compliance to parameter sequence in the query is mandatory. If sequence is not observed, the query will be executed with errors.
Call example
$request ='http://your-domain.com/rest/task.item.addtofavorite.xml?auth=mqa17fnd5cth4rpwtizyl49tbnzp7omf&TASK_ID=10&PARAMS[AFFECT_CHILDREN]=Y'
© «Bitrix24», 2001-2024