1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-29 22:27:42 +02:00
Files
OpenIntegrations/docs/en/examples/Bitrix24/UpdateCalendar.txt
Vitaly the Alpaca (bot) 8ed6ee71a3 Main build (Jenkins)
2025-09-04 15:33:26 +03:00

19 lines
701 B
Plaintext
Vendored

UserID = 1;
CalendarsStructure = New Structure;
CalendarsStructure.Insert("type" , "user");
CalendarsStructure.Insert("ownerId" , UserID);
CalendarsStructure.Insert("name" , "New calendar name");
CalendarsStructure.Insert("description", "This calendar has been changed");
URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
CalendarID = "1206";
Result = OPI_Bitrix24.UpdateCalendar(URL, CalendarID, CalendarsStructure);
URL = "b24-ar17wx.bitrix24.by";
Token = "4f8db968006e9f06006b12e400000001000...";
CalendarID = "1208";
Result = OPI_Bitrix24.UpdateCalendar(URL, CalendarID, CalendarsStructure, Token);