mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-03-23 21:29:38 +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 = "362";
|
|
|
|
Result = OPI_Bitrix24.UpdateCalendar(URL, CalendarID, CalendarsStructure);
|
|
|
|
URL = "b24-ar17wx.bitrix24.by";
|
|
Token = "8536b467006e9f06006b12e400000001000...";
|
|
CalendarID = "364";
|
|
|
|
Result = OPI_Bitrix24.UpdateCalendar(URL, CalendarID, CalendarsStructure, Token);
|