Skip to main content

Get results list

Gets results list for task

Function GetResultsList(Val URL, Val TaskID, Val Token = "") Export

ParameterCLI optionTypeRequiredDescription
URL--urlStringURL of webhook or a Bitrix24 domain, when token used
TaskID--taskNumber, StringTask ID
Token--tokenStringAccess token, when app auth method used

Returns: Map Of KeyAndValue - serialized JSON of answer from Bitrix24 API

tip

Method at API documentation: tasks.task.result.list


1C:Enterprise/OneScript code example
    URL    = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
TaskID = "9040";

Result = OPI_Bitrix24.GetResultsList(URL, TaskID);

URL = "b24-ar17wx.bitrix24.by";
Token = "6ad03969006e9f06006b12e400000001000...";

Result = OPI_Bitrix24.GetResultsList(URL, TaskID, Token);
    oint bitrix24 GetResultsList \
--url "b24-ar17wx.bitrix24.by" \
--task "9050" \
--token "***"
Result
{
"result": [
{
"id": 3366,
"taskId": 9050,
"commentId": 20950,
"createdBy": 1,
"createdAt": "2025-12-10T19:52:04+00:00",
"updatedAt": "2025-12-10T19:52:04+00:00",
"status": 0,
"text": "The task has been changed, let's split up",
"formattedText": "The task has been changed, let's split up",
"files": []
},
{
"id": 3364,
"taskId": 9050,
"commentId": 20948,
"createdBy": 1,
"createdAt": "2025-12-10T19:52:02+00:00",
"updatedAt": "2025-12-10T19:52:02+00:00",
"status": 0,
"text": "The task has been changed, do not split up",
"formattedText": "The task has been changed, do not split up",
"files": []
}
],
"time": {
"start": 1765396339,
"finish": 1765396339.31379,
"duration": 0.313791036605835,
"processing": 0,
"date_start": "2025-12-10T19:52:19+00:00",
"date_finish": "2025-12-10T19:52:19+00:00",
"operating_reset_at": 1765396939,
"operating": 0
}
}