mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-16 11:38:11 +02:00
1.8 KiB
1.8 KiB
sidebar_position |
---|
3 |
Delete tasks checklist element
Deletes element from tasks checklist
Function DeleteTasksChecklistElement(Val URL, Val TaskID, Val ElementID, Val Token = "") Export
Parameter | CLI option | Type | Description |
---|---|---|---|
URL | --url | String | URL of webhook or a Bitrix24 domain, when token used |
TaskID | --task | Number, String | Task ID |
ElementID | --element | Number, String | ID of deleted element |
Token | --token | String | Access token, when app auth method used |
Returns: Map Of KeyAndValue - serialized JSON of answer from Bitrix24 API
:::tip
Method at API documentation: task.checklistitem.delete
:::
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
TaskID = "1254";
ElementID = "540";
Result = OPI_Bitrix24.DeleteTasksChecklistElement(URL, TaskID, ElementID);
TaskID = "1256";
ElementID = "544";
URL = "b24-ar17wx.bitrix24.by";
Token = "7a63bc66006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.DeleteTasksChecklistElement(URL, TaskID, ElementID, Token);
oint bitrix24 DeleteTasksChecklistElement --url "b24-ar17wx.bitrix24.by" --task "1080" --element "400" --token "fe3fa966006e9f06006b12e400000001000..."
{
"result": true,
"time": {
"start": 1720816512.25818,
"finish": 1720816512.30984,
"duration": 0.0516610145568848,
"processing": 0.0264489650726318,
"date_start": "2024-07-12T20:35:12+00:00",
"date_finish": "2024-07-12T20:35:12+00:00",
"operating_reset_at": 1720817112,
"operating": 0
}
}