b24_task_elapsed_add
Log time spent on a task by recording elapsed seconds and an optional comment. Returns the entry ID for the time record.
Instructions
Log time spent on a task (task.elapseditem.add). Returns the entry id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Task id. | |
| comment | No | Optional note for the time entry. | |
| seconds | Yes | Time spent, in seconds. | |
| webhook_url | No | Override the default incoming webhook for this call (https://<portal>/rest/<user_id>/<token>/). If omitted, uses personal_webhook, then the X-B24-Webhook HTTP header, then the BITRIX_WEBHOOK_URL env default. | |
| personal_webhook | No | Act as a specific user (their personal incoming webhook). Takes precedence over webhook_url. Required to write to the portal under that user's permissions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |