1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-01 22:29:52 +02:00
Files
OpenIntegrations/docs/en/examples/Bitrix24/GetTasksList.txt

22 lines
789 B
Plaintext
Raw Normal View History

2024-10-20 09:27:02 +03:00
 CurrentDate = OPI_Tools.GetCurrentDate();
// Full filter structure you can find at GetTasksFilterStructure method
Filter = New Map;
2025-03-06 20:58:59 +03:00
Filter.Insert("CREATED_BY", 1); // Producer with ID 1
2024-10-20 09:27:02 +03:00
Filter.Insert("!RESPONSIBLE_ID", 10); // Performers with ID not equal to 10
Filter.Insert(">=CREATED_DATE ", CurrentDate - 60 * 60 * 24); // Creation date >= yesterday
2024-10-21 11:37:01 +03:00
Fields = New Array;
Fields.Add("UF_CRM_TASK");
Fields.Add("CREATED_BY");
Indent = 1;
2025-01-18 17:35:34 +03:00
URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
2024-10-21 11:37:01 +03:00
Result = OPI_Bitrix24.GetTasksList(URL, Filter, , , Fields);
2024-09-21 10:57:02 +03:00
URL = "b24-ar17wx.bitrix24.by";
2025-04-16 22:15:09 +03:00
Token = "28e6ff67006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetTasksList(URL, , Indent, Token);