1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-29 21:57:16 +02:00

18 lines
688 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;
Filter.Insert("CREATED_BY" , 1); // Producer with ID 1
Filter.Insert("!RESPONSIBLE_ID", 10); // Performers with ID not equal to 10
Filter.Insert(">=CREATED_DATE ", CurrentDate - 60 * 60 * 24); // Creation date >= yesterday
Indent = 1;
2024-09-21 10:57:02 +03:00
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
Result = OPI_Bitrix24.GetTasksList(URL, Filter);
2024-09-21 10:57:02 +03:00
URL = "b24-ar17wx.bitrix24.by";
2024-10-20 09:27:02 +03:00
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetTasksList(URL, , Indent, Token);