mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-03-29 21:57:16 +02:00
19 lines
699 B
Plaintext
Vendored
19 lines
699 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 = "290";
|
|
|
|
Result = OPI_Bitrix24.UpdateCalendar(URL, CalendarID, CalendarsStructure);
|
|
|
|
URL = "b24-ar17wx.bitrix24.by";
|
|
Token = "afd0a867006e9f06006b12e400000001000...";
|
|
CalendarID = "292";
|
|
|
|
Result = OPI_Bitrix24.UpdateCalendar(URL, CalendarID, CalendarsStructure, Token);
|