mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-25 02:42:28 +02:00
Правки доков
This commit is contained in:
parent
26fecfdd3b
commit
a6904d44e3
@ -28,16 +28,16 @@ Method at API documentation: [disk.folder.addsubfolder](https://dev.1c-bitrix.ru
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
FolderID = "3278";
|
||||
FolderID = "5016";
|
||||
Name = "New subfolder";
|
||||
Filename2 = "New subfolder 2";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.CreateSubfolder(URL, FolderID, Filename2);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
FolderID = "3276";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
FolderID = "5014";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
FolderID = "3278";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
FolderID = "5016";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
FolderID = "3278";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
FolderID = "5016";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderFilterStructure(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
FolderID = "3278";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
FolderID = "5016";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
FolderID = "3278";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
FolderID = "5016";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "3280";
|
||||
FolderID = "3282";
|
||||
DestinationID = "5018";
|
||||
FolderID = "5020";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.MakeFolderCopy(URL, FolderID, DestinationID);
|
||||
|
||||
DestinationID = "3282";
|
||||
FolderID = "3280";
|
||||
DestinationID = "5020";
|
||||
FolderID = "5018";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
FolderID = "3278";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
FolderID = "5016";
|
||||
|
||||
Result = OPI_Bitrix24.MarkFolderAsDeleted(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "3276";
|
||||
FolderID = "3282";
|
||||
DestinationID = "5014";
|
||||
FolderID = "5020";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.MoveFolder(URL, FolderID, DestinationID);
|
||||
|
||||
FolderID = "3280";
|
||||
FolderID = "5018";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "3276";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
FolderID2 = "5014";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.RenameFolder(URL, FolderID2, Filename2);
|
||||
|
||||
FolderID = "3278";
|
||||
FolderID = "5016";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
FolderID = "3278";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
FolderID = "5016";
|
||||
|
||||
Result = OPI_Bitrix24.RestoreFolder(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
ChatID = "450";
|
||||
|
||||
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 = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
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/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
ChatID = "450";
|
||||
|
||||
Color = "AZURE";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatColor(URL, ChatID, Color);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
ChatID = "450";
|
||||
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
ChatID = "450";
|
||||
|
||||
Image = "https://openintegrations.dev/test_data/picture2.jpg";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
ChatID = "450";
|
||||
|
||||
Title = "New chat title";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatTitle(URL, ChatID, Title);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.CreateChat(URL, ChatStructure);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
ChatID = "450";
|
||||
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
ChatID = "450";
|
||||
|
||||
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
ChatID = "450";
|
||||
|
||||
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
ChatID = "450";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
ChatID = "chat" + "264";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
ChatID = "chat" + "450";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMembersList(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
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/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
ChatID = "chat4";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMessagesList(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
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/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
ChatID = "450";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
ChatID = "chat" + "264";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
ChatID = "chat" + "450";
|
||||
|
||||
Result = OPI_Bitrix24.GetDialog(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
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/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.GetUserStatus(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
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 = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
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/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
ChatID = "450";
|
||||
|
||||
Result = OPI_Bitrix24.LeaveChat(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.ReadAll(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
ChatID = "chat" + "264";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
ChatID = "chat" + "450";
|
||||
|
||||
Result = OPI_Bitrix24.SendWritingNotification(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
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/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
Status = "dnd";
|
||||
|
||||
Result = OPI_Bitrix24.SetUserStatus(URL, Status);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
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/4swokunb3tk7h7dt/";
|
||||
TaskID = "724";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
TaskID = "1082";
|
||||
|
||||
Text = "Task impossible, let's split up";
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskComment(URL, TaskID, Text);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
CommentID = "2264";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
CommentID = "2932";
|
||||
|
||||
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
CommentID = "2266";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
CommentID = "2936";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
CommentID = "2264";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
CommentID = "2932";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
CommentID = "2266";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
CommentID = "2936";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
TaskID = "724";
|
||||
CommentID = "2264";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
TaskID = "1082";
|
||||
CommentID = "2932";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
CommentID = "2266";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
CommentID = "2936";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
TaskID = "724";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
TaskID = "1082";
|
||||
|
||||
Result = OPI_Bitrix24.GetResultsList(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
CommentID = "2264";
|
||||
TaskID = "724";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
CommentID = "2932";
|
||||
TaskID = "1082";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
CommentID = "2266";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
CommentID = "2936";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
TaskID = "724";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
TaskID = "1082";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
TaskID = "724";
|
||||
CommentID = "2264";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
TaskID = "1082";
|
||||
CommentID = "2932";
|
||||
|
||||
Text = "The task has been changed, do not split up";
|
||||
|
||||
Result = OPI_Bitrix24.UpdateTaskComment(URL, TaskID, CommentID, Text);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
CommentID = "2266";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
CommentID = "2936";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
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 = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Type = "string";
|
||||
Name = "TEXT_FIELD";
|
||||
|
@ -27,14 +27,14 @@ Method at API documentation: [task.item.userfield.delete](https://dev.1c-bitrix.
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
FieldID = "";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
FieldID = "255";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
FieldID = "";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
FieldID = "257";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID, );
|
||||
```
|
||||
|
@ -27,14 +27,14 @@ 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/4swokunb3tk7h7dt/";
|
||||
FieldID = "";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
FieldID = "255";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
FieldID = "";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
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/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
|
||||
```
|
||||
|
@ -30,17 +30,17 @@ Method at API documentation: [task.item.userfield.update](https://dev.1c-bitrix.
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
FieldID = "";
|
||||
FieldID = "255";
|
||||
Title = "New title";
|
||||
|
||||
Result = OPI_Bitrix24.UpdateCustomTaskField(URL, FieldID,, Title);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
FieldID = "";
|
||||
FieldID = "257";
|
||||
ExternalID = "NEW_TEXT_FIELD";
|
||||
Signature = New Structure("en,ru", "Updated field", "Izmenennoe pole");
|
||||
|
||||
|
@ -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/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
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 = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Name = "Subordinate department";
|
||||
ParentID = "";
|
||||
ParentID = "68";
|
||||
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/4swokunb3tk7h7dt/";
|
||||
DepartmentID = "";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
DepartmentID = "70";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteDepartment(URL, DepartmentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
DepartmentID = "";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
DepartmentID = "68";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
DepartmentID = "";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
DepartmentID = "70";
|
||||
|
||||
Result = OPI_Bitrix24.GetDepartments(URL, DepartmentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
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/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
DepartmentID = "";
|
||||
DepartmentID = "68";
|
||||
ParentID = 7;
|
||||
|
||||
Result = OPI_Bitrix24.UpdateDepartment(URL, DepartmentID,, ParentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
DepartmentID = "";
|
||||
DepartmentID = "70";
|
||||
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 = "320";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
PostID = "440";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text);
|
||||
|
||||
Text = "Another comment";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "320";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
PostID = "440";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.CreatePost(URL, Text,, Files, Title, True);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "318";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
PostID = "438";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.DeletePost(URL, PostID);
|
||||
|
||||
PostID = "320";
|
||||
PostID = "440";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "318";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
PostID = "438";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "320";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
PostID = "440";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.GetPosts(URL, PostID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "320";
|
||||
PostID = "440";
|
||||
|
||||
Files = New Map;
|
||||
Files.Insert("1.png", Image1);
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.UpdatePost(URL, PostID, Text,, Files, Title);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
PostID = "318";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
PostID = "438";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
FileID = "3270";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
FileID = "5008";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFile(URL, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
FileID = "3272";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
FileID = "5010";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
FileID = "3272";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
FileID = "5010";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
FileID = "3272";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
FileID = "5010";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileInformation(URL, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "3276";
|
||||
FileID = "3272";
|
||||
FolderID = "5014";
|
||||
FileID = "5010";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.MakeFileCopy(URL, FileID, FolderID);
|
||||
|
||||
FolderID = "3278";
|
||||
FolderID = "5016";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MakeFileCopy(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/4swokunb3tk7h7dt/";
|
||||
FileID = "3272";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
FileID = "5010";
|
||||
|
||||
Result = OPI_Bitrix24.MarkFileAsDeleted(URL, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "3280";
|
||||
FileID = "3272";
|
||||
FolderID = "5018";
|
||||
FileID = "5010";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.MoveFileToFolder(URL, FileID, FolderID);
|
||||
|
||||
FolderID = "3282";
|
||||
FolderID = "5020";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "3270";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
FileID2 = "5008";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.RenameFile(URL, FileID2, Filename2);
|
||||
|
||||
FileID = "3272";
|
||||
FileID = "5010";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
FileID = "3272";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
FileID = "5010";
|
||||
|
||||
Result = OPI_Bitrix24.RestoreFile(URL, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "3278";
|
||||
DestinationID = "5016";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.UploadFileToFolder(URL, Filename2, Image2, DestinationID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.UploadFileToStorage(URL, Filename2, Image2, DestinationID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
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 = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "196";
|
||||
StageID = "318";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID, True);
|
||||
|
||||
StageID = "198";
|
||||
StageID = "320";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.GetKanbanStages(URL,, True);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "726";
|
||||
StageID = "196";
|
||||
TaskID = "1086";
|
||||
StageID = "318";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.MoveTaskToKanbanStage(URL, TaskID, StageID);
|
||||
|
||||
StageID = "198";
|
||||
StageID = "320";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "196";
|
||||
StageID = "318";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.UpdateKanbansStage(URL, Name, StageID, Color);
|
||||
|
||||
Name = "New stage name 2";
|
||||
Color = "000000";
|
||||
StageID = "198";
|
||||
StageID = "320";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
MessageID = "5506";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
MessageID = "8682";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
MessageID = "5508";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
MessageID = "8684";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
MessageID = "5506";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
MessageID = "8682";
|
||||
|
||||
Text = "New message text";
|
||||
|
||||
Result = OPI_Bitrix24.EditMessage(URL, MessageID, Text);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
MessageID = "5508";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
MessageID = "8684";
|
||||
|
||||
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";
|
||||
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
|
||||
|
@ -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/4swokunb3tk7h7dt/";
|
||||
ChatID = "chat" + "264";
|
||||
MessageID = "5506";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
ChatID = "chat" + "450";
|
||||
MessageID = "8682";
|
||||
|
||||
Result = OPI_Bitrix24.MarkMessageAsReaded(URL, ChatID, MessageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
MessageID = "5508";
|
||||
MessageID = "8684";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
ChatID = "chat" + "264";
|
||||
MessageID = "5506";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
ChatID = "chat" + "450";
|
||||
MessageID = "8682";
|
||||
|
||||
Result = OPI_Bitrix24.MarkMessageAsUnreaded(URL, ChatID, MessageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
MessageID = "5508";
|
||||
MessageID = "8684";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
ChatID = "450";
|
||||
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 = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
ChatID = "chat" + "264";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
ChatID = "chat" + "450";
|
||||
Text = "Message text";
|
||||
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";
|
||||
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
|
||||
@ -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 = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
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/4swokunb3tk7h7dt/";
|
||||
MessageID = "5506";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
MessageID = "8682";
|
||||
|
||||
Result = OPI_Bitrix24.SetMessageReaction(URL, MessageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
MessageID = "5508";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
MessageID = "8684";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
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 = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
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/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
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 = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
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/4swokunb3tk7h7dt/";
|
||||
NotificationID = "";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
NotificationID = "8690";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteNotification(URL, NotificationID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
NotificationID = "";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
NotificationID = "8692";
|
||||
|
||||
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 = "9d77bb66006e9f06006b12e400000001000...";
|
||||
Refresh = "eebed066006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.ServerTime(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
|
||||
Result = OPI_Bitrix24.CreateStorageFolder(URL, StorageID, Filename2);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateStorageFolder(URL, StorageID, Name, Token);
|
||||
```
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [disk.storage.getforapp](https://dev.1c-bitrix.ru/r
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetAppSotrage(URL, 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/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
StorageID = 3;
|
||||
|
||||
Result = OPI_Bitrix24.GetStorageObjects(URL, StorageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
StorageID = 3;
|
||||
|
||||
Result = OPI_Bitrix24.GetStorage(URL, StorageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
Result = OPI_Bitrix24.GetStoragesList(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
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/4swokunb3tk7h7dt/";
|
||||
TaskID = "720";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
TaskID = "1078";
|
||||
|
||||
Text = "Checklist element";
|
||||
|
||||
Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, True);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
TaskID = "1080";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
TaskID = "720";
|
||||
ElementID = "164";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
TaskID = "1078";
|
||||
ElementID = "396";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTasksChecklistElement(URL, TaskID, ElementID);
|
||||
|
||||
TaskID = "722";
|
||||
ElementID = "168";
|
||||
TaskID = "1080";
|
||||
ElementID = "400";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
TaskID = "720";
|
||||
ElementID = "164";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
TaskID = "1078";
|
||||
ElementID = "396";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTasksChecklistElement(URL, TaskID, ElementID);
|
||||
|
||||
TaskID = "722";
|
||||
ElementID = "168";
|
||||
TaskID = "1080";
|
||||
ElementID = "400";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
TaskID = "720";
|
||||
ElementID = "164";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
TaskID = "1078";
|
||||
ElementID = "396";
|
||||
|
||||
Result = OPI_Bitrix24.GetTasksChecklistElement(URL, TaskID, ElementID);
|
||||
|
||||
TaskID = "722";
|
||||
ElementID = "168";
|
||||
TaskID = "1080";
|
||||
ElementID = "400";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
TaskID = "720";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
TaskID = "1078";
|
||||
|
||||
Result = OPI_Bitrix24.GetTasksChecklist(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
TaskID = "1080";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
TaskID = "720";
|
||||
ElementID = "164";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
TaskID = "1078";
|
||||
ElementID = "396";
|
||||
|
||||
Result = OPI_Bitrix24.RenewTasksChecklistElement(URL, TaskID, ElementID);
|
||||
|
||||
TaskID = "722";
|
||||
ElementID = "168";
|
||||
TaskID = "1080";
|
||||
ElementID = "400";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
TaskID = "720";
|
||||
ElementID = "164";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
TaskID = "1078";
|
||||
ElementID = "396";
|
||||
|
||||
Text = "New elements text";
|
||||
|
||||
Result = OPI_Bitrix24.UpdateTasksChecklistElement(URL, TaskID, ElementID, Text);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
ElementID = "168";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
TaskID = "1080";
|
||||
ElementID = "400";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
TaskID = "720";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
TaskID = "1078";
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
TaskID = "1080";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
TaskID = "720";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
TaskID = "1078";
|
||||
|
||||
Result = OPI_Bitrix24.ApproveTask(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
TaskID = "1080";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
TaskID = "720";
|
||||
FileID = "3268";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
TaskID = "1078";
|
||||
FileID = "5006";
|
||||
|
||||
Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
TaskID = "1080";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
TaskID = "720";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
TaskID = "1078";
|
||||
|
||||
Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
TaskID = "1080";
|
||||
|
||||
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/4swokunb3tk7h7dt/";
|
||||
TaskID = "720";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
TaskID = "1078";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTask(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
TaskID = "1080";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTask(URL, TaskID, 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