1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-11-24 08:52:18 +02:00

Пересборка документации

This commit is contained in:
Anton Titovets 2024-08-14 16:14:55 +03:00
parent 04cc19c3c6
commit 4c9c190943
428 changed files with 1265 additions and 1245 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -31,14 +31,14 @@ Method at API documentation: [disk.folder.rename](https://dev.1c-bitrix.ru/rest_
Name = "New catalog"; Name = "New catalog";
Filename2 = "New folder 2"; Filename2 = "New folder 2";
FolderID2 = "5014"; FolderID2 = "6046";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp..."; URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
Result = OPI_Bitrix24.RenameFolder(URL, FolderID2, Filename2); Result = OPI_Bitrix24.RenameFolder(URL, FolderID2, Filename2);
FolderID = "5016"; FolderID = "6048";
URL = "b24-ar17wx.bitrix24.by"; URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000..."; Token = "7a63bc66006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.RenameFolder(URL, FolderID, Name, Token); Result = OPI_Bitrix24.RenameFolder(URL, FolderID, Name, Token);
``` ```

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -46,12 +46,12 @@ Method at API documentation: [im.chat.add](https://dev.1c-bitrix.ru/learning/cou
ChatStructure.Insert("AVATAR" , B64Image); ChatStructure.Insert("AVATAR" , B64Image);
ChatStructure.Insert("OWNER_ID" , 1); ChatStructure.Insert("OWNER_ID" , 1);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp..."; URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
Result = OPI_Bitrix24.CreateChat(URL, ChatStructure); Result = OPI_Bitrix24.CreateChat(URL, ChatStructure);
URL = "b24-ar17wx.bitrix24.by"; URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000..."; Token = "7a63bc66006e9f06006b12e400000001000...";
ChatStructure = New Structure; ChatStructure = New Structure;
ChatStructure.Insert("TYPE" , "CHAT"); ChatStructure.Insert("TYPE" , "CHAT");

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -31,7 +31,7 @@ Method at API documentation: [task.item.userfield.add](https://dev.1c-bitrix.ru/
```bsl title="Code example" ```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp..."; URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
Type = "date"; Type = "date";
Name = "BIRTHDAY_FIELD"; Name = "BIRTHDAY_FIELD";
@ -39,7 +39,7 @@ Method at API documentation: [task.item.userfield.add](https://dev.1c-bitrix.ru/
Result = OPI_Bitrix24.AddCustomTaskField(URL, Type, Name); Result = OPI_Bitrix24.AddCustomTaskField(URL, Type, Name);
URL = "b24-ar17wx.bitrix24.by"; URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000..."; Token = "7a63bc66006e9f06006b12e400000001000...";
Type = "string"; Type = "string";
Name = "TEXT_FIELD"; Name = "TEXT_FIELD";

View File

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

View File

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

View File

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

View File

@ -30,7 +30,7 @@ Method at API documentation: [task.item.userfield.update](https://dev.1c-bitrix.
```bsl title="Code example" ```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp..."; URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
FieldID = "255"; FieldID = "255";
Title = "New title"; Title = "New title";
@ -38,7 +38,7 @@ Method at API documentation: [task.item.userfield.update](https://dev.1c-bitrix.
Result = OPI_Bitrix24.UpdateCustomTaskField(URL, FieldID, , Title); Result = OPI_Bitrix24.UpdateCustomTaskField(URL, FieldID, , Title);
URL = "b24-ar17wx.bitrix24.by"; URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000..."; Token = "7a63bc66006e9f06006b12e400000001000...";
FieldID = "257"; FieldID = "257";
ExternalID = "NEW_TEXT_FIELD"; ExternalID = "NEW_TEXT_FIELD";

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -40,12 +40,12 @@ Method at API documentation: [log.blogpost.add](https://dev.1c-bitrix.ru/rest_he
Files.Insert("1.png", Image1); Files.Insert("1.png", Image1);
Files.Insert("2.png", Image2); Files.Insert("2.png", Image2);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp..."; URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, True); Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, True);
URL = "b24-ar17wx.bitrix24.by"; URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000..."; Token = "7a63bc66006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, , Token); Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, , Token);
``` ```

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -31,14 +31,14 @@ Method at API documentation: [disk.file.rename](https://dev.1c-bitrix.ru/rest_he
Name = "New file name.jpg"; Name = "New file name.jpg";
Filename2 = "New file name 2.jpg"; Filename2 = "New file name 2.jpg";
FileID2 = "5008"; FileID2 = "6040";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp..."; URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
Result = OPI_Bitrix24.RenameFile(URL, FileID2, Filename2); Result = OPI_Bitrix24.RenameFile(URL, FileID2, Filename2);
FileID = "5010"; FileID = "6042";
URL = "b24-ar17wx.bitrix24.by"; URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000..."; Token = "7a63bc66006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.RenameFile(URL, FileID, Name, Token); Result = OPI_Bitrix24.RenameFile(URL, FileID, Name, Token);
``` ```

View File

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

View File

@ -35,14 +35,14 @@ Method at API documentation: [disk.folder.uploadfile](https://dev.1c-bitrix.ru/r
Image2 = "https://openintegrations.dev/test_data/picture.jpg"; // Local path, URL or Binary Data 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 Image = "https://openintegrations.dev/test_data/picture2.jpg"; // Local path, URL or Binary Data
DestinationID = "5016"; DestinationID = "6048";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp..."; URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
Result = OPI_Bitrix24.UploadFileToFolder(URL, Filename2, Image2, DestinationID); Result = OPI_Bitrix24.UploadFileToFolder(URL, Filename2, Image2, DestinationID);
URL = "b24-ar17wx.bitrix24.by"; URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000..."; Token = "7a63bc66006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.UploadFileToFolder(URL, Name, Image, DestinationID, Token); Result = OPI_Bitrix24.UploadFileToFolder(URL, Name, Image, DestinationID, Token);
``` ```

View File

@ -38,12 +38,12 @@ Method at API documentation: [disk.storage.uploadfile](https://dev.1c-bitrix.ru/
DestinationID = 3; DestinationID = 3;
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp..."; URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
Result = OPI_Bitrix24.UploadFileToStorage(URL, Filename2, Image2, DestinationID); Result = OPI_Bitrix24.UploadFileToStorage(URL, Filename2, Image2, DestinationID);
URL = "b24-ar17wx.bitrix24.by"; URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000..."; Token = "7a63bc66006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.UploadFileToStorage(URL, Name, Image, DestinationID, , Token); Result = OPI_Bitrix24.UploadFileToStorage(URL, Name, Image, DestinationID, , Token);
``` ```

View File

@ -34,7 +34,7 @@ Method at API documentation: [task.stages.add](https://dev.1c-bitrix.ru/rest_hel
Name = "New stage"; Name = "New stage";
Color = "0026FF"; Color = "0026FF";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp..."; URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, 6); Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, 6);
@ -44,7 +44,7 @@ Method at API documentation: [task.stages.add](https://dev.1c-bitrix.ru/rest_hel
Color = "0026FF"; Color = "0026FF";
URL = "b24-ar17wx.bitrix24.by"; URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000..."; Token = "7a63bc66006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, PrevStageID, , True, Token); Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, PrevStageID, , True, Token);
``` ```

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -29,16 +29,16 @@ Method at API documentation: [im.message.update](https://dev.1c-bitrix.ru/learni
```bsl title="Code example" ```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp..."; URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
MessageID = "8682"; MessageID = "9776";
Text = "New message text"; Text = "New message text";
Result = OPI_Bitrix24.EditMessage(URL, MessageID, Text); Result = OPI_Bitrix24.EditMessage(URL, MessageID, Text);
URL = "b24-ar17wx.bitrix24.by"; URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000..."; Token = "7a63bc66006e9f06006b12e400000001000...";
MessageID = "8684"; MessageID = "9778";
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg"; 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"; File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";

View File

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

View File

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

View File

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

View File

@ -29,8 +29,8 @@ Method at API documentation: [im.message.add](https://dev.1c-bitrix.ru/learning/
```bsl title="Code example" ```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp..."; URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
ChatID = "chat" + "450"; ChatID = "chat" + "522";
Text = "Message text"; Text = "Message text";
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg"; 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"; File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
@ -42,7 +42,7 @@ Method at API documentation: [im.message.add](https://dev.1c-bitrix.ru/learning/
Result = OPI_Bitrix24.SendMessage(URL, ChatID, Text, Attachments); Result = OPI_Bitrix24.SendMessage(URL, ChatID, Text, Attachments);
URL = "b24-ar17wx.bitrix24.by"; URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000..."; Token = "7a63bc66006e9f06006b12e400000001000...";
UserID = 10; UserID = 10;
Result = OPI_Bitrix24.SendMessage(URL, UserID, Text, , Token); Result = OPI_Bitrix24.SendMessage(URL, UserID, Text, , Token);

View File

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

View File

@ -32,7 +32,7 @@ Method at API documentation: [im.notify.personal.add](https://dev.1c-bitrix.ru/l
```bsl title="Code example" ```bsl title="Code example"
UserID = 1; UserID = 1;
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp..."; URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
Text = "Message text"; Text = "Message text";
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg"; 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"; File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
@ -44,7 +44,7 @@ Method at API documentation: [im.notify.personal.add](https://dev.1c-bitrix.ru/l
Result = OPI_Bitrix24.CreatePersonalNotification(URL, UserID, Text, ,Attachments); Result = OPI_Bitrix24.CreatePersonalNotification(URL, UserID, Text, ,Attachments);
URL = "b24-ar17wx.bitrix24.by"; URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000..."; Token = "7a63bc66006e9f06006b12e400000001000...";
Tag = "New"; Tag = "New";
UserID = 10; UserID = 10;

View File

@ -32,7 +32,7 @@ Method at API documentation: [im.notify.system.add](https://dev.1c-bitrix.ru/lea
```bsl title="Code example" ```bsl title="Code example"
UserID = 1; UserID = 1;
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp..."; URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
Text = "Message text"; Text = "Message text";
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg"; 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"; File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
@ -44,7 +44,7 @@ Method at API documentation: [im.notify.system.add](https://dev.1c-bitrix.ru/lea
Result = OPI_Bitrix24.CreateSystemNotification(URL, UserID, Text, ,Attachments); Result = OPI_Bitrix24.CreateSystemNotification(URL, UserID, Text, ,Attachments);
URL = "b24-ar17wx.bitrix24.by"; URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000..."; Token = "7a63bc66006e9f06006b12e400000001000...";
Tag = "New"; Tag = "New";
UserID = 10; UserID = 10;

View File

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

View File

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

View File

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

View File

@ -32,12 +32,12 @@ Method at API documentation: [disk.storage.addfolder](https://dev.1c-bitrix.ru/r
Name = "New catalog"; Name = "New catalog";
Filename2 = "New folder 2"; Filename2 = "New folder 2";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp..."; URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
Result = OPI_Bitrix24.CreateStorageFolder(URL, StorageID, Filename2); Result = OPI_Bitrix24.CreateStorageFolder(URL, StorageID, Filename2);
URL = "b24-ar17wx.bitrix24.by"; URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000..."; Token = "7a63bc66006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.CreateStorageFolder(URL, StorageID, Name, Token); Result = OPI_Bitrix24.CreateStorageFolder(URL, StorageID, Name, Token);
``` ```

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -32,14 +32,14 @@ Method at API documentation: [tasks.task.getaccess](https://dev.1c-bitrix.ru/res
ArrayOfUsers.Add("1"); ArrayOfUsers.Add("1");
ArrayOfUsers.Add("10"); ArrayOfUsers.Add("10");
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp..."; URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
TaskID = "1078"; TaskID = "1254";
Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers); Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers);
URL = "b24-ar17wx.bitrix24.by"; URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000..."; Token = "7a63bc66006e9f06006b12e400000001000...";
TaskID = "1080"; TaskID = "1256";
Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers, Token); Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers, Token);
``` ```

View File

@ -27,14 +27,14 @@ Method at API documentation: [tasks.task.complete](https://dev.1c-bitrix.ru/rest
```bsl title="Code example" ```bsl title="Code example"
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp..."; URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
TaskID = "1078"; TaskID = "1254";
Result = OPI_Bitrix24.CompleteTask(URL, TaskID); Result = OPI_Bitrix24.CompleteTask(URL, TaskID);
URL = "b24-ar17wx.bitrix24.by"; URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000..."; Token = "7a63bc66006e9f06006b12e400000001000...";
TaskID = "1080"; TaskID = "1256";
Result = OPI_Bitrix24.CompleteTask(URL, TaskID, Token); Result = OPI_Bitrix24.CompleteTask(URL, TaskID, Token);
``` ```

View File

@ -41,12 +41,12 @@ Method at API documentation: [tasks.task.add](https://dev.1c-bitrix.ru/rest_help
TaskData.Insert("DEADLINE" , CurrentDate + Hour * Day); TaskData.Insert("DEADLINE" , CurrentDate + Hour * Day);
TaskData.Insert("RESPONSIBLE_ID", Responsible); TaskData.Insert("RESPONSIBLE_ID", Responsible);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp..."; URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
Result = OPI_Bitrix24.CreateTask(URL, TaskData); Result = OPI_Bitrix24.CreateTask(URL, TaskData);
URL = "b24-ar17wx.bitrix24.by"; URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000..."; Token = "7a63bc66006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.CreateTask(URL, TaskData, Token); Result = OPI_Bitrix24.CreateTask(URL, TaskData, Token);
``` ```

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