# tasks.template.checklist.renew

URL: https://chugunov.pro/api-bitrix24/tasks/template/checklist/tasks-template-checklist-renew/
Проверено на Битрикс24 REST API, обновлено 11.09.2026 (ревизия источника fb39d6c).
Источник: официальная документация Битрикс24 (bitrix-tools/b24-rest-docs, лицензия MIT, © Bitrix). Справочник независимый, официальной документацией не является.

Возобновить пункт чек-листа шаблона задачи
Scope: `task`
Кто может выполнять метод: пользователь с правами на изменение шаблона задачи

## Описание

Метод `tasks.template.checklist.renew` снимает отметку выполнения с пункта чек-листа шаблона задачи.

## Параметры

- `templateId` `integer` — обязательный. Идентификатор шаблона задачи.
  Идентификатор шаблона задачи можно получить при [создании нового шаблона](https://chugunov.pro/api-bitrix24/tasks/template/tasks-template-add/)
- `checkListItemId` `integer` — обязательный. Идентификатор пункта чек-листа.
  Идентификатор пункта чек-листа шаблона можно получить при [создании нового пункта](https://chugunov.pro/api-bitrix24/tasks/template/checklist/tasks-template-checklist-add/) или методом [получения списка пунктов](https://chugunov.pro/api-bitrix24/tasks/template/checklist/tasks-template-checklist-list/)

## Ответ

HTTP-статус: 200

```json
{
    "result": {
        "checkListItem": {
            "id": 27,
            "copiedId": null,
            "userId": 503,
            "createdBy": null,
            "parentId": 23,
            "title": "2. Заполнить форму отчета",
            "sortIndex": 1,
            "displaySortIndex": "",
            "isComplete": false,
            "isImportant": false,
            "completedCount": 0,
            "members": [],
            "attachments": [],
            "nodeId": null,
            "templateId": 139
        }
    },
    "time": {
        "start": 1773241079,
        "finish": 1773241079.318369,
        "duration": 0.31836891174316406,
        "processing": 0,
        "date_start": "2026-03-11T17:57:59+03:00",
        "date_finish": "2026-03-11T17:57:59+03:00",
        "operating_reset_at": 1773241679,
        "operating": 0
    }
}
```

### Возвращаемые данные

- `result` `object`. Объект с данными ответа [(подробное описание)](#result)
- `time` `time`. Информация о времени выполнения запроса

## Ошибки

HTTP-статус: 400

```json
{
    "error": "100",
    "error_description": "Could not find value for parameter {templateId}"
}
```

- `400` — `100`. Could not find value for parameter {templateId}
- `400` — `100`. Bitrix\Tasks\CheckList\Internals\CheckList All parameters in the constructor must have real class type
- `400` — `0`. Bitrix\Tasks\CheckList\CheckListFacade::onAfterUpdate(): Argument #1 ($taskId) must be of type int, string given, called in /var/www/html/bitrix/modules/tasks/lib/checklist/checklistfacade.php on line 313
- `400` — `0`. Указано некорректное значение [] для поля [ENTITY_ID] в элементе [, ]
- `400` — `0`. Изменение статуса элемента: действие недоступно

## Примеры запроса

### cURL (Webhook)

```bash
curl -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
  "templateId": 139,
  "checkListItemId": 27
}' \
https://**put_your_bitrix24_address**/rest/**put_your_user_id_here**/**put_your_webhook_here**/tasks.template.checklist.renew
```

### cURL (OAuth)

```bash
curl -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
  "templateId": 139,
  "checkListItemId": 27,
  "auth": "**put_access_token_here**"
}' \
https://**put_your_bitrix24_address**/rest/tasks.template.checklist.renew
```

### JS (TS)

```ts
// This snippet is an ES module: top-level await requires type="module" or a bundler.
// $b24 is an already-initialized SDK instance (see the SDK "Get started" guide).
import { Text } from '@bitrix24/b24jssdk'
import type { B24Frame } from '@bitrix24/b24jssdk'

declare const $b24: B24Frame

// Shape of the payload returned in result (match the "response handling" section of the page)
type ChecklistRenewResult = {
  checkListItem: {
    id: number
    copiedId: number | null
    userId: number
    createdBy: number | null
    parentId: number | null
    title: string
    sortIndex: number
    displaySortIndex: string
    isComplete: boolean
    isImportant: boolean
    completedCount: number
    members: unknown[]
    attachments: unknown[]
    nodeId: number | null
    templateId: number
  }
}

try {
  const response = await $b24.actions.v2.call.make<ChecklistRenewResult>({
    method: 'tasks.template.checklist.renew',
    params: {
      templateId: 139,
      checkListItemId: 27,
    },
    requestId: Text.getUuidRfc4122()
  })

  // The payload is available only on a successful response
  if (!response.isSuccess) {
    console.error(response.getErrorMessages().join('; '))
  } else {
    const result = response.getData()!.result
    console.info(result.checkListItem)
  }
} catch (error) {
  // Thrown on transport or SDK failures (AjaxError, SdkError, etc.)
  console.error(error)
}
```

### JS (UMD)

```html
<!-- Load the SDK (UMD build); it is exposed as the global B24Js -->
<script src="https://unpkg.com/@bitrix24/b24jssdk@1/dist/umd/index.min.js"></script>
<script>
  async function renewChecklistItem() {
    try {
      // Initialize the SDK inside a Bitrix24 frame
      const $b24 = await B24Js.initializeB24Frame()

      const response = await $b24.actions.v2.call.make({
        method: 'tasks.template.checklist.renew',
        params: {
          templateId: 139,
          checkListItemId: 27,
        },
        requestId: B24Js.Text.getUuidRfc4122()
      })

      // The payload is available only on a successful response
      if (!response.isSuccess) {
        console.error(response.getErrorMessages().join('; '))
        return
      }

      const result = response.getData().result
      console.info(result.checkListItem)
    } catch (error) {
      // Thrown on transport or SDK failures (AjaxError, SdkError, etc.)
      console.error(error)
    }
  }

  document.addEventListener('DOMContentLoaded', renewChecklistItem)
</script>
```

### Python

```python
from b24pysdk.errors import BitrixAPIError, BitrixSDKException

try:
    bitrix_response = client.tasks.template.checklist.renew(
        template_id=139,
        check_list_item_id=27,
    ).response
    result = bitrix_response.result
    print(result)
except BitrixAPIError as error:
    print(
        "Ошибка Bitrix API",
        f"error: {error.error}",
        f"error_description: {error.error_description}",
        sep="\n",
    )
except BitrixSDKException as error:
    print(f"Ошибка Bitrix SDK: {error.message}")
except Exception as error:
    print(f"Непредвиденная ошибка: {error}")
```

### PHP

```php
try {
    $response = $b24Service
        ->core
        ->call(
            'tasks.template.checklist.renew',
            [
                'templateId' => 139,
                'checkListItemId' => 27
            ]
        );

    $result = $response
        ->getResponseData()
        ->getResult();

    print_r($result);
} catch (Throwable $e) {
    echo $e->getMessage();
}
```

### BX24.js

```js
BX24.callMethod(
    'tasks.template.checklist.renew',
    {
        templateId: 139,
        checkListItemId: 27,
    },
    function(result)
    {
        if (result.error())
        {
            console.error(result.error());
        }
        else
        {
            console.log(result.data());
        }
    }
);
```

### PHP CRest

```php
require_once('crest.php');

$result = CRest::call(
    'tasks.template.checklist.renew',
    [
        'templateId' => 139,
        'checkListItemId' => 27
    ]
);

print_r($result);
```

### Go

```go
// client и ctx уже созданы — см. раздел «SDK для Go»
res, err := client.Core().Call(ctx, "tasks.template.checklist.renew", b24.Params{
	"templateId":      139,
	"checkListItemId": 27,
})
if err != nil {
	return fmt.Errorf("tasks.template.checklist.renew: %w", err)
}

// Метод заворачивает ответ в объект с ключом "checkListItem".
raw, ok := b24.Unwrap(res.Result, "checkListItem")
if !ok {
	return fmt.Errorf("в ответе нет ключа checkListItem")
}

var item struct {
	ID               b24.ID `json:"id"`
	UserID           b24.ID `json:"userId"`
	ParentID         b24.ID `json:"parentId"`
	Title            string `json:"title"`
	SortIndex        int    `json:"sortIndex"`
	DisplaySortIndex string `json:"displaySortIndex"`
}
if err := json.Unmarshal(raw, &item); err != nil {
	return fmt.Errorf("разбор ответа: %w", err)
}
fmt.Println(item.ID, item.UserID)
```

Оригинал в официальной документации: https://apidocs.bitrix24.ru/api-reference/tasks/template/checklist/tasks-template-checklist-renew.html
