You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-12-03 22:39:12 +02:00
19 lines
697 B
Plaintext
19 lines
697 B
Plaintext
|
|
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 = "44";
|
||
|
|
|
||
|
|
Result = OPI_Bitrix24.UpdateCalendar(URL, CalendarID, CalendarsStructure);
|
||
|
|
|
||
|
|
URL = "b24-ar17wx.bitrix24.by";
|
||
|
|
Token = "4ed18b67006e9f06006b12e400000001000...";
|
||
|
|
CalendarID = "46";
|
||
|
|
|
||
|
|
Result = OPI_Bitrix24.UpdateCalendar(URL, CalendarID, CalendarsStructure, Token);
|