2025-06-29 14:35:33 +03:00
|
|
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
|
2025-01-27 21:50:57 +03:00
|
|
|
OwnerID = 1;
|
|
|
|
Type = "user";
|
|
|
|
|
|
|
|
Result = OPI_Bitrix24.GetCalendarEvents(URL, OwnerID, Type);
|
|
|
|
|
2025-06-29 14:35:33 +03:00
|
|
|
URL = "b24-ar17wx.bitrix24.by";
|
2025-10-08 00:46:26 +03:00
|
|
|
Token = "c866e568006e9f06006b12e400000001000...";
|
|
|
|
EventID = "2592";
|
|
|
|
CalendarID1 = "1422";
|
|
|
|
CalendarID2 = "1424";
|
2025-01-27 21:50:57 +03:00
|
|
|
|
|
|
|
Tomorrow = OPI_Tools.GetCurrentDate() + 86400;
|
|
|
|
NextDay = Tomorrow + 86400;
|
|
|
|
|
|
|
|
ArrayOfCalendars = New Array;
|
|
|
|
ArrayOfCalendars.Add(CalendarID1);
|
|
|
|
ArrayOfCalendars.Add(CalendarID2);
|
|
|
|
|
|
|
|
Filter = New Structure;
|
|
|
|
Filter.Insert("from" , Tomorrow);
|
|
|
|
Filter.Insert("to" , NextDay);
|
|
|
|
Filter.Insert("section", ArrayOfCalendars);
|
|
|
|
|
|
|
|
Result = OPI_Bitrix24.GetCalendarEvents(URL, OwnerID, Type, Filter, Token);
|