mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-11-28 09:08:38 +02:00
Пересборка документации
This commit is contained in:
parent
04cc19c3c6
commit
4c9c190943
@ -28,16 +28,16 @@ Method at API documentation: [disk.folder.addsubfolder](https://dev.1c-bitrix.ru
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
FolderID = "5016";
|
||||
FolderID = "6048";
|
||||
Name = "New subfolder";
|
||||
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);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateSubfolder(URL, FolderID, Name, Token);
|
||||
```
|
||||
|
@ -27,14 +27,14 @@ 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/f2pp...";
|
||||
FolderID = "5014";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "6046";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
FolderID = "5016";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
FolderID = "6048";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID, Token);
|
||||
```
|
||||
|
@ -27,13 +27,13 @@ Method at API documentation: [disk.folder.getExternalLink](https://dev.1c-bitrix
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
|
||||
FolderID = "5016";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "6048";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID, Token);
|
||||
```
|
||||
|
@ -27,12 +27,12 @@ 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/f2pp...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderFilterStructure(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderFilterStructure(URL, True, Token);
|
||||
```
|
||||
|
@ -27,13 +27,13 @@ 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/f2pp...";
|
||||
FolderID = "5016";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "6048";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID, Token);
|
||||
```
|
||||
|
@ -28,13 +28,13 @@ Method at API documentation: [disk.folder.getchildren](https://dev.1c-bitrix.ru/
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
|
||||
FolderID = "5016";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "6048";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID, , Token);
|
||||
```
|
||||
|
@ -28,18 +28,18 @@ Method at API documentation: [disk.folder.copyto](https://dev.1c-bitrix.ru/rest_
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
DestinationID = "5018";
|
||||
FolderID = "5020";
|
||||
DestinationID = "6050";
|
||||
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);
|
||||
|
||||
DestinationID = "5020";
|
||||
FolderID = "5018";
|
||||
DestinationID = "6052";
|
||||
FolderID = "6050";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MakeFolderCopy(URL, FolderID, DestinationID, Token);
|
||||
|
||||
|
@ -27,13 +27,13 @@ Method at API documentation: [disk.folder.markdeleted](https://dev.1c-bitrix.ru/
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
|
||||
FolderID = "5016";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "6048";
|
||||
|
||||
Result = OPI_Bitrix24.MarkFolderAsDeleted(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MarkFolderAsDeleted(URL, FolderID, Token);
|
||||
```
|
||||
|
@ -28,17 +28,17 @@ Method at API documentation: [disk.folder.moveto](https://dev.1c-bitrix.ru/rest_
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
DestinationID = "5014";
|
||||
FolderID = "5020";
|
||||
DestinationID = "6046";
|
||||
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);
|
||||
|
||||
FolderID = "5018";
|
||||
FolderID = "6050";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MoveFolder(URL, FolderID, DestinationID, Token);
|
||||
|
||||
|
@ -31,14 +31,14 @@ Method at API documentation: [disk.folder.rename](https://dev.1c-bitrix.ru/rest_
|
||||
Name = "New catalog";
|
||||
Filename2 = "New folder 2";
|
||||
|
||||
FolderID2 = "5014";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
|
||||
FolderID2 = "6046";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.RenameFolder(URL, FolderID2, Filename2);
|
||||
|
||||
FolderID = "5016";
|
||||
FolderID = "6048";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.RenameFolder(URL, FolderID, Name, Token);
|
||||
```
|
||||
|
@ -27,13 +27,13 @@ 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/f2pp...";
|
||||
FolderID = "5016";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "6048";
|
||||
|
||||
Result = OPI_Bitrix24.RestoreFolder(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.RestoreFolder(URL, FolderID, Token);
|
||||
```
|
||||
|
@ -29,8 +29,8 @@ 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/f2pp...";
|
||||
ChatID = "450";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "522";
|
||||
|
||||
UserIDs = New Array;
|
||||
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);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
ChatID = "524";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserID, True, Token);
|
||||
|
@ -30,16 +30,16 @@ 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/f2pp...";
|
||||
ChatID = "450";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "522";
|
||||
|
||||
Color = "AZURE";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatColor(URL, ChatID, Color);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
ChatID = "524";
|
||||
|
||||
Color = "PURPLE";
|
||||
|
||||
|
@ -28,16 +28,16 @@ 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/f2pp...";
|
||||
ChatID = "450";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "522";
|
||||
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
ChatID = "524";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID, Token);
|
||||
```
|
||||
|
@ -28,16 +28,16 @@ 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/f2pp...";
|
||||
ChatID = "450";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "522";
|
||||
|
||||
Image = "https://openintegrations.dev/test_data/picture2.jpg";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
ChatID = "524";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image, Token);
|
||||
```
|
||||
|
@ -28,16 +28,16 @@ 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/f2pp...";
|
||||
ChatID = "450";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "522";
|
||||
|
||||
Title = "New chat title";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatTitle(URL, ChatID, Title);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
ChatID = "524";
|
||||
|
||||
Title = "Another title";
|
||||
|
||||
|
@ -46,12 +46,12 @@ Method at API documentation: [im.chat.add](https://dev.1c-bitrix.ru/learning/cou
|
||||
ChatStructure.Insert("AVATAR" , B64Image);
|
||||
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);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
ChatStructure = New Structure;
|
||||
ChatStructure.Insert("TYPE" , "CHAT");
|
||||
|
@ -28,16 +28,16 @@ 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/f2pp...";
|
||||
ChatID = "450";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "522";
|
||||
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
ChatID = "524";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID, Token);
|
||||
```
|
||||
|
@ -27,14 +27,14 @@ 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/f2pp...";
|
||||
ChatID = "450";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "522";
|
||||
|
||||
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
ChatID = "524";
|
||||
|
||||
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID, Token);
|
||||
```
|
||||
|
@ -27,14 +27,14 @@ 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/f2pp...";
|
||||
ChatID = "450";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "522";
|
||||
|
||||
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
ChatID = "524";
|
||||
|
||||
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID, Token);
|
||||
```
|
||||
|
@ -27,14 +27,14 @@ 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/f2pp...";
|
||||
ChatID = "450";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "522";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
ChatID = "524";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID, Token);
|
||||
```
|
||||
|
@ -27,13 +27,13 @@ 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/f2pp...";
|
||||
ChatID = "chat" + "450";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "chat" + "522";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMembersList(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMembersList(URL, UserID, Token);
|
||||
|
@ -29,13 +29,13 @@ 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/f2pp...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "chat4";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMessagesList(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMessagesList(URL, UserID, , 0, Token);
|
||||
|
@ -27,14 +27,14 @@ 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/f2pp...";
|
||||
ChatID = "450";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "522";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
ChatID = "524";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID, Token);
|
||||
```
|
||||
|
@ -27,13 +27,13 @@ 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/f2pp...";
|
||||
ChatID = "chat" + "450";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "chat" + "522";
|
||||
|
||||
Result = OPI_Bitrix24.GetDialog(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.GetDialog(URL, UserID, Token);
|
||||
|
@ -26,12 +26,12 @@ 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/f2pp...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetUserStatus(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetUserStatus(URL, Token);
|
||||
```
|
||||
|
@ -27,7 +27,7 @@ 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/f2pp...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ArrayOfUsers = New Array;
|
||||
|
||||
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);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
UserIDs = 10;
|
||||
|
||||
Result = OPI_Bitrix24.GetUsers(URL, UserIDs, Token);
|
||||
|
@ -27,14 +27,14 @@ 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/f2pp...";
|
||||
ChatID = "450";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "522";
|
||||
|
||||
Result = OPI_Bitrix24.LeaveChat(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
ChatID = "524";
|
||||
|
||||
Result = OPI_Bitrix24.LeaveChat(URL, ChatID, Token);
|
||||
```
|
||||
|
@ -26,12 +26,12 @@ 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/f2pp...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.ReadAll(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.ReadAll(URL, Token);
|
||||
```
|
||||
|
@ -27,13 +27,13 @@ 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/f2pp...";
|
||||
ChatID = "chat" + "450";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "chat" + "522";
|
||||
|
||||
Result = OPI_Bitrix24.SendWritingNotification(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.SendWritingNotification(URL, UserID, Token);
|
||||
|
@ -27,13 +27,13 @@ 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/f2pp...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
Status = "dnd";
|
||||
|
||||
Result = OPI_Bitrix24.SetUserStatus(URL, Status);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Status = "away";
|
||||
|
||||
Result = OPI_Bitrix24.SetUserStatus(URL, Status, Token);
|
||||
|
@ -28,15 +28,15 @@ 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/f2pp...";
|
||||
TaskID = "1082";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1258";
|
||||
|
||||
Text = "Task impossible, let's split up";
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskComment(URL, TaskID, Text);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Text = "Task uninpossible, don't split up";
|
||||
|
||||
|
@ -27,14 +27,14 @@ Method at API documentation: [tasks.task.result.addFromComment](https://dev.1c-b
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
|
||||
CommentID = "2932";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
CommentID = "3402";
|
||||
|
||||
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
CommentID = "2936";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
CommentID = "3404";
|
||||
|
||||
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID, Token);
|
||||
```
|
||||
|
@ -27,14 +27,14 @@ Method at API documentation: [tasks.task.result.deleteFromComment](https://dev.1
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
|
||||
CommentID = "2932";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
CommentID = "3402";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
CommentID = "2936";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
CommentID = "3404";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID, Token);
|
||||
```
|
||||
|
@ -28,15 +28,15 @@ Method at API documentation: [task.commentitem.delete](https://dev.1c-bitrix.ru/
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
|
||||
TaskID = "1082";
|
||||
CommentID = "2932";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1258";
|
||||
CommentID = "3402";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
CommentID = "2936";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
CommentID = "3404";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID, Token);
|
||||
```
|
||||
|
@ -27,13 +27,13 @@ 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/f2pp...";
|
||||
TaskID = "1082";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1258";
|
||||
|
||||
Result = OPI_Bitrix24.GetResultsList(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetResultsList(URL, TaskID, Token);
|
||||
```
|
||||
|
@ -28,15 +28,15 @@ 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/f2pp...";
|
||||
CommentID = "2932";
|
||||
TaskID = "1082";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
CommentID = "3402";
|
||||
TaskID = "1258";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
CommentID = "2936";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
CommentID = "3404";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID, Token);
|
||||
```
|
||||
|
@ -27,13 +27,13 @@ Method at API documentation: [task.commentitem.getlist](https://dev.1c-bitrix.ru
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
|
||||
TaskID = "1082";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1258";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID, Token);
|
||||
```
|
||||
|
@ -29,17 +29,17 @@ Method at API documentation: [task.commentitem.update](https://dev.1c-bitrix.ru/
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
|
||||
TaskID = "1082";
|
||||
CommentID = "2932";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1258";
|
||||
CommentID = "3402";
|
||||
|
||||
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";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
CommentID = "3404";
|
||||
|
||||
Text = "The task has been changed, let's split up";
|
||||
|
||||
|
@ -31,7 +31,7 @@ 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/f2pp...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Type = "date";
|
||||
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);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Type = "string";
|
||||
Name = "TEXT_FIELD";
|
||||
|
@ -27,13 +27,13 @@ Method at API documentation: [task.item.userfield.delete](https://dev.1c-bitrix.
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FieldID = "255";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
FieldID = "257";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID, );
|
||||
|
@ -27,13 +27,13 @@ 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/f2pp...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FieldID = "255";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
FieldID = "257";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID, );
|
||||
|
@ -26,12 +26,12 @@ Method at API documentation: [task.item.userfield.getlist](https://dev.1c-bitrix
|
||||
|
||||
|
||||
```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);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
|
||||
```
|
||||
|
@ -30,7 +30,7 @@ Method at API documentation: [task.item.userfield.update](https://dev.1c-bitrix.
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
FieldID = "255";
|
||||
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);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
FieldID = "257";
|
||||
ExternalID = "NEW_TEXT_FIELD";
|
||||
|
@ -29,7 +29,7 @@ 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/f2pp...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Name = "Main department";
|
||||
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);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Name = "Subordinate department";
|
||||
ParentID = "68";
|
||||
ParentID = "140";
|
||||
HeadID = 1;
|
||||
|
||||
Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID, HeadID, Token);
|
||||
|
@ -27,14 +27,14 @@ 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/f2pp...";
|
||||
DepartmentID = "70";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
DepartmentID = "142";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteDepartment(URL, DepartmentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
DepartmentID = "68";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
DepartmentID = "140";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteDepartment(URL, DepartmentID, Token);
|
||||
```
|
||||
|
@ -30,13 +30,13 @@ 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/f2pp...";
|
||||
DepartmentID = "70";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
DepartmentID = "142";
|
||||
|
||||
Result = OPI_Bitrix24.GetDepartments(URL, DepartmentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
HeadID = 1;
|
||||
|
||||
Result = OPI_Bitrix24.GetDepartments(URL, , , , HeadID, Token);
|
||||
|
@ -30,17 +30,17 @@ 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/f2pp...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
DepartmentID = "68";
|
||||
DepartmentID = "140";
|
||||
ParentID = 7;
|
||||
|
||||
Result = OPI_Bitrix24.UpdateDepartment(URL, DepartmentID, , ParentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
DepartmentID = "70";
|
||||
DepartmentID = "142";
|
||||
Name = "New department";
|
||||
ParentID = 1;
|
||||
HeadID = 10;
|
||||
|
@ -29,14 +29,14 @@ 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/f2pp...";
|
||||
PostID = "502";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text);
|
||||
|
||||
Text = "Another comment";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text, Token);
|
||||
```
|
||||
|
@ -29,13 +29,13 @@ 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/f2pp...";
|
||||
PostID = "502";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility, Token);
|
||||
```
|
||||
|
@ -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("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);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, , Token);
|
||||
```
|
||||
|
@ -27,14 +27,14 @@ 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/f2pp...";
|
||||
PostID = "500";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.DeletePost(URL, PostID);
|
||||
|
||||
PostID = "440";
|
||||
PostID = "502";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.DeletePost(URL, PostID, Token);
|
||||
```
|
||||
|
@ -27,13 +27,13 @@ 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/f2pp...";
|
||||
PostID = "500";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID, Token);
|
||||
```
|
||||
|
@ -28,13 +28,13 @@ 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/f2pp...";
|
||||
PostID = "502";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetPosts(URL, PostID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetPosts(URL, PostID, , Token);
|
||||
```
|
||||
|
@ -34,18 +34,18 @@ Method at API documentation: [log.blogpost.update](https://dev.1c-bitrix.ru/rest
|
||||
Text = "New post text";
|
||||
Title = "New post title";
|
||||
Image1 = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
PostID = "440";
|
||||
PostID = "502";
|
||||
|
||||
Files = New Map;
|
||||
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);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
PostID = "438";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
PostID = "500";
|
||||
|
||||
Result = OPI_Bitrix24.UpdatePost(URL, PostID, Text, , Files, Title, Token);
|
||||
```
|
||||
|
@ -27,14 +27,14 @@ 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/f2pp...";
|
||||
FileID = "5008";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FileID = "6040";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFile(URL, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
FileID = "5010";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
FileID = "6042";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFile(URL, FileID, Token);
|
||||
```
|
||||
|
@ -27,13 +27,13 @@ Method at API documentation: [disk.file.getExternalLink](https://dev.1c-bitrix.r
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
|
||||
FileID = "5010";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FileID = "6042";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID, Token);
|
||||
```
|
||||
|
@ -27,13 +27,13 @@ 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/f2pp...";
|
||||
FileID = "5010";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FileID = "6042";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileInformation(URL, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileInformation(URL, FileID, Token);
|
||||
```
|
||||
|
@ -28,17 +28,17 @@ Method at API documentation: [disk.file.copyto](https://dev.1c-bitrix.ru/rest_he
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
FolderID = "5014";
|
||||
FileID = "5010";
|
||||
FolderID = "6046";
|
||||
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);
|
||||
|
||||
FolderID = "5016";
|
||||
FolderID = "6048";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MakeCopyFile(URL, FileID, FolderID, Token);
|
||||
|
||||
|
@ -27,13 +27,13 @@ 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/f2pp...";
|
||||
FileID = "5010";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FileID = "6042";
|
||||
|
||||
Result = OPI_Bitrix24.MarkFileAsDeleted(URL, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MarkFileAsDeleted(URL, FileID, Token);
|
||||
```
|
||||
|
@ -28,17 +28,17 @@ Method at API documentation: [disk.file.moveto](https://dev.1c-bitrix.ru/rest_he
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
FolderID = "5018";
|
||||
FileID = "5010";
|
||||
FolderID = "6050";
|
||||
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);
|
||||
|
||||
FolderID = "5020";
|
||||
FolderID = "6052";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MoveFileToFolder(URL, FileID, FolderID, Token);
|
||||
|
||||
|
@ -31,14 +31,14 @@ Method at API documentation: [disk.file.rename](https://dev.1c-bitrix.ru/rest_he
|
||||
Name = "New file name.jpg";
|
||||
Filename2 = "New file name 2.jpg";
|
||||
|
||||
FileID2 = "5008";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
|
||||
FileID2 = "6040";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.RenameFile(URL, FileID2, Filename2);
|
||||
|
||||
FileID = "5010";
|
||||
FileID = "6042";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.RenameFile(URL, FileID, Name, Token);
|
||||
```
|
||||
|
@ -27,13 +27,13 @@ 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/f2pp...";
|
||||
FileID = "5010";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FileID = "6042";
|
||||
|
||||
Result = OPI_Bitrix24.RestoreFile(URL, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.RestoreFile(URL, FileID, Token);
|
||||
```
|
||||
|
@ -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
|
||||
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);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.UploadFileToFolder(URL, Name, Image, DestinationID, Token);
|
||||
```
|
||||
|
@ -38,12 +38,12 @@ Method at API documentation: [disk.storage.uploadfile](https://dev.1c-bitrix.ru/
|
||||
|
||||
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);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.UploadFileToStorage(URL, Name, Image, DestinationID, , Token);
|
||||
```
|
||||
|
@ -34,7 +34,7 @@ Method at API documentation: [task.stages.add](https://dev.1c-bitrix.ru/rest_hel
|
||||
Name = "New stage";
|
||||
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);
|
||||
|
||||
@ -44,7 +44,7 @@ Method at API documentation: [task.stages.add](https://dev.1c-bitrix.ru/rest_hel
|
||||
Color = "0026FF";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, PrevStageID, , True, Token);
|
||||
```
|
||||
|
@ -28,16 +28,16 @@ Method at API documentation: [task.stages.delete](https://dev.1c-bitrix.ru/rest_
|
||||
|
||||
|
||||
```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);
|
||||
|
||||
StageID = "320";
|
||||
StageID = "392";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID, , Token);
|
||||
```
|
||||
|
@ -28,12 +28,12 @@ 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/f2pp...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetKanbanStages(URL, , True);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetKanbanStages(URL, , , Token);
|
||||
```
|
||||
|
@ -30,17 +30,17 @@ Method at API documentation: [task.stages.movetask](https://dev.1c-bitrix.ru/res
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
TaskID = "1086";
|
||||
StageID = "318";
|
||||
TaskID = "1260";
|
||||
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);
|
||||
|
||||
StageID = "320";
|
||||
StageID = "392";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MoveTaskToKanbanStage(URL, TaskID, StageID, , , Token);
|
||||
```
|
||||
|
@ -33,18 +33,18 @@ 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";
|
||||
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);
|
||||
|
||||
Name = "New stage name 2";
|
||||
Color = "000000";
|
||||
StageID = "320";
|
||||
StageID = "392";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.UpdateKanbansStage(URL, Name, StageID, Color, 6, True, Token);
|
||||
```
|
||||
|
@ -27,14 +27,14 @@ 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/f2pp...";
|
||||
MessageID = "8682";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
MessageID = "9776";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
MessageID = "8684";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
MessageID = "9778";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID, Token);
|
||||
```
|
||||
|
@ -29,16 +29,16 @@ 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/f2pp...";
|
||||
MessageID = "8682";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
MessageID = "9776";
|
||||
|
||||
Text = "New message text";
|
||||
|
||||
Result = OPI_Bitrix24.EditMessage(URL, MessageID, Text);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
MessageID = "8684";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
MessageID = "9778";
|
||||
|
||||
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";
|
||||
|
@ -28,16 +28,16 @@ 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/f2pp...";
|
||||
ChatID = "chat" + "450";
|
||||
MessageID = "8682";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "chat" + "522";
|
||||
MessageID = "9776";
|
||||
|
||||
Result = OPI_Bitrix24.MarkMessageAsReaded(URL, ChatID, MessageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
MessageID = "8684";
|
||||
MessageID = "9778";
|
||||
|
||||
Result = OPI_Bitrix24.MarkMessageAsReaded(URL, UserID, MessageID, Token);
|
||||
```
|
||||
|
@ -28,16 +28,16 @@ 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/f2pp...";
|
||||
ChatID = "chat" + "450";
|
||||
MessageID = "8682";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "chat" + "522";
|
||||
MessageID = "9776";
|
||||
|
||||
Result = OPI_Bitrix24.MarkMessageAsUnreaded(URL, ChatID, MessageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
MessageID = "8684";
|
||||
MessageID = "9778";
|
||||
|
||||
Result = OPI_Bitrix24.MarkMessageAsUnreaded(URL, UserID, MessageID, Token);
|
||||
```
|
||||
|
@ -29,8 +29,8 @@ 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/f2pp...";
|
||||
ChatID = "450";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "522";
|
||||
File = "https://openintegrations.dev/test_data/document.docx"; // Binary Data, URL or path to 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);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
ChatID = "524";
|
||||
|
||||
Directory = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID, Token);
|
||||
FolderID = Directory["result"]["ID"];
|
||||
|
@ -29,8 +29,8 @@ 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/f2pp...";
|
||||
ChatID = "chat" + "450";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "chat" + "522";
|
||||
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";
|
||||
@ -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);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.SendMessage(URL, UserID, Text, , Token);
|
||||
|
@ -27,14 +27,14 @@ 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/f2pp...";
|
||||
MessageID = "8682";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
MessageID = "9776";
|
||||
|
||||
Result = OPI_Bitrix24.SetMessageReaction(URL, MessageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
MessageID = "8684";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
MessageID = "9778";
|
||||
|
||||
Result = OPI_Bitrix24.SetMessageReaction(URL, MessageID, Token);
|
||||
```
|
||||
|
@ -32,7 +32,7 @@ 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/f2pp...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
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";
|
||||
@ -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);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Tag = "New";
|
||||
UserID = 10;
|
||||
|
||||
|
@ -32,7 +32,7 @@ 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/f2pp...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
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";
|
||||
@ -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);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Tag = "New";
|
||||
UserID = 10;
|
||||
|
||||
|
@ -27,14 +27,14 @@ 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/f2pp...";
|
||||
NotificationID = "8690";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
NotificationID = "9784";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteNotification(URL, NotificationID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
NotificationID = "8692";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
NotificationID = "9786";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteNotification(URL, NotificationID, Token);
|
||||
```
|
||||
|
@ -26,7 +26,7 @@ sidebar_position: 3
|
||||
```bsl title="Code example"
|
||||
ClientID = "local.6667fc928a50a9.70414732";
|
||||
ClientSecret = "ZeKyeYIgy2NsHZqsIHY6GfG1V...";
|
||||
Refresh = "eebed066006e9f06006b12e400000001000...";
|
||||
Refresh = "6ae2e366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.RefreshToken(ClientID, ClientSecret, Refresh);
|
||||
```
|
||||
|
@ -26,12 +26,12 @@ 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/f2pp...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.ServerTime(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.ServerTime(URL, Token);
|
||||
```
|
||||
|
@ -32,12 +32,12 @@ Method at API documentation: [disk.storage.addfolder](https://dev.1c-bitrix.ru/r
|
||||
Name = "New catalog";
|
||||
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);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateStorageFolder(URL, StorageID, Name, Token);
|
||||
```
|
||||
|
@ -27,13 +27,13 @@ Method at API documentation: [disk.storage.getchildren](https://dev.1c-bitrix.ru
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
StorageID = 3;
|
||||
|
||||
Result = OPI_Bitrix24.GetStorageObjects(URL, StorageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetStorageObjects(URL, StorageID, Token);
|
||||
```
|
||||
|
@ -27,13 +27,13 @@ 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/f2pp...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
StorageID = 3;
|
||||
|
||||
Result = OPI_Bitrix24.GetStorage(URL, StorageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetStorage(URL, StorageID, Token);
|
||||
```
|
||||
|
@ -26,11 +26,11 @@ 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/f2pp...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
Result = OPI_Bitrix24.GetStoragesList(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetStoragesList(URL, Token);
|
||||
```
|
||||
|
@ -30,7 +30,7 @@ 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...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
StorageID = "18";
|
||||
|
||||
Result = OPI_Bitrix24.RenameStorage(URL, StorageID, Name, Token);
|
||||
|
@ -29,16 +29,16 @@ 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/f2pp...";
|
||||
TaskID = "1078";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1254";
|
||||
|
||||
Text = "Checklist element";
|
||||
|
||||
Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, True);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
TaskID = "1080";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
TaskID = "1256";
|
||||
|
||||
Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, , Token);
|
||||
```
|
||||
|
@ -28,17 +28,17 @@ Method at API documentation: [task.checklistitem.complete](https://dev.1c-bitrix
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
|
||||
TaskID = "1078";
|
||||
ElementID = "396";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1254";
|
||||
ElementID = "540";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTasksChecklistElement(URL, TaskID, ElementID);
|
||||
|
||||
TaskID = "1080";
|
||||
ElementID = "400";
|
||||
TaskID = "1256";
|
||||
ElementID = "544";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTasksChecklistElement(URL, TaskID, ElementID, Token);
|
||||
```
|
||||
|
@ -28,17 +28,17 @@ Method at API documentation: [task.checklistitem.delete](https://dev.1c-bitrix.r
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
|
||||
TaskID = "1078";
|
||||
ElementID = "396";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1254";
|
||||
ElementID = "540";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTasksChecklistElement(URL, TaskID, ElementID);
|
||||
|
||||
TaskID = "1080";
|
||||
ElementID = "400";
|
||||
TaskID = "1256";
|
||||
ElementID = "544";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTasksChecklistElement(URL, TaskID, ElementID, Token);
|
||||
```
|
||||
|
@ -28,17 +28,17 @@ 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/f2pp...";
|
||||
TaskID = "1078";
|
||||
ElementID = "396";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1254";
|
||||
ElementID = "540";
|
||||
|
||||
Result = OPI_Bitrix24.GetTasksChecklistElement(URL, TaskID, ElementID);
|
||||
|
||||
TaskID = "1080";
|
||||
ElementID = "400";
|
||||
TaskID = "1256";
|
||||
ElementID = "544";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetTasksChecklistElement(URL, TaskID, ElementID, Token);
|
||||
```
|
||||
|
@ -27,14 +27,14 @@ Method at API documentation: [task.checklistitem.getlist](https://dev.1c-bitrix.
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
|
||||
TaskID = "1078";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1254";
|
||||
|
||||
Result = OPI_Bitrix24.GetTasksChecklist(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
TaskID = "1080";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
TaskID = "1256";
|
||||
|
||||
Result = OPI_Bitrix24.GetTasksChecklist(URL, TaskID, Token);
|
||||
```
|
||||
|
@ -28,17 +28,17 @@ Method at API documentation: [task.checklistitem.renew](https://dev.1c-bitrix.ru
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
|
||||
TaskID = "1078";
|
||||
ElementID = "396";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1254";
|
||||
ElementID = "540";
|
||||
|
||||
Result = OPI_Bitrix24.RenewTasksChecklistElement(URL, TaskID, ElementID);
|
||||
|
||||
TaskID = "1080";
|
||||
ElementID = "400";
|
||||
TaskID = "1256";
|
||||
ElementID = "544";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.RenewTasksChecklistElement(URL, TaskID, ElementID, Token);
|
||||
```
|
||||
|
@ -29,18 +29,18 @@ Method at API documentation: [task.checklistitem.update](https://dev.1c-bitrix.r
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
|
||||
TaskID = "1078";
|
||||
ElementID = "396";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1254";
|
||||
ElementID = "540";
|
||||
|
||||
Text = "New elements text";
|
||||
|
||||
Result = OPI_Bitrix24.UpdateTasksChecklistElement(URL, TaskID, ElementID, Text);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
TaskID = "1080";
|
||||
ElementID = "400";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
TaskID = "1256";
|
||||
ElementID = "544";
|
||||
|
||||
Result = OPI_Bitrix24.UpdateTasksChecklistElement(URL, TaskID, ElementID, Text, Token);
|
||||
```
|
||||
|
@ -27,14 +27,14 @@ 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/f2pp...";
|
||||
TaskID = "1078";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1254";
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
TaskID = "1080";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
TaskID = "1256";
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID, Token);
|
||||
```
|
||||
|
@ -27,14 +27,14 @@ 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/f2pp...";
|
||||
TaskID = "1078";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1254";
|
||||
|
||||
Result = OPI_Bitrix24.ApproveTask(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
TaskID = "1080";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
TaskID = "1256";
|
||||
|
||||
Result = OPI_Bitrix24.ApproveTask(URL, TaskID, Token);
|
||||
```
|
||||
|
@ -28,15 +28,15 @@ 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/f2pp...";
|
||||
TaskID = "1078";
|
||||
FileID = "5006";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1254";
|
||||
FileID = "6038";
|
||||
|
||||
Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
TaskID = "1080";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
TaskID = "1256";
|
||||
|
||||
Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID, Token);
|
||||
```
|
||||
|
@ -32,14 +32,14 @@ Method at API documentation: [tasks.task.getaccess](https://dev.1c-bitrix.ru/res
|
||||
ArrayOfUsers.Add("1");
|
||||
ArrayOfUsers.Add("10");
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
|
||||
TaskID = "1078";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1254";
|
||||
|
||||
Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
TaskID = "1080";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
TaskID = "1256";
|
||||
|
||||
Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers, Token);
|
||||
```
|
||||
|
@ -27,14 +27,14 @@ Method at API documentation: [tasks.task.complete](https://dev.1c-bitrix.ru/rest
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
|
||||
TaskID = "1078";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1254";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTask(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
TaskID = "1080";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
TaskID = "1256";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTask(URL, TaskID, Token);
|
||||
```
|
||||
|
@ -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("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);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateTask(URL, TaskData, Token);
|
||||
```
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user