1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-08-13 20:05:19 +02:00

Пересборка доков

This commit is contained in:
Anton Titovets
2024-08-13 16:47:32 +03:00
parent 4be60436d7
commit 29d522a0bc
503 changed files with 4888 additions and 4900 deletions

View File

@@ -554,22 +554,10 @@
ТекстПримера = Новый ТекстовыйДокумент();
ТекстПримера.Прочитать(ПутьПримера);
Результат = "";
Для Н = 1 По ТекстПримера.КоличествоСтрок() Цикл
ТекущаяСтрока = СокрЛП(ТекстПримера.ПолучитьСтроку(Н));
Результат = Результат + " " + ТекущаяСтрока + Символы.ПС;
КонецЦикла;
Результат = ТекстПримера.ПолучитьТекст();
Если ЗначениеЗаполнено(Результат) Тогда
Результат = Лев(Результат, СтрДлина(Результат) - 1);
Пока СтрНайти(Результат, Символы.ПС + Символы.ПС) <> 0 Цикл
Результат = СтрЗаменить(Результат, Символы.ПС + Символы.ПС, Символы.ПС);
КонецЦикла;
КонецЕсли;
КонецЕсли;

View File

@@ -28,18 +28,18 @@ Method at API documentation: [disk.folder.addsubfolder](https://dev.1c-bitrix.ru
```bsl title="Code example"
FolderID = "5016";
Name = "New subfolder";
Filename2 = "New subfolder 2";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.CreateSubfolder(URL, FolderID, Filename2);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.CreateSubfolder(URL, FolderID, Name, Token);
FolderID = "5016";
Name = "New subfolder";
Filename2 = "New subfolder 2";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.CreateSubfolder(URL, FolderID, Filename2);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.CreateSubfolder(URL, FolderID, Name, Token);
```

View File

@@ -27,16 +27,16 @@ Method at API documentation: [disk.folder.deletetree](https://dev.1c-bitrix.ru/r
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FolderID = "5014";
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
FolderID = "5016";
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FolderID = "5014";
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
FolderID = "5016";
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID, Token);
```

View File

@@ -27,15 +27,15 @@ Method at API documentation: [disk.folder.getExternalLink](https://dev.1c-bitrix
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FolderID = "5016";
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FolderID = "5016";
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID, Token);
```

View File

@@ -27,14 +27,14 @@ Method at API documentation: [disk.folder.getfields](https://dev.1c-bitrix.ru/re
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.GetFolderFilterStructure(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetFolderFilterStructure(URL, True, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.GetFolderFilterStructure(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetFolderFilterStructure(URL, True, Token);
```

View File

@@ -27,15 +27,15 @@ Method at API documentation: [disk.folder.get](https://dev.1c-bitrix.ru/rest_hel
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FolderID = "5016";
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FolderID = "5016";
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID, Token);
```

View File

@@ -28,15 +28,15 @@ Method at API documentation: [disk.folder.getchildren](https://dev.1c-bitrix.ru/
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FolderID = "5016";
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID, , Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FolderID = "5016";
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID, , Token);
```

View File

@@ -28,22 +28,22 @@ Method at API documentation: [disk.folder.copyto](https://dev.1c-bitrix.ru/rest_
```bsl title="Code example"
DestinationID = "5018";
FolderID = "5020";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.MakeFolderCopy(URL, FolderID, DestinationID);
DestinationID = "5020";
FolderID = "5018";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.MakeFolderCopy(URL, FolderID, DestinationID, Token);
Check_BitrixObject(Result);
DestinationID = "5018";
FolderID = "5020";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.MakeFolderCopy(URL, FolderID, DestinationID);
DestinationID = "5020";
FolderID = "5018";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.MakeFolderCopy(URL, FolderID, DestinationID, Token);
Check_BitrixObject(Result);
```

View File

@@ -27,15 +27,15 @@ Method at API documentation: [disk.folder.markdeleted](https://dev.1c-bitrix.ru/
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FolderID = "5016";
Result = OPI_Bitrix24.MarkFolderAsDeleted(URL, FolderID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.MarkFolderAsDeleted(URL, FolderID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FolderID = "5016";
Result = OPI_Bitrix24.MarkFolderAsDeleted(URL, FolderID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.MarkFolderAsDeleted(URL, FolderID, Token);
```

View File

@@ -28,21 +28,21 @@ Method at API documentation: [disk.folder.moveto](https://dev.1c-bitrix.ru/rest_
```bsl title="Code example"
DestinationID = "5014";
FolderID = "5020";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.MoveFolder(URL, FolderID, DestinationID);
FolderID = "5018";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.MoveFolder(URL, FolderID, DestinationID, Token);
Check_BitrixObject(Result);
DestinationID = "5014";
FolderID = "5020";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.MoveFolder(URL, FolderID, DestinationID);
FolderID = "5018";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.MoveFolder(URL, FolderID, DestinationID, Token);
Check_BitrixObject(Result);
```

View File

@@ -28,19 +28,19 @@ Method at API documentation: [disk.folder.rename](https://dev.1c-bitrix.ru/rest_
```bsl title="Code example"
Name = "New catalog";
Filename2 = "New folder 2";
FolderID2 = "5014";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.RenameFolder(URL, FolderID2, Filename2);
FolderID = "5016";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.RenameFolder(URL, FolderID, Name, Token);
Name = "New catalog";
Filename2 = "New folder 2";
FolderID2 = "5014";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.RenameFolder(URL, FolderID2, Filename2);
FolderID = "5016";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.RenameFolder(URL, FolderID, Name, Token);
```

View File

@@ -27,15 +27,15 @@ Method at API documentation: [disk.folder.restore](https://dev.1c-bitrix.ru/rest
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FolderID = "5016";
Result = OPI_Bitrix24.RestoreFolder(URL, FolderID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.RestoreFolder(URL, FolderID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FolderID = "5016";
Result = OPI_Bitrix24.RestoreFolder(URL, FolderID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.RestoreFolder(URL, FolderID, Token);
```

View File

@@ -29,21 +29,21 @@ Method at API documentation: [im.chat.user.add](https://dev.1c-bitrix.ru/learnin
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
UserIDs = New Array;
UserIDs.Add(10);
UserIDs.Add(12);
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserIDs);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
UserID = 10;
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserID, True, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
UserIDs = New Array;
UserIDs.Add(10);
UserIDs.Add(12);
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserIDs);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
UserID = 10;
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserID, True, Token);
```

View File

@@ -30,20 +30,20 @@ Method at API documentation: [im.chat.updateTitle](https://dev.1c-bitrix.ru/lear
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Color = "AZURE";
Result = OPI_Bitrix24.ChangeChatColor(URL, ChatID, Color);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
Color = "PURPLE";
Result = OPI_Bitrix24.ChangeChatColor(URL, ChatID, Color, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Color = "AZURE";
Result = OPI_Bitrix24.ChangeChatColor(URL, ChatID, Color);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
Color = "PURPLE";
Result = OPI_Bitrix24.ChangeChatColor(URL, ChatID, Color, Token);
```

View File

@@ -28,18 +28,18 @@ Method at API documentation: [im.chat.setOwner](https://dev.1c-bitrix.ru/learnin
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
UserID = 10;
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
UserID = 10;
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID, Token);
```

View File

@@ -28,18 +28,18 @@ Method at API documentation: [im.chat.updateAvatar](https://dev.1c-bitrix.ru/lea
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Image = "https://openintegrations.dev/test_data/picture2.jpg";
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Image = "https://openintegrations.dev/test_data/picture2.jpg";
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image, Token);
```

View File

@@ -28,20 +28,20 @@ Method at API documentation: [im.chat.updateTitle](https://dev.1c-bitrix.ru/lear
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Title = "New chat title";
Result = OPI_Bitrix24.ChangeChatTitle(URL, ChatID, Title);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
Title = "Another title";
Result = OPI_Bitrix24.ChangeChatTitle(URL, ChatID, Title, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Title = "New chat title";
Result = OPI_Bitrix24.ChangeChatTitle(URL, ChatID, Title);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
Title = "Another title";
Result = OPI_Bitrix24.ChangeChatTitle(URL, ChatID, Title, Token);
```

View File

@@ -27,38 +27,38 @@ Method at API documentation: [im.chat.add](https://dev.1c-bitrix.ru/learning/cou
```bsl title="Code example"
Image = "https://openintegrations.dev/test_data/picture.jpg";
OPI_TypeConversion.GetBinaryData(Image);
B64Image = GetBase64StringFromBinaryData(Image);
MembersArray = New Array;
MembersArray.Add(10);
MembersArray.Add(1);
ChatStructure = New Structure;
ChatStructure.Insert("TYPE" , "OPEN");
ChatStructure.Insert("TITLE" , "New chat");
ChatStructure.Insert("DESCRIPTION", "This is a new chat");
ChatStructure.Insert("COLOR" , "GREEN");
ChatStructure.Insert("MESSAGE" , "Welcome to new chat");
ChatStructure.Insert("USERS" , MembersArray);
ChatStructure.Insert("AVATAR" , B64Image);
ChatStructure.Insert("OWNER_ID" , 1);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.CreateChat(URL, ChatStructure);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatStructure = New Structure;
ChatStructure.Insert("TYPE" , "CHAT");
ChatStructure.Insert("TITLE" , "Private chat");
ChatStructure.Insert("USERS" , MembersArray);
Result = OPI_Bitrix24.CreateChat(URL, ChatStructure, Token);
Image = "https://openintegrations.dev/test_data/picture.jpg";
OPI_TypeConversion.GetBinaryData(Image);
B64Image = GetBase64StringFromBinaryData(Image);
MembersArray = New Array;
MembersArray.Add(10);
MembersArray.Add(1);
ChatStructure = New Structure;
ChatStructure.Insert("TYPE" , "OPEN");
ChatStructure.Insert("TITLE" , "New chat");
ChatStructure.Insert("DESCRIPTION", "This is a new chat");
ChatStructure.Insert("COLOR" , "GREEN");
ChatStructure.Insert("MESSAGE" , "Welcome to new chat");
ChatStructure.Insert("USERS" , MembersArray);
ChatStructure.Insert("AVATAR" , B64Image);
ChatStructure.Insert("OWNER_ID" , 1);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.CreateChat(URL, ChatStructure);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatStructure = New Structure;
ChatStructure.Insert("TYPE" , "CHAT");
ChatStructure.Insert("TITLE" , "Private chat");
ChatStructure.Insert("USERS" , MembersArray);
Result = OPI_Bitrix24.CreateChat(URL, ChatStructure, Token);
```

View File

@@ -28,18 +28,18 @@ Method at API documentation: [im.chat.user.delete](https://dev.1c-bitrix.ru/lear
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
UserID = 10;
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
UserID = 10;
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID, Token);
```

View File

@@ -27,16 +27,16 @@ Method at API documentation: [im.chat.mute](https://dev.1c-bitrix.ru/learning/co
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID, Token);
```

View File

@@ -27,16 +27,16 @@ Method at API documentation: [im.chat.mute](https://dev.1c-bitrix.ru/learning/co
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID, Token);
```

View File

@@ -27,16 +27,16 @@ Method at API documentation: [im.disk.folder.get](https://dev.1c-bitrix.ru/learn
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID, Token);
```

View File

@@ -27,16 +27,16 @@ Method at API documentation: [im.dialog.users.list](https://dev.1c-bitrix.ru/lea
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "chat" + "450";
Result = OPI_Bitrix24.GetChatMembersList(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
UserID = 10;
Result = OPI_Bitrix24.GetChatMembersList(URL, UserID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "chat" + "450";
Result = OPI_Bitrix24.GetChatMembersList(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
UserID = 10;
Result = OPI_Bitrix24.GetChatMembersList(URL, UserID, Token);
```

View File

@@ -29,16 +29,16 @@ Method at API documentation: [im.dialog.messages.get](https://dev.1c-bitrix.ru/l
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "chat4";
Result = OPI_Bitrix24.GetChatMessagesList(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
UserID = 10;
Result = OPI_Bitrix24.GetChatMessagesList(URL, UserID, , 0, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "chat4";
Result = OPI_Bitrix24.GetChatMessagesList(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
UserID = 10;
Result = OPI_Bitrix24.GetChatMessagesList(URL, UserID, , 0, Token);
```

View File

@@ -27,16 +27,16 @@ Method at API documentation: [im.chat.user.list](https://dev.1c-bitrix.ru/learni
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID, Token);
```

View File

@@ -27,16 +27,16 @@ Method at API documentation: [im.dialog.get](https://dev.1c-bitrix.ru/learning/c
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "chat" + "450";
Result = OPI_Bitrix24.GetDialog(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
UserID = 10;
Result = OPI_Bitrix24.GetDialog(URL, UserID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "chat" + "450";
Result = OPI_Bitrix24.GetDialog(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
UserID = 10;
Result = OPI_Bitrix24.GetDialog(URL, UserID, Token);
```

View File

@@ -26,14 +26,14 @@ Method at API documentation: [im.user.status.get](https://dev.1c-bitrix.ru/learn
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.GetUserStatus(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetUserStatus(URL, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.GetUserStatus(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetUserStatus(URL, Token);
```

View File

@@ -27,19 +27,19 @@ Method at API documentation: [im.user.list.get ](https://dev.1c-bitrix.ru/learni
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ArrayOfUsers = New Array;
ArrayOfUsers.Add(1);
ArrayOfUsers.Add(10);
Result = OPI_Bitrix24.GetUsers(URL, ArrayOfUsers);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
UserIDs = 10;
Result = OPI_Bitrix24.GetUsers(URL, UserIDs, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ArrayOfUsers = New Array;
ArrayOfUsers.Add(1);
ArrayOfUsers.Add(10);
Result = OPI_Bitrix24.GetUsers(URL, ArrayOfUsers);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
UserIDs = 10;
Result = OPI_Bitrix24.GetUsers(URL, UserIDs, Token);
```

View File

@@ -27,16 +27,16 @@ Method at API documentation: [im.chat.leave](https://dev.1c-bitrix.ru/learning/c
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Result = OPI_Bitrix24.LeaveChat(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
Result = OPI_Bitrix24.LeaveChat(URL, ChatID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
Result = OPI_Bitrix24.LeaveChat(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
Result = OPI_Bitrix24.LeaveChat(URL, ChatID, Token);
```

View File

@@ -26,14 +26,14 @@ Method at API documentation: [im.dialog.read.all](https://dev.1c-bitrix.ru/learn
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.ReadAll(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.ReadAll(URL, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.ReadAll(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.ReadAll(URL, Token);
```

View File

@@ -27,16 +27,16 @@ Method at API documentation: [im.dialog.writing](https://dev.1c-bitrix.ru/learni
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "chat" + "450";
Result = OPI_Bitrix24.SendWritingNotification(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
UserID = 10;
Result = OPI_Bitrix24.SendWritingNotification(URL, UserID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "chat" + "450";
Result = OPI_Bitrix24.SendWritingNotification(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
UserID = 10;
Result = OPI_Bitrix24.SendWritingNotification(URL, UserID, Token);
```

View File

@@ -27,16 +27,16 @@ Method at API documentation: [im.user.status.set](https://dev.1c-bitrix.ru/learn
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Status = "dnd";
Result = OPI_Bitrix24.SetUserStatus(URL, Status);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Status = "away";
Result = OPI_Bitrix24.SetUserStatus(URL, Status, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Status = "dnd";
Result = OPI_Bitrix24.SetUserStatus(URL, Status);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Status = "away";
Result = OPI_Bitrix24.SetUserStatus(URL, Status, Token);
```

View File

@@ -28,19 +28,19 @@ Method at API documentation: [task.commentitem.add](https://dev.1c-bitrix.ru/res
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1082";
Text = "Task impossible, let's split up";
Result = OPI_Bitrix24.AddTaskComment(URL, TaskID, Text);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Text = "Task uninpossible, don't split up";
Result = OPI_Bitrix24.AddTaskComment(URL, TaskID, Text, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1082";
Text = "Task impossible, let's split up";
Result = OPI_Bitrix24.AddTaskComment(URL, TaskID, Text);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Text = "Task uninpossible, don't split up";
Result = OPI_Bitrix24.AddTaskComment(URL, TaskID, Text, Token);
```

View File

@@ -27,16 +27,16 @@ Method at API documentation: [tasks.task.result.addFromComment](https://dev.1c-b
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
CommentID = "2932";
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
CommentID = "2936";
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
CommentID = "2932";
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
CommentID = "2936";
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID, Token);
```

View File

@@ -27,16 +27,16 @@ Method at API documentation: [tasks.task.result.deleteFromComment](https://dev.1
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
CommentID = "2932";
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
CommentID = "2936";
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
CommentID = "2932";
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
CommentID = "2936";
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID, Token);
```

View File

@@ -28,17 +28,17 @@ Method at API documentation: [task.commentitem.delete](https://dev.1c-bitrix.ru/
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1082";
CommentID = "2932";
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
CommentID = "2936";
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1082";
CommentID = "2932";
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
CommentID = "2936";
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID, Token);
```

View File

@@ -27,15 +27,15 @@ Method at API documentation: [tasks.task.result.list](https://dev.1c-bitrix.ru/r
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1082";
Result = OPI_Bitrix24.GetResultsList(URL, TaskID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetResultsList(URL, TaskID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1082";
Result = OPI_Bitrix24.GetResultsList(URL, TaskID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetResultsList(URL, TaskID, Token);
```

View File

@@ -28,17 +28,17 @@ Method at API documentation: [task.commentitem.get](https://dev.1c-bitrix.ru/res
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
CommentID = "2932";
TaskID = "1082";
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
CommentID = "2936";
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
CommentID = "2932";
TaskID = "1082";
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
CommentID = "2936";
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID, Token);
```

View File

@@ -27,15 +27,15 @@ Method at API documentation: [task.commentitem.getlist](https://dev.1c-bitrix.ru
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1082";
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1082";
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID, Token);
```

View File

@@ -29,21 +29,21 @@ Method at API documentation: [task.commentitem.update](https://dev.1c-bitrix.ru/
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1082";
CommentID = "2932";
Text = "The task has been changed, do not split up";
Result = OPI_Bitrix24.UpdateTaskComment(URL, TaskID, CommentID, Text);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
CommentID = "2936";
Text = "The task has been changed, let's split up";
Result = OPI_Bitrix24.UpdateTaskComment(URL, TaskID, CommentID, Text, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1082";
CommentID = "2932";
Text = "The task has been changed, do not split up";
Result = OPI_Bitrix24.UpdateTaskComment(URL, TaskID, CommentID, Text);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
CommentID = "2936";
Text = "The task has been changed, let's split up";
Result = OPI_Bitrix24.UpdateTaskComment(URL, TaskID, CommentID, Text, Token);
```

View File

@@ -31,23 +31,23 @@ Method at API documentation: [task.item.userfield.add](https://dev.1c-bitrix.ru/
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Type = "date";
Name = "BIRTHDAY_FIELD";
Result = OPI_Bitrix24.AddCustomTaskField(URL, Type, Name);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Type = "string";
Name = "TEXT_FIELD";
ExternalID = "BITRIX_TEXT_FIELD";
Title = "Text field";
Signature = New Structure("en,ru", "Some field", "Nekotoroe pole");
Result = OPI_Bitrix24.AddCustomTaskField(URL, Type, Name, ExternalID, Title, Signature, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Type = "date";
Name = "BIRTHDAY_FIELD";
Result = OPI_Bitrix24.AddCustomTaskField(URL, Type, Name);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Type = "string";
Name = "TEXT_FIELD";
ExternalID = "BITRIX_TEXT_FIELD";
Title = "Text field";
Signature = New Structure("en,ru", "Some field", "Nekotoroe pole");
Result = OPI_Bitrix24.AddCustomTaskField(URL, Type, Name, ExternalID, Title, Signature, Token);
```

View File

@@ -27,16 +27,16 @@ Method at API documentation: [task.item.userfield.delete](https://dev.1c-bitrix.
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FieldID = "255";
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
FieldID = "257";
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID, );
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FieldID = "255";
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
FieldID = "257";
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID, );
```

View File

@@ -27,16 +27,16 @@ Method at API documentation: [task.item.userfield.get](https://dev.1c-bitrix.ru/
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FieldID = "255";
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
FieldID = "257";
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID, );
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FieldID = "255";
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
FieldID = "257";
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID, );
```

View File

@@ -26,14 +26,14 @@ Method at API documentation: [task.item.userfield.getlist](https://dev.1c-bitrix
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
```

View File

@@ -30,21 +30,21 @@ Method at API documentation: [task.item.userfield.update](https://dev.1c-bitrix.
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FieldID = "255";
Title = "New title";
Result = OPI_Bitrix24.UpdateCustomTaskField(URL, FieldID, , Title);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
FieldID = "257";
ExternalID = "NEW_TEXT_FIELD";
Signature = New Structure("en,ru", "Updated field", "Izmenennoe pole");
Result = OPI_Bitrix24.UpdateCustomTaskField(URL, FieldID, ExternalID, , Signature, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FieldID = "255";
Title = "New title";
Result = OPI_Bitrix24.UpdateCustomTaskField(URL, FieldID, , Title);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
FieldID = "257";
ExternalID = "NEW_TEXT_FIELD";
Signature = New Structure("en,ru", "Updated field", "Izmenennoe pole");
Result = OPI_Bitrix24.UpdateCustomTaskField(URL, FieldID, ExternalID, , Signature, Token);
```

View File

@@ -29,21 +29,21 @@ Method at API documentation: [department.add](https://dev.1c-bitrix.ru/rest_help
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Name = "Main department";
ParentID = 1;
Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Name = "Subordinate department";
ParentID = "68";
HeadID = 1;
Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID, HeadID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Name = "Main department";
ParentID = 1;
Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Name = "Subordinate department";
ParentID = "68";
HeadID = 1;
Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID, HeadID, Token);
```

View File

@@ -27,16 +27,16 @@ Method at API documentation: [department.delete](https://dev.1c-bitrix.ru/rest_h
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
DepartmentID = "70";
Result = OPI_Bitrix24.DeleteDepartment(URL, DepartmentID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
DepartmentID = "68";
Result = OPI_Bitrix24.DeleteDepartment(URL, DepartmentID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
DepartmentID = "70";
Result = OPI_Bitrix24.DeleteDepartment(URL, DepartmentID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
DepartmentID = "68";
Result = OPI_Bitrix24.DeleteDepartment(URL, DepartmentID, Token);
```

View File

@@ -30,16 +30,16 @@ Method at API documentation: [department.get](https://dev.1c-bitrix.ru/rest_help
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
DepartmentID = "70";
Result = OPI_Bitrix24.GetDepartments(URL, DepartmentID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
HeadID = 1;
Result = OPI_Bitrix24.GetDepartments(URL, , , , HeadID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
DepartmentID = "70";
Result = OPI_Bitrix24.GetDepartments(URL, DepartmentID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
HeadID = 1;
Result = OPI_Bitrix24.GetDepartments(URL, , , , HeadID, Token);
```

View File

@@ -30,27 +30,27 @@ Method at API documentation: [department.update](https://dev.1c-bitrix.ru/rest_h
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
DepartmentID = "68";
ParentID = 7;
Result = OPI_Bitrix24.UpdateDepartment(URL, DepartmentID, , ParentID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
DepartmentID = "70";
Name = "New department";
ParentID = 1;
HeadID = 10;
Result = OPI_Bitrix24.UpdateDepartment(URL
, DepartmentID
, Name
, ParentID
, HeadID
, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
DepartmentID = "68";
ParentID = 7;
Result = OPI_Bitrix24.UpdateDepartment(URL, DepartmentID, , ParentID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
DepartmentID = "70";
Name = "New department";
ParentID = 1;
HeadID = 10;
Result = OPI_Bitrix24.UpdateDepartment(URL
, DepartmentID
, Name
, ParentID
, HeadID
, Token);
```

View File

@@ -28,17 +28,17 @@ Method at API documentation: [log.blogcomment.add](https://dev.1c-bitrix.ru/rest
```bsl title="Code example"
Text = "Comment for post";
PostID = "440";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text);
Text = "Another comment";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text, Token);
Text = "Comment for post";
PostID = "440";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text);
Text = "Another comment";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text, Token);
```

View File

@@ -28,16 +28,16 @@ Method at API documentation: [log.blogpost.share](https://dev.1c-bitrix.ru/rest_
```bsl title="Code example"
Visibility = "UA";
PostID = "440";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility, Token);
Visibility = "UA";
PostID = "440";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility, Token);
```

View File

@@ -31,23 +31,23 @@ Method at API documentation: [log.blogpost.add](https://dev.1c-bitrix.ru/rest_he
```bsl title="Code example"
Text = "Text of post";
Title = "Post title";
Image1 = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
Image2 = "https://openintegrations.dev/test_data/picture2.jpg"; // URL, Path or Binary Data
Files = New Map;
Files.Insert("1.png", Image1);
Files.Insert("2.png", Image2);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, True);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, , Token);
Text = "Text of post";
Title = "Post title";
Image1 = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
Image2 = "https://openintegrations.dev/test_data/picture2.jpg"; // URL, Path or Binary Data
Files = New Map;
Files.Insert("1.png", Image1);
Files.Insert("2.png", Image2);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, True);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, , Token);
```

View File

@@ -27,16 +27,16 @@ Method at API documentation: [log.blogpost.delete](https://dev.1c-bitrix.ru/rest
```bsl title="Code example"
PostID = "438";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.DeletePost(URL, PostID);
PostID = "440";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.DeletePost(URL, PostID, Token);
PostID = "438";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.DeletePost(URL, PostID);
PostID = "440";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.DeletePost(URL, PostID, Token);
```

View File

@@ -27,15 +27,15 @@ Method at API documentation: [log.blogpost.getusers.important](https://dev.1c-bi
```bsl title="Code example"
PostID = "438";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID, Token);
PostID = "438";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID, Token);
```

View File

@@ -28,15 +28,15 @@ Method at API documentation: [log.blogpost.get](https://dev.1c-bitrix.ru/rest_he
```bsl title="Code example"
PostID = "440";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.GetPosts(URL, PostID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetPosts(URL, PostID, , Token);
PostID = "440";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.GetPosts(URL, PostID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetPosts(URL, PostID, , Token);
```

View File

@@ -31,23 +31,23 @@ Method at API documentation: [log.blogpost.update](https://dev.1c-bitrix.ru/rest
```bsl title="Code example"
Text = "New post text";
Title = "New post title";
Image1 = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
PostID = "440";
Files = New Map;
Files.Insert("1.png", Image1);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.UpdatePost(URL, PostID, Text, , Files, Title);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
PostID = "438";
Result = OPI_Bitrix24.UpdatePost(URL, PostID, Text, , Files, Title, Token);
Text = "New post text";
Title = "New post title";
Image1 = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
PostID = "440";
Files = New Map;
Files.Insert("1.png", Image1);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.UpdatePost(URL, PostID, Text, , Files, Title);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
PostID = "438";
Result = OPI_Bitrix24.UpdatePost(URL, PostID, Text, , Files, Title, Token);
```

View File

@@ -27,16 +27,16 @@ Method at API documentation: [disk.file.delete](https://dev.1c-bitrix.ru/rest_he
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FileID = "5008";
Result = OPI_Bitrix24.DeleteFile(URL, FileID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
FileID = "5010";
Result = OPI_Bitrix24.DeleteFile(URL, FileID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FileID = "5008";
Result = OPI_Bitrix24.DeleteFile(URL, FileID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
FileID = "5010";
Result = OPI_Bitrix24.DeleteFile(URL, FileID, Token);
```

View File

@@ -27,15 +27,15 @@ Method at API documentation: [disk.file.getExternalLink](https://dev.1c-bitrix.r
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FileID = "5010";
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FileID = "5010";
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID, Token);
```

View File

@@ -27,15 +27,15 @@ Method at API documentation: [disk.file.get](https://dev.1c-bitrix.ru/rest_help/
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FileID = "5010";
Result = OPI_Bitrix24.GetFileInformation(URL, FileID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetFileInformation(URL, FileID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FileID = "5010";
Result = OPI_Bitrix24.GetFileInformation(URL, FileID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetFileInformation(URL, FileID, Token);
```

View File

@@ -28,21 +28,21 @@ Method at API documentation: [disk.file.copyto](https://dev.1c-bitrix.ru/rest_he
```bsl title="Code example"
FolderID = "5014";
FileID = "5010";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.MakeCopyFile(URL, FileID, FolderID);
FolderID = "5016";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.MakeCopyFile(URL, FileID, FolderID, Token);
Check_BitrixObject(Result);
FolderID = "5014";
FileID = "5010";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.MakeCopyFile(URL, FileID, FolderID);
FolderID = "5016";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.MakeCopyFile(URL, FileID, FolderID, Token);
Check_BitrixObject(Result);
```

View File

@@ -27,15 +27,15 @@ Method at API documentation: [disk.file.markdeleted](https://dev.1c-bitrix.ru/re
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FileID = "5010";
Result = OPI_Bitrix24.MarkFileAsDeleted(URL, FileID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.MarkFileAsDeleted(URL, FileID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FileID = "5010";
Result = OPI_Bitrix24.MarkFileAsDeleted(URL, FileID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.MarkFileAsDeleted(URL, FileID, Token);
```

View File

@@ -28,21 +28,21 @@ Method at API documentation: [disk.file.moveto](https://dev.1c-bitrix.ru/rest_he
```bsl title="Code example"
FolderID = "5018";
FileID = "5010";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.MoveFileToFolder(URL, FileID, FolderID);
FolderID = "5020";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.MoveFileToFolder(URL, FileID, FolderID, Token);
Check_BitrixObject(Result);
FolderID = "5018";
FileID = "5010";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.MoveFileToFolder(URL, FileID, FolderID);
FolderID = "5020";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.MoveFileToFolder(URL, FileID, FolderID, Token);
Check_BitrixObject(Result);
```

View File

@@ -28,19 +28,19 @@ Method at API documentation: [disk.file.rename](https://dev.1c-bitrix.ru/rest_he
```bsl title="Code example"
Name = "New file name.jpg";
Filename2 = "New file name 2.jpg";
FileID2 = "5008";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.RenameFile(URL, FileID2, Filename2);
FileID = "5010";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.RenameFile(URL, FileID, Name, Token);
Name = "New file name.jpg";
Filename2 = "New file name 2.jpg";
FileID2 = "5008";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.RenameFile(URL, FileID2, Filename2);
FileID = "5010";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.RenameFile(URL, FileID, Name, Token);
```

View File

@@ -27,15 +27,15 @@ Method at API documentation: [disk.file.restore](https://dev.1c-bitrix.ru/rest_h
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FileID = "5010";
Result = OPI_Bitrix24.RestoreFile(URL, FileID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.RestoreFile(URL, FileID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
FileID = "5010";
Result = OPI_Bitrix24.RestoreFile(URL, FileID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.RestoreFile(URL, FileID, Token);
```

View File

@@ -29,22 +29,22 @@ Method at API documentation: [disk.folder.uploadfile](https://dev.1c-bitrix.ru/r
```bsl title="Code example"
Filename2 = "Picture2.jpg";
Name = "Picture1.jpg";
Image2 = "https://openintegrations.dev/test_data/picture.jpg"; // Local path, URL or Binary Data
Image = "https://openintegrations.dev/test_data/picture2.jpg"; // Local path, URL or Binary Data
DestinationID = "5016";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.UploadFileToFolder(URL, Filename2, Image2, DestinationID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.UploadFileToFolder(URL, Name, Image, DestinationID, Token);
Filename2 = "Picture2.jpg";
Name = "Picture1.jpg";
Image2 = "https://openintegrations.dev/test_data/picture.jpg"; // Local path, URL or Binary Data
Image = "https://openintegrations.dev/test_data/picture2.jpg"; // Local path, URL or Binary Data
DestinationID = "5016";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.UploadFileToFolder(URL, Filename2, Image2, DestinationID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.UploadFileToFolder(URL, Name, Image, DestinationID, Token);
```

View File

@@ -30,22 +30,22 @@ Method at API documentation: [disk.storage.uploadfile](https://dev.1c-bitrix.ru/
```bsl title="Code example"
Filename2 = "Picture2.jpg";
Name = "Picture1.jpg";
Image2 = "https://openintegrations.dev/test_data/picture.jpg"; // Local path, URL or Binary Data
Image = "https://openintegrations.dev/test_data/picture2.jpg"; // Local path, URL or Binary Data
DestinationID = 3;
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.UploadFileToStorage(URL, Filename2, Image2, DestinationID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.UploadFileToStorage(URL, Name, Image, DestinationID, , Token);
Filename2 = "Picture2.jpg";
Name = "Picture1.jpg";
Image2 = "https://openintegrations.dev/test_data/picture.jpg"; // Local path, URL or Binary Data
Image = "https://openintegrations.dev/test_data/picture2.jpg"; // Local path, URL or Binary Data
DestinationID = 3;
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.UploadFileToStorage(URL, Filename2, Image2, DestinationID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.UploadFileToStorage(URL, Name, Image, DestinationID, , Token);
```

View File

@@ -31,22 +31,22 @@ Method at API documentation: [task.stages.add](https://dev.1c-bitrix.ru/rest_hel
```bsl title="Code example"
Name = "New stage";
Color = "0026FF";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, 6);
PrevStageID = Result["result"];
Name = "New stage 2";
Color = "0026FF";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, PrevStageID, , True, Token);
Name = "New stage";
Color = "0026FF";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, 6);
PrevStageID = Result["result"];
Name = "New stage 2";
Color = "0026FF";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, PrevStageID, , True, Token);
```

View File

@@ -28,18 +28,18 @@ Method at API documentation: [task.stages.delete](https://dev.1c-bitrix.ru/rest_
```bsl title="Code example"
StageID = "318";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID, True);
StageID = "320";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID, , Token);
StageID = "318";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID, True);
StageID = "320";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID, , Token);
```

View File

@@ -28,14 +28,14 @@ Method at API documentation: [task.stages.get](https://dev.1c-bitrix.ru/rest_hel
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.GetKanbanStages(URL, , True);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetKanbanStages(URL, , , Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.GetKanbanStages(URL, , True);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetKanbanStages(URL, , , Token);
```

View File

@@ -30,19 +30,19 @@ Method at API documentation: [task.stages.movetask](https://dev.1c-bitrix.ru/res
```bsl title="Code example"
TaskID = "1086";
StageID = "318";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.MoveTaskToKanbanStage(URL, TaskID, StageID);
StageID = "320";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.MoveTaskToKanbanStage(URL, TaskID, StageID, , , Token);
TaskID = "1086";
StageID = "318";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.MoveTaskToKanbanStage(URL, TaskID, StageID);
StageID = "320";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.MoveTaskToKanbanStage(URL, TaskID, StageID, , , Token);
```

View File

@@ -31,22 +31,22 @@ Method at API documentation: [task.stages.update](https://dev.1c-bitrix.ru/rest_
```bsl title="Code example"
Name = "New stage name";
Color = "000000";
StageID = "318";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.UpdateKanbansStage(URL, Name, StageID, Color);
Name = "New stage name 2";
Color = "000000";
StageID = "320";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.UpdateKanbansStage(URL, Name, StageID, Color, 6, True, Token);
Name = "New stage name";
Color = "000000";
StageID = "318";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.UpdateKanbansStage(URL, Name, StageID, Color);
Name = "New stage name 2";
Color = "000000";
StageID = "320";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.UpdateKanbansStage(URL, Name, StageID, Color, 6, True, Token);
```

View File

@@ -27,16 +27,16 @@ Method at API documentation: [im.message.delete](https://dev.1c-bitrix.ru/learni
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
MessageID = "8682";
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
MessageID = "8684";
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
MessageID = "8682";
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
MessageID = "8684";
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID, Token);
```

View File

@@ -29,25 +29,25 @@ Method at API documentation: [im.message.update](https://dev.1c-bitrix.ru/learni
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
MessageID = "8682";
Text = "New message text";
Result = OPI_Bitrix24.EditMessage(URL, MessageID, Text);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
MessageID = "8684";
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
Attachments = New Array;
Attachments.Add(OPI_Bitrix24.GetPictureBlock("Image1" , Image));
Attachments.Add(OPI_Bitrix24.GetFileBlock("File1.docx" , File));
Result = OPI_Bitrix24.EditMessage(URL, MessageID, Text, Attachments, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
MessageID = "8682";
Text = "New message text";
Result = OPI_Bitrix24.EditMessage(URL, MessageID, Text);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
MessageID = "8684";
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
Attachments = New Array;
Attachments.Add(OPI_Bitrix24.GetPictureBlock("Image1" , Image));
Attachments.Add(OPI_Bitrix24.GetFileBlock("File1.docx" , File));
Result = OPI_Bitrix24.EditMessage(URL, MessageID, Text, Attachments, Token);
```

View File

@@ -28,18 +28,18 @@ Method at API documentation: [im.dialog.read](https://dev.1c-bitrix.ru/learning/
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "chat" + "450";
MessageID = "8682";
Result = OPI_Bitrix24.MarkMessageAsReaded(URL, ChatID, MessageID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
UserID = 10;
MessageID = "8684";
Result = OPI_Bitrix24.MarkMessageAsReaded(URL, UserID, MessageID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "chat" + "450";
MessageID = "8682";
Result = OPI_Bitrix24.MarkMessageAsReaded(URL, ChatID, MessageID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
UserID = 10;
MessageID = "8684";
Result = OPI_Bitrix24.MarkMessageAsReaded(URL, UserID, MessageID, Token);
```

View File

@@ -28,18 +28,18 @@ Method at API documentation: [im.dialog.unread](https://dev.1c-bitrix.ru/learnin
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "chat" + "450";
MessageID = "8682";
Result = OPI_Bitrix24.MarkMessageAsUnreaded(URL, ChatID, MessageID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
UserID = 10;
MessageID = "8684";
Result = OPI_Bitrix24.MarkMessageAsUnreaded(URL, UserID, MessageID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "chat" + "450";
MessageID = "8682";
Result = OPI_Bitrix24.MarkMessageAsUnreaded(URL, ChatID, MessageID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
UserID = 10;
MessageID = "8684";
Result = OPI_Bitrix24.MarkMessageAsUnreaded(URL, UserID, MessageID, Token);
```

View File

@@ -29,30 +29,30 @@ Method at API documentation: [im.disk.file.commit](https://dev.1c-bitrix.ru/lear
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
File = "https://openintegrations.dev/test_data/document.docx"; // Binary Data, URL or path to file
Description = "Very important file";
Directory = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID);
FolderID = Directory["result"]["ID"];
UploadedFile = OPI_Bitrix24.UploadFileToFolder(URL, "Imortant doc.docx", File, FolderID);
FileID = UploadedFile["result"]["ID"];
Result = OPI_Bitrix24.SendFile(URL, ChatID, FileID, Description);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
Directory = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID, Token);
FolderID = Directory["result"]["ID"];
UploadedFile = OPI_Bitrix24.UploadFileToFolder(URL, "Imortant doc.docx", File, FolderID, Token);
FileID = UploadedFile["result"]["ID"];
Result = OPI_Bitrix24.SendFile(URL, ChatID, FileID, Description, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
File = "https://openintegrations.dev/test_data/document.docx"; // Binary Data, URL or path to file
Description = "Very important file";
Directory = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID);
FolderID = Directory["result"]["ID"];
UploadedFile = OPI_Bitrix24.UploadFileToFolder(URL, "Imortant doc.docx", File, FolderID);
FileID = UploadedFile["result"]["ID"];
Result = OPI_Bitrix24.SendFile(URL, ChatID, FileID, Description);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
Directory = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID, Token);
FolderID = Directory["result"]["ID"];
UploadedFile = OPI_Bitrix24.UploadFileToFolder(URL, "Imortant doc.docx", File, FolderID, Token);
FileID = UploadedFile["result"]["ID"];
Result = OPI_Bitrix24.SendFile(URL, ChatID, FileID, Description, Token);
```

View File

@@ -29,23 +29,23 @@ Method at API documentation: [im.message.add](https://dev.1c-bitrix.ru/learning/
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "chat" + "450";
Text = "Message text";
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
Attachments = New Array;
Attachments.Add(OPI_Bitrix24.GetPictureBlock("Image1" , Image));
Attachments.Add(OPI_Bitrix24.GetFileBlock("File1.docx" , File));
Result = OPI_Bitrix24.SendMessage(URL, ChatID, Text, Attachments);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
UserID = 10;
Result = OPI_Bitrix24.SendMessage(URL, UserID, Text, , Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "chat" + "450";
Text = "Message text";
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
Attachments = New Array;
Attachments.Add(OPI_Bitrix24.GetPictureBlock("Image1" , Image));
Attachments.Add(OPI_Bitrix24.GetFileBlock("File1.docx" , File));
Result = OPI_Bitrix24.SendMessage(URL, ChatID, Text, Attachments);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
UserID = 10;
Result = OPI_Bitrix24.SendMessage(URL, UserID, Text, , Token);
```

View File

@@ -27,16 +27,16 @@ Method at API documentation: [im.message.like](https://dev.1c-bitrix.ru/learning
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
MessageID = "8682";
Result = OPI_Bitrix24.SetMessageReaction(URL, MessageID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
MessageID = "8684";
Result = OPI_Bitrix24.SetMessageReaction(URL, MessageID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
MessageID = "8682";
Result = OPI_Bitrix24.SetMessageReaction(URL, MessageID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
MessageID = "8684";
Result = OPI_Bitrix24.SetMessageReaction(URL, MessageID, Token);
```

View File

@@ -30,25 +30,25 @@ Method at API documentation: [im.notify.personal.add](https://dev.1c-bitrix.ru/l
```bsl title="Code example"
UserID = 1;
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Text = "Message text";
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
Attachments = New Array;
Attachments.Add(OPI_Bitrix24.GetPictureBlock("Image1" , Image));
Attachments.Add(OPI_Bitrix24.GetFileBlock("File1.docx" , File));
Result = OPI_Bitrix24.CreatePersonalNotification(URL, UserID, Text, ,Attachments);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Tag = "New";
UserID = 10;
Result = OPI_Bitrix24.CreatePersonalNotification(URL, UserID, Text, Tag, , Token);
UserID = 1;
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Text = "Message text";
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
Attachments = New Array;
Attachments.Add(OPI_Bitrix24.GetPictureBlock("Image1" , Image));
Attachments.Add(OPI_Bitrix24.GetFileBlock("File1.docx" , File));
Result = OPI_Bitrix24.CreatePersonalNotification(URL, UserID, Text, ,Attachments);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Tag = "New";
UserID = 10;
Result = OPI_Bitrix24.CreatePersonalNotification(URL, UserID, Text, Tag, , Token);
```

View File

@@ -30,25 +30,25 @@ Method at API documentation: [im.notify.system.add](https://dev.1c-bitrix.ru/lea
```bsl title="Code example"
UserID = 1;
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Text = "Message text";
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
Attachments = New Array;
Attachments.Add(OPI_Bitrix24.GetPictureBlock("Image1" , Image));
Attachments.Add(OPI_Bitrix24.GetFileBlock("File1.docx" , File));
Result = OPI_Bitrix24.CreateSystemNotification(URL, UserID, Text, ,Attachments);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Tag = "New";
UserID = 10;
Result = OPI_Bitrix24.CreateSystemNotification(URL, UserID, Text, Tag, , Token);
UserID = 1;
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Text = "Message text";
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
Attachments = New Array;
Attachments.Add(OPI_Bitrix24.GetPictureBlock("Image1" , Image));
Attachments.Add(OPI_Bitrix24.GetFileBlock("File1.docx" , File));
Result = OPI_Bitrix24.CreateSystemNotification(URL, UserID, Text, ,Attachments);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Tag = "New";
UserID = 10;
Result = OPI_Bitrix24.CreateSystemNotification(URL, UserID, Text, Tag, , Token);
```

View File

@@ -27,16 +27,16 @@ Method at API documentation: [im.notify.delete](https://dev.1c-bitrix.ru/learnin
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
NotificationID = "8690";
Result = OPI_Bitrix24.DeleteNotification(URL, NotificationID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
NotificationID = "8692";
Result = OPI_Bitrix24.DeleteNotification(URL, NotificationID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
NotificationID = "8690";
Result = OPI_Bitrix24.DeleteNotification(URL, NotificationID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
NotificationID = "8692";
Result = OPI_Bitrix24.DeleteNotification(URL, NotificationID, Token);
```

View File

@@ -23,10 +23,10 @@ sidebar_position: 1
```bsl title="Code example"
Domain = "b24-ar17wx.bitrix24.by";
ClientID = "local.6667fc928a50a9.70414732";
Result = OPI_Bitrix24.GetAppAuthLink(Domain, ClientID);
Domain = "b24-ar17wx.bitrix24.by";
ClientID = "local.6667fc928a50a9.70414732";
Result = OPI_Bitrix24.GetAppAuthLink(Domain, ClientID);
```

View File

@@ -24,11 +24,11 @@ sidebar_position: 2
```bsl title="Code example"
ClientID = "local.6667fc928a50a9.70414732";
ClientSecret = "ZeKyeYIgy2NsHZqsIHY6GfG1V...";
Code = "2b096866006e9f06006b12e400000001000007fc1bc681f7ed7f13f2d449980628008c";
Result = OPI_Bitrix24.GetToken(ClientID, ClientSecret, Code);
ClientID = "local.6667fc928a50a9.70414732";
ClientSecret = "ZeKyeYIgy2NsHZqsIHY6GfG1V...";
Code = "2b096866006e9f06006b12e400000001000007fc1bc681f7ed7f13f2d449980628008c";
Result = OPI_Bitrix24.GetToken(ClientID, ClientSecret, Code);
```

View File

@@ -24,11 +24,11 @@ sidebar_position: 3
```bsl title="Code example"
ClientID = "local.6667fc928a50a9.70414732";
ClientSecret = "ZeKyeYIgy2NsHZqsIHY6GfG1V...";
Refresh = "eebed066006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.RefreshToken(ClientID, ClientSecret, Refresh);
ClientID = "local.6667fc928a50a9.70414732";
ClientSecret = "ZeKyeYIgy2NsHZqsIHY6GfG1V...";
Refresh = "eebed066006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.RefreshToken(ClientID, ClientSecret, Refresh);
```

View File

@@ -26,14 +26,14 @@ Method at API documentation: [server_time](https://dev.1c-bitrix.ru/rest_help/ge
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.ServerTime(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.ServerTime(URL, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.ServerTime(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.ServerTime(URL, Token);
```

View File

@@ -28,18 +28,18 @@ Method at API documentation: [disk.storage.addfolder](https://dev.1c-bitrix.ru/r
```bsl title="Code example"
StorageID = 3;
Name = "New catalog";
Filename2 = "New folder 2";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.CreateStorageFolder(URL, StorageID, Filename2);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.CreateStorageFolder(URL, StorageID, Name, Token);
StorageID = 3;
Name = "New catalog";
Filename2 = "New folder 2";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.CreateStorageFolder(URL, StorageID, Filename2);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.CreateStorageFolder(URL, StorageID, Name, Token);
```

View File

@@ -27,15 +27,15 @@ Method at API documentation: [disk.storage.getchildren](https://dev.1c-bitrix.ru
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
StorageID = 3;
Result = OPI_Bitrix24.GetStorageObjects(URL, StorageID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetStorageObjects(URL, StorageID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
StorageID = 3;
Result = OPI_Bitrix24.GetStorageObjects(URL, StorageID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetStorageObjects(URL, StorageID, Token);
```

View File

@@ -27,15 +27,15 @@ Method at API documentation: [disk.storage.get](https://dev.1c-bitrix.ru/rest_he
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
StorageID = 3;
Result = OPI_Bitrix24.GetStorage(URL, StorageID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetStorage(URL, StorageID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
StorageID = 3;
Result = OPI_Bitrix24.GetStorage(URL, StorageID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetStorage(URL, StorageID, Token);
```

View File

@@ -26,13 +26,13 @@ Method at API documentation: [disk.storage.getlist](https://dev.1c-bitrix.ru/res
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.GetStoragesList(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetStoragesList(URL, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.GetStoragesList(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetStoragesList(URL, Token);
```

View File

@@ -28,12 +28,12 @@ Method at API documentation: [disk.storage.rename](https://dev.1c-bitrix.ru/rest
```bsl title="Code example"
Name = "New storage name";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
StorageID = "18";
Result = OPI_Bitrix24.RenameStorage(URL, StorageID, Name, Token);
Name = "New storage name";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
StorageID = "18";
Result = OPI_Bitrix24.RenameStorage(URL, StorageID, Name, Token);
```

View File

@@ -29,18 +29,18 @@ Method at API documentation: [task.checklistitem.add](https://dev.1c-bitrix.ru/r
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
Text = "Checklist element";
Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, True);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
TaskID = "1080";
Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, , Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
Text = "Checklist element";
Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, True);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
TaskID = "1080";
Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, , Token);
```

View File

@@ -28,19 +28,19 @@ Method at API documentation: [task.checklistitem.complete](https://dev.1c-bitrix
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
ElementID = "396";
Result = OPI_Bitrix24.CompleteTasksChecklistElement(URL, TaskID, ElementID);
TaskID = "1080";
ElementID = "400";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.CompleteTasksChecklistElement(URL, TaskID, ElementID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
ElementID = "396";
Result = OPI_Bitrix24.CompleteTasksChecklistElement(URL, TaskID, ElementID);
TaskID = "1080";
ElementID = "400";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.CompleteTasksChecklistElement(URL, TaskID, ElementID, Token);
```

View File

@@ -28,19 +28,19 @@ Method at API documentation: [task.checklistitem.delete](https://dev.1c-bitrix.r
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
ElementID = "396";
Result = OPI_Bitrix24.DeleteTasksChecklistElement(URL, TaskID, ElementID);
TaskID = "1080";
ElementID = "400";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.DeleteTasksChecklistElement(URL, TaskID, ElementID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
ElementID = "396";
Result = OPI_Bitrix24.DeleteTasksChecklistElement(URL, TaskID, ElementID);
TaskID = "1080";
ElementID = "400";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.DeleteTasksChecklistElement(URL, TaskID, ElementID, Token);
```

View File

@@ -28,19 +28,19 @@ Method at API documentation: [task.checklistitem.get](https://dev.1c-bitrix.ru/r
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
ElementID = "396";
Result = OPI_Bitrix24.GetTasksChecklistElement(URL, TaskID, ElementID);
TaskID = "1080";
ElementID = "400";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetTasksChecklistElement(URL, TaskID, ElementID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
ElementID = "396";
Result = OPI_Bitrix24.GetTasksChecklistElement(URL, TaskID, ElementID);
TaskID = "1080";
ElementID = "400";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetTasksChecklistElement(URL, TaskID, ElementID, Token);
```

View File

@@ -27,16 +27,16 @@ Method at API documentation: [task.checklistitem.getlist](https://dev.1c-bitrix.
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
Result = OPI_Bitrix24.GetTasksChecklist(URL, TaskID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
TaskID = "1080";
Result = OPI_Bitrix24.GetTasksChecklist(URL, TaskID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
Result = OPI_Bitrix24.GetTasksChecklist(URL, TaskID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
TaskID = "1080";
Result = OPI_Bitrix24.GetTasksChecklist(URL, TaskID, Token);
```

View File

@@ -28,19 +28,19 @@ Method at API documentation: [task.checklistitem.renew](https://dev.1c-bitrix.ru
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
ElementID = "396";
Result = OPI_Bitrix24.RenewTasksChecklistElement(URL, TaskID, ElementID);
TaskID = "1080";
ElementID = "400";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.RenewTasksChecklistElement(URL, TaskID, ElementID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
ElementID = "396";
Result = OPI_Bitrix24.RenewTasksChecklistElement(URL, TaskID, ElementID);
TaskID = "1080";
ElementID = "400";
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.RenewTasksChecklistElement(URL, TaskID, ElementID, Token);
```

View File

@@ -29,20 +29,20 @@ Method at API documentation: [task.checklistitem.update](https://dev.1c-bitrix.r
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
ElementID = "396";
Text = "New elements text";
Result = OPI_Bitrix24.UpdateTasksChecklistElement(URL, TaskID, ElementID, Text);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
TaskID = "1080";
ElementID = "400";
Result = OPI_Bitrix24.UpdateTasksChecklistElement(URL, TaskID, ElementID, Text, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
ElementID = "396";
Text = "New elements text";
Result = OPI_Bitrix24.UpdateTasksChecklistElement(URL, TaskID, ElementID, Text);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
TaskID = "1080";
ElementID = "400";
Result = OPI_Bitrix24.UpdateTasksChecklistElement(URL, TaskID, ElementID, Text, Token);
```

View File

@@ -27,16 +27,16 @@ Method at API documentation: [tasks.task.favorite.add](https://dev.1c-bitrix.ru/
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
TaskID = "1080";
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
TaskID = "1080";
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID, Token);
```

View File

@@ -27,16 +27,16 @@ Method at API documentation: [tasks.task.approve](https://dev.1c-bitrix.ru/rest_
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
Result = OPI_Bitrix24.ApproveTask(URL, TaskID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
TaskID = "1080";
Result = OPI_Bitrix24.ApproveTask(URL, TaskID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
Result = OPI_Bitrix24.ApproveTask(URL, TaskID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
TaskID = "1080";
Result = OPI_Bitrix24.ApproveTask(URL, TaskID, Token);
```

View File

@@ -28,17 +28,17 @@ Method at API documentation: [tasks.task.files.attach](https://dev.1c-bitrix.ru/
```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
FileID = "5006";
Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
TaskID = "1080";
Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID, Token);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
FileID = "5006";
Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
TaskID = "1080";
Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID, Token);
```

Some files were not shown because too many files have changed in this diff Show More