You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-08-13 20:05:19 +02:00
Правки доков
This commit is contained in:
@@ -28,7 +28,7 @@ Method at API documentation: [disk.folder.addsubfolder](https://dev.1c-bitrix.ru
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
FolderID = "2490";
|
||||
FolderID = "3278";
|
||||
Name = "New subfolder";
|
||||
Filename2 = "New subfolder 2";
|
||||
|
||||
@@ -39,7 +39,7 @@ Method at API documentation: [disk.folder.addsubfolder](https://dev.1c-bitrix.ru
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateSubfolder(URL, FolderID, Name, Token);
|
||||
```
|
||||
|
@@ -28,14 +28,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 = "480";
|
||||
FolderID = "3276";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
FolderID = "482";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
FolderID = "3278";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID, Token);
|
||||
```
|
||||
|
@@ -28,13 +28,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 = "2490";
|
||||
FolderID = "3278";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID, Token);
|
||||
```
|
||||
|
@@ -33,7 +33,7 @@ Method at API documentation: [disk.folder.getfields](https://dev.1c-bitrix.ru/re
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderFilterStructure(URL, True, Token);
|
||||
```
|
||||
|
@@ -28,13 +28,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 = "2490";
|
||||
FolderID = "3278";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID, Token);
|
||||
```
|
||||
|
@@ -29,13 +29,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 = "2490";
|
||||
FolderID = "3278";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID,, Token);
|
||||
```
|
||||
|
@@ -28,23 +28,23 @@ Method at API documentation: [disk.folder.copyto](https://dev.1c-bitrix.ru/rest_
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
DestinationID = "2492";
|
||||
FolderID = "2494";
|
||||
DestinationID = "3280";
|
||||
FolderID = "3282";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
|
||||
Result = OPI_Bitrix24.MakeFolderCopy(URL, FolderID, DestinationID);
|
||||
|
||||
|
||||
DestinationID = "2494";
|
||||
FolderID = "2492";
|
||||
DestinationID = "3282";
|
||||
FolderID = "3280";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MakeFolderCopy(URL, FolderID, DestinationID, Token);
|
||||
|
||||
Check_BitrixFile(Result);
|
||||
Check_BitrixObject(Result);
|
||||
```
|
||||
|
||||
|
||||
|
@@ -28,13 +28,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 = "2490";
|
||||
FolderID = "3278";
|
||||
|
||||
Result = OPI_Bitrix24.MarkFolderAsDeleted(URL, FolderID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MarkFolderAsDeleted(URL, FolderID, Token);
|
||||
```
|
||||
|
@@ -28,22 +28,22 @@ Method at API documentation: [disk.folder.moveto](https://dev.1c-bitrix.ru/rest_
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
DestinationID = "2488";
|
||||
FolderID = "2494";
|
||||
DestinationID = "3276";
|
||||
FolderID = "3282";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
|
||||
Result = OPI_Bitrix24.MoveFolder(URL, FolderID, DestinationID);
|
||||
|
||||
|
||||
FolderID = "2492";
|
||||
FolderID = "3280";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MoveFolder(URL, FolderID, DestinationID, Token);
|
||||
|
||||
Check_BitrixFile(Result);
|
||||
Check_BitrixObject(Result);
|
||||
```
|
||||
|
||||
|
||||
|
@@ -31,15 +31,15 @@ Method at API documentation: [disk.folder.rename](https://dev.1c-bitrix.ru/rest_
|
||||
Name = "New catalog";
|
||||
Filename2 = "New folder 2";
|
||||
|
||||
FolderID2 = "2488";
|
||||
FolderID2 = "3276";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
|
||||
Result = OPI_Bitrix24.RenameFolder(URL, FolderID2, Filename2);
|
||||
|
||||
|
||||
FolderID = "2490";
|
||||
FolderID = "3278";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.RenameFolder(URL, FolderID, Name, Token);
|
||||
```
|
||||
|
@@ -28,13 +28,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 = "2490";
|
||||
FolderID = "3278";
|
||||
|
||||
Result = OPI_Bitrix24.RestoreFolder(URL, FolderID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
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 = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
|
||||
UserIDs = New Array;
|
||||
UserIDs.Add(10);
|
||||
@@ -39,9 +39,9 @@ Method at API documentation: [im.chat.user.add](https://dev.1c-bitrix.ru/learnin
|
||||
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserIDs);
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserID, True, Token);
|
||||
|
@@ -32,17 +32,17 @@ Method at API documentation: [im.chat.updateTitle](https://dev.1c-bitrix.ru/lear
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
|
||||
Color = "AZURE";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatColor(URL, ChatID, Color);
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
|
||||
Color = "PURPLE";
|
||||
|
||||
|
@@ -28,17 +28,17 @@ Method at API documentation: [im.chat.setOwner](https://dev.1c-bitrix.ru/learnin
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID);
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID, Token);
|
||||
```
|
||||
|
@@ -28,17 +28,17 @@ Method at API documentation: [im.chat.updateAvatar](https://dev.1c-bitrix.ru/lea
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
|
||||
Image = FunctionParameters["Picture2"];
|
||||
Image = "https://openintegrations.dev/test_data/picture2.jpg";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image);
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image, Token);
|
||||
```
|
||||
|
@@ -28,17 +28,17 @@ Method at API documentation: [im.chat.updateTitle](https://dev.1c-bitrix.ru/lear
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
|
||||
Title = "New chat title";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatTitle(URL, ChatID, Title);
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
|
||||
Title = "Another title";
|
||||
|
||||
|
@@ -27,7 +27,7 @@ Method at API documentation: [im.chat.add](https://dev.1c-bitrix.ru/learning/cou
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
Image = FunctionParameters["Picture"];
|
||||
Image = "https://openintegrations.dev/test_data/picture.jpg";
|
||||
OPI_TypeConversion.GetBinaryData(Image);
|
||||
|
||||
B64Image = GetBase64StringFromBinaryData(Image);
|
||||
@@ -46,13 +46,13 @@ Method at API documentation: [im.chat.add](https://dev.1c-bitrix.ru/learning/cou
|
||||
ChatStructure.Insert("AVATAR", B64Image);
|
||||
ChatStructure.Insert("OWNER_ID", 1);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
|
||||
Result = OPI_Bitrix24.CreateChat(URL, ChatStructure);
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
ChatStructure = New Structure;
|
||||
ChatStructure.Insert("TYPE", "CHAT");
|
||||
|
@@ -28,17 +28,17 @@ Method at API documentation: [im.chat.user.delete](https://dev.1c-bitrix.ru/lear
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID);
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID, Token);
|
||||
```
|
||||
|
@@ -27,15 +27,15 @@ Method at API documentation: [im.chat.mute](https://dev.1c-bitrix.ru/learning/co
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
|
||||
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID);
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
|
||||
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID, Token);
|
||||
```
|
||||
|
@@ -27,15 +27,15 @@ Method at API documentation: [im.chat.mute](https://dev.1c-bitrix.ru/learning/co
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
|
||||
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID);
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
|
||||
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID, Token);
|
||||
```
|
||||
|
@@ -27,15 +27,15 @@ Method at API documentation: [im.disk.folder.get](https://dev.1c-bitrix.ru/learn
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID);
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID, Token);
|
||||
```
|
||||
|
@@ -27,14 +27,14 @@ Method at API documentation: [im.dialog.users.list](https://dev.1c-bitrix.ru/lea
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = "chat" + FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
ChatID = "chat" + "264";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMembersList(URL, ChatID);
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMembersList(URL, UserID, Token);
|
||||
|
@@ -29,15 +29,15 @@ Method at API documentation: [im.dialog.messages.get](https://dev.1c-bitrix.ru/l
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
ChatID = "chat4";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMessagesList(URL, ChatID);
|
||||
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMessagesList(URL, UserID,, 0,Token);
|
||||
|
@@ -27,15 +27,15 @@ Method at API documentation: [im.chat.user.list](https://dev.1c-bitrix.ru/learni
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID);
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID, Token);
|
||||
```
|
||||
|
@@ -27,14 +27,14 @@ Method at API documentation: [im.dialog.get](https://dev.1c-bitrix.ru/learning/c
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = "chat" + FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
ChatID = "chat" + "264";
|
||||
|
||||
Result = OPI_Bitrix24.GetDialog(URL, ChatID);
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.GetDialog(URL, UserID, Token);
|
||||
|
@@ -27,15 +27,15 @@ Method at API documentation: [im.chat.leave](https://dev.1c-bitrix.ru/learning/c
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
|
||||
Result = OPI_Bitrix24.LeaveChat(URL, ChatID);
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
|
||||
Result = OPI_Bitrix24.LeaveChat(URL, ChatID, Token);
|
||||
```
|
||||
|
@@ -26,13 +26,13 @@ Method at API documentation: [im.dialog.read.all](https://dev.1c-bitrix.ru/learn
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
|
||||
Result = OPI_Bitrix24.ReadAll(URL);
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.ReadAll(URL, Token);
|
||||
```
|
||||
|
@@ -27,14 +27,14 @@ Method at API documentation: [im.dialog.writing](https://dev.1c-bitrix.ru/learni
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = "chat" + FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
ChatID = "chat" + "264";
|
||||
|
||||
Result = OPI_Bitrix24.SendWritingNotification(URL, ChatID);
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.SendWritingNotification(URL, UserID, Token);
|
||||
|
@@ -29,7 +29,7 @@ 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 = "504";
|
||||
TaskID = "724";
|
||||
|
||||
Text = "Task impossible, let's split up";
|
||||
|
||||
@@ -38,7 +38,7 @@ Method at API documentation: [task.commentitem.add](https://dev.1c-bitrix.ru/res
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Text = "Task uninpossible, don't split up";
|
||||
|
||||
|
@@ -28,14 +28,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 = "1718";
|
||||
CommentID = "2264";
|
||||
|
||||
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
CommentID = "1720";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
CommentID = "2266";
|
||||
|
||||
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID, Token);
|
||||
```
|
||||
|
@@ -28,14 +28,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 = "1718";
|
||||
CommentID = "2264";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
CommentID = "1720";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
CommentID = "2266";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID, Token);
|
||||
```
|
||||
|
@@ -29,15 +29,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 = "504";
|
||||
CommentID = "1718";
|
||||
TaskID = "724";
|
||||
CommentID = "2264";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
CommentID = "1720";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
CommentID = "2266";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID, Token);
|
||||
```
|
||||
|
@@ -28,13 +28,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 = "504";
|
||||
TaskID = "724";
|
||||
|
||||
Result = OPI_Bitrix24.GetResultsList(URL, TaskID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetResultsList(URL, TaskID, Token);
|
||||
```
|
||||
|
@@ -29,15 +29,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 = "1718";
|
||||
TaskID = "504";
|
||||
CommentID = "2264";
|
||||
TaskID = "724";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
CommentID = "1720";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
CommentID = "2266";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID, Token);
|
||||
```
|
||||
|
@@ -28,13 +28,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 = "504";
|
||||
TaskID = "724";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID, Token);
|
||||
```
|
||||
|
@@ -30,8 +30,8 @@ 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 = "504";
|
||||
CommentID = "1718";
|
||||
TaskID = "724";
|
||||
CommentID = "2264";
|
||||
|
||||
Text = "The task has been changed, do not split up";
|
||||
|
||||
@@ -39,8 +39,8 @@ Method at API documentation: [task.commentitem.update](https://dev.1c-bitrix.ru/
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
CommentID = "1720";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
CommentID = "2266";
|
||||
|
||||
Text = "The task has been changed, let's split up";
|
||||
|
||||
|
@@ -29,7 +29,7 @@ Method at API documentation: [log.blogcomment.add](https://dev.1c-bitrix.ru/rest
|
||||
|
||||
```bsl title="Code example"
|
||||
Text = "Comment for post";
|
||||
PostID = "260";
|
||||
PostID = "320";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text);
|
||||
@@ -37,7 +37,7 @@ Method at API documentation: [log.blogcomment.add](https://dev.1c-bitrix.ru/rest
|
||||
|
||||
Text = "Another comment";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text, Token);
|
||||
```
|
||||
|
@@ -29,14 +29,14 @@ Method at API documentation: [log.blogpost.share](https://dev.1c-bitrix.ru/rest_
|
||||
|
||||
```bsl title="Code example"
|
||||
Visibility = "UA";
|
||||
PostID = "124";
|
||||
PostID = "320";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility, Token);
|
||||
```
|
||||
|
@@ -47,7 +47,7 @@ Method at API documentation: [log.blogpost.add](https://dev.1c-bitrix.ru/rest_he
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreatePost(URL, Text,, Files, Title,, Token);
|
||||
```
|
||||
|
@@ -27,15 +27,15 @@ Method at API documentation: [log.blogpost.delete](https://dev.1c-bitrix.ru/rest
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
PostID = "122";
|
||||
PostID = "318";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
|
||||
Result = OPI_Bitrix24.DeletePost(URL, PostID);
|
||||
|
||||
|
||||
PostID = "124";
|
||||
PostID = "320";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.DeletePost(URL, PostID, Token);
|
||||
```
|
||||
|
@@ -27,14 +27,14 @@ Method at API documentation: [log.blogpost.getusers.important](https://dev.1c-bi
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
PostID = "122";
|
||||
PostID = "318";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
|
||||
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID, Token);
|
||||
```
|
||||
|
@@ -28,14 +28,14 @@ Method at API documentation: [log.blogpost.get](https://dev.1c-bitrix.ru/rest_he
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
PostID = "124";
|
||||
PostID = "320";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
|
||||
Result = OPI_Bitrix24.GetPosts(URL, PostID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetPosts(URL, PostID,, Token);
|
||||
```
|
||||
|
@@ -34,7 +34,7 @@ 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";
|
||||
PostID = "124";
|
||||
PostID = "320";
|
||||
|
||||
Files = New Map;
|
||||
Files.Insert("1.png", Image1);
|
||||
@@ -45,8 +45,8 @@ Method at API documentation: [log.blogpost.update](https://dev.1c-bitrix.ru/rest
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
PostID = "122";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
PostID = "318";
|
||||
|
||||
Result = OPI_Bitrix24.UpdatePost(URL, PostID, Text,, Files, Title, Token);
|
||||
```
|
||||
|
@@ -28,14 +28,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 = "488";
|
||||
FileID = "3270";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFile(URL, FileID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
FileID = "478";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
FileID = "3272";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFile(URL, FileID, Token);
|
||||
```
|
||||
|
@@ -28,13 +28,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 = "2484";
|
||||
FileID = "3272";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID, Token);
|
||||
```
|
||||
|
@@ -28,13 +28,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 = "2484";
|
||||
FileID = "3272";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileInformation(URL, FileID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileInformation(URL, FileID, Token);
|
||||
```
|
||||
|
@@ -28,22 +28,22 @@ Method at API documentation: [disk.file.copyto](https://dev.1c-bitrix.ru/rest_he
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
FolderID = "2488";
|
||||
FileID = "2484";
|
||||
FolderID = "3276";
|
||||
FileID = "3272";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
|
||||
Result = OPI_Bitrix24.MakeFileCopy(URL, FileID, FolderID);
|
||||
|
||||
|
||||
FolderID = "2490";
|
||||
FolderID = "3278";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MakeFileCopy(URL, FileID, FolderID, Token);
|
||||
|
||||
Check_BitrixFile(Result);
|
||||
Check_BitrixObject(Result);
|
||||
```
|
||||
|
||||
|
||||
|
@@ -28,13 +28,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 = "2484";
|
||||
FileID = "3272";
|
||||
|
||||
Result = OPI_Bitrix24.MarkFileAsDeleted(URL, FileID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MarkFileAsDeleted(URL, FileID, Token);
|
||||
```
|
||||
|
@@ -28,22 +28,22 @@ Method at API documentation: [disk.file.moveto](https://dev.1c-bitrix.ru/rest_he
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
FolderID = "2492";
|
||||
FileID = "2484";
|
||||
FolderID = "3280";
|
||||
FileID = "3272";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
|
||||
Result = OPI_Bitrix24.MoveFileToFolder(URL, FileID, FolderID);
|
||||
|
||||
|
||||
FolderID = "2494";
|
||||
FolderID = "3282";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MoveFileToFolder(URL, FileID, FolderID, Token);
|
||||
|
||||
Check_BitrixFile(Result);
|
||||
Check_BitrixObject(Result);
|
||||
```
|
||||
|
||||
|
||||
|
@@ -31,15 +31,15 @@ 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 = "2482";
|
||||
FileID2 = "3270";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
|
||||
Result = OPI_Bitrix24.RenameFile(URL, FileID2, Filename2);
|
||||
|
||||
|
||||
FileID = "2484";
|
||||
FileID = "3272";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.RenameFile(URL, FileID, Name, Token);
|
||||
```
|
||||
|
@@ -28,13 +28,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 = "2484";
|
||||
FileID = "3272";
|
||||
|
||||
Result = OPI_Bitrix24.RestoreFile(URL, FileID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.RestoreFile(URL, FileID, Token);
|
||||
```
|
||||
|
@@ -35,7 +35,7 @@ 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 = "2490";
|
||||
DestinationID = "3278";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
|
||||
@@ -44,7 +44,7 @@ Method at API documentation: [disk.folder.uploadfile](https://dev.1c-bitrix.ru/r
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.UploadFileToFolder(URL, Name, Image, DestinationID, Token);
|
||||
```
|
||||
|
@@ -45,7 +45,7 @@ Method at API documentation: [disk.storage.uploadfile](https://dev.1c-bitrix.ru/
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.UploadFileToStorage(URL, Name, Image, DestinationID,, Token);
|
||||
```
|
||||
|
@@ -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 = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, PrevStageID,, True, Token);
|
||||
```
|
||||
|
@@ -28,17 +28,17 @@ Method at API documentation: [task.stages.delete](https://dev.1c-bitrix.ru/rest_
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
StageID = "126";
|
||||
StageID = "196";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID, True);
|
||||
|
||||
|
||||
StageID = "128";
|
||||
StageID = "198";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID,, Token);
|
||||
```
|
||||
|
@@ -34,7 +34,7 @@ Method at API documentation: [task.stages.get](https://dev.1c-bitrix.ru/rest_hel
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetKanbanStages(URL,,, Token);
|
||||
```
|
||||
|
@@ -30,18 +30,18 @@ Method at API documentation: [task.stages.movetask](https://dev.1c-bitrix.ru/res
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
TaskID = "528";
|
||||
StageID = "126";
|
||||
TaskID = "726";
|
||||
StageID = "196";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
|
||||
Result = OPI_Bitrix24.MoveTaskToKanbanStage(URL, TaskID, StageID);
|
||||
|
||||
|
||||
StageID = "128";
|
||||
StageID = "198";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MoveTaskToKanbanStage(URL, TaskID, StageID,,, Token);
|
||||
```
|
||||
|
@@ -33,19 +33,19 @@ Method at API documentation: [task.stages.update](https://dev.1c-bitrix.ru/rest_
|
||||
```bsl title="Code example"
|
||||
Name = "New stage name";
|
||||
Color = "000000";
|
||||
StageID = FunctionParameters["Bitrix24_HookStageID"];
|
||||
StageID = "196";
|
||||
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
|
||||
Result = OPI_Bitrix24.UpdateKanbansStage(URL, Name, StageID, Color);
|
||||
|
||||
|
||||
Name = "New stage name 2";
|
||||
Color = "000000";
|
||||
StageID = FunctionParameters["Bitrix24_StageID"];
|
||||
StageID = "198";
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.UpdateKanbansStage(URL, Name, StageID, Color, 6, True, Token);
|
||||
```
|
||||
|
@@ -27,15 +27,15 @@ Method at API documentation: [im.message.delete](https://dev.1c-bitrix.ru/learni
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
MessageID = FunctionParameters["Bitrix24_ChatMessageID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
MessageID = "5506";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID);
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
MessageID = FunctionParameters["Bitrix24_UserMessageID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
MessageID = "5508";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID, Token);
|
||||
```
|
||||
|
@@ -29,17 +29,17 @@ Method at API documentation: [im.message.update](https://dev.1c-bitrix.ru/learni
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
MessageID = FunctionParameters["Bitrix24_ChatMessageID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
MessageID = "5506";
|
||||
|
||||
Text = "New message text";
|
||||
|
||||
Result = OPI_Bitrix24.EditMessage(URL, MessageID, Text);
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
MessageID = FunctionParameters["Bitrix24_UserMessageID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
MessageID = "5508";
|
||||
|
||||
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,17 +28,17 @@ Method at API documentation: [im.dialog.read](https://dev.1c-bitrix.ru/learning/
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = "chat" + FunctionParameters["Bitrix24_HookChatID"];
|
||||
MessageID = FunctionParameters["Bitrix24_ChatMessageID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
ChatID = "chat" + "264";
|
||||
MessageID = "5506";
|
||||
|
||||
Result = OPI_Bitrix24.MarkMessageAsReaded(URL, ChatID, MessageID);
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
MessageID = FunctionParameters["Bitrix24_UserMessageID"];
|
||||
MessageID = "5508";
|
||||
|
||||
Result = OPI_Bitrix24.MarkMessageAsReaded(URL, UserID, MessageID,Token);
|
||||
```
|
||||
|
@@ -28,17 +28,17 @@ Method at API documentation: [im.dialog.unread](https://dev.1c-bitrix.ru/learnin
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = "chat" + FunctionParameters["Bitrix24_HookChatID"];
|
||||
MessageID = FunctionParameters["Bitrix24_ChatMessageID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
ChatID = "chat" + "264";
|
||||
MessageID = "5506";
|
||||
|
||||
Result = OPI_Bitrix24.MarkMessageAsUnreaded(URL, ChatID, MessageID);
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
MessageID = FunctionParameters["Bitrix24_UserMessageID"];
|
||||
MessageID = "5508";
|
||||
|
||||
Result = OPI_Bitrix24.MarkMessageAsUnreaded(URL, UserID, MessageID, Token);
|
||||
```
|
||||
|
@@ -29,9 +29,9 @@ Method at API documentation: [im.disk.file.commit](https://dev.1c-bitrix.ru/lear
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
||||
File = FunctionParameters["Document"]; // Binary Data, URL or path to file
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
ChatID = "264";
|
||||
File = "https://openintegrations.dev/test_data/document.docx"; // Binary Data, URL or path to file
|
||||
Description = "Very important file";
|
||||
|
||||
Directory = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID);
|
||||
@@ -43,9 +43,9 @@ Method at API documentation: [im.disk.file.commit](https://dev.1c-bitrix.ru/lear
|
||||
Result = OPI_Bitrix24.SendFile(URL, ChatID, FileID, Description);
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
ChatID = "266";
|
||||
|
||||
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 = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = "chat" + FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
ChatID = "chat" + "264";
|
||||
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";
|
||||
@@ -43,8 +43,8 @@ Method at API documentation: [im.message.add](https://dev.1c-bitrix.ru/learning/
|
||||
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.SendMessage(URL, UserID, Text,, Token);
|
||||
|
@@ -27,15 +27,15 @@ Method at API documentation: [im.message.like](https://dev.1c-bitrix.ru/learning
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
MessageID = FunctionParameters["Bitrix24_ChatMessageID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
MessageID = "5506";
|
||||
|
||||
Result = OPI_Bitrix24.SetMessageReaction(URL, MessageID);
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
MessageID = FunctionParameters["Bitrix24_UserMessageID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
MessageID = "5508";
|
||||
|
||||
Result = OPI_Bitrix24.SetMessageReaction(URL, MessageID, Token);
|
||||
```
|
||||
|
@@ -26,7 +26,7 @@ sidebar_position: 3
|
||||
```bsl title="Code example"
|
||||
ClientID = "local.6667fc928a50a9.70414732";
|
||||
ClientSecret = "ZeKyeYIgy2NsHZqsIHY6GfG1V...";
|
||||
Refresh = "a95e9b66006e9f06006b12e400000001000...";
|
||||
Refresh = "9d77bb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.RefreshToken(ClientID, ClientSecret, Refresh);
|
||||
```
|
||||
|
@@ -32,7 +32,7 @@ Method at API documentation: [server_time](https://dev.1c-bitrix.ru/rest_help/ge
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.ServerTime(URL, Token);
|
||||
```
|
||||
|
@@ -39,7 +39,7 @@ Method at API documentation: [disk.storage.addfolder](https://dev.1c-bitrix.ru/r
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "b9df7366006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetAppSotrage(URL, Token);
|
||||
```
|
||||
|
@@ -33,7 +33,7 @@ Method at API documentation: [disk.storage.getchildren](https://dev.1c-bitrix.ru
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetStorageObjects(URL, StorageID, Token);
|
||||
```
|
||||
|
@@ -34,7 +34,7 @@ Method at API documentation: [disk.storage.get](https://dev.1c-bitrix.ru/rest_he
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetStorage(URL, StorageID, Token);
|
||||
```
|
||||
|
@@ -31,7 +31,7 @@ Method at API documentation: [disk.storage.getlist](https://dev.1c-bitrix.ru/res
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "b9df7366006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
StorageID = "18";
|
||||
|
||||
Result = OPI_Bitrix24.RenameStorage(URL, StorageID, Name, Token);
|
||||
|
@@ -29,8 +29,8 @@ Method at API documentation: [task.checklistitem.add](https://dev.1c-bitrix.ru/r
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
TaskID = "720";
|
||||
|
||||
Text = "Checklist element";
|
||||
|
||||
@@ -39,9 +39,9 @@ Method at API documentation: [task.checklistitem.add](https://dev.1c-bitrix.ru/r
|
||||
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
|
||||
Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text,, Token);
|
||||
```
|
||||
|
@@ -28,18 +28,18 @@ Method at API documentation: [task.checklistitem.complete](https://dev.1c-bitrix
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
ElementID = FunctionParameters["Bitrix24_HookCheckElementID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
TaskID = "720";
|
||||
ElementID = "164";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTasksChecklistElement(URL, TaskID, ElementID);
|
||||
|
||||
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
ElementID = FunctionParameters["Bitrix24_CheckElementID"];
|
||||
TaskID = "722";
|
||||
ElementID = "168";
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTasksChecklistElement(URL, TaskID, ElementID, Token);
|
||||
```
|
||||
|
@@ -28,18 +28,18 @@ Method at API documentation: [task.checklistitem.delete](https://dev.1c-bitrix.r
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
ElementID = FunctionParameters["Bitrix24_HookCheckElementID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
TaskID = "720";
|
||||
ElementID = "164";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTasksChecklistElement(URL, TaskID, ElementID);
|
||||
|
||||
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
ElementID = FunctionParameters["Bitrix24_CheckElementID"];
|
||||
TaskID = "722";
|
||||
ElementID = "168";
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTasksChecklistElement(URL, TaskID, ElementID, Token);
|
||||
```
|
||||
|
@@ -28,18 +28,18 @@ Method at API documentation: [task.checklistitem.get](https://dev.1c-bitrix.ru/r
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
ElementID = FunctionParameters["Bitrix24_HookCheckElementID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
TaskID = "720";
|
||||
ElementID = "164";
|
||||
|
||||
Result = OPI_Bitrix24.GetTasksChecklistElement(URL, TaskID, ElementID);
|
||||
|
||||
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
ElementID = FunctionParameters["Bitrix24_CheckElementID"];
|
||||
TaskID = "722";
|
||||
ElementID = "168";
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetTasksChecklistElement(URL, TaskID, ElementID, Token);
|
||||
```
|
||||
|
@@ -27,16 +27,16 @@ Method at API documentation: [task.checklistitem.getlist](https://dev.1c-bitrix.
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
TaskID = "720";
|
||||
|
||||
Result = OPI_Bitrix24.GetTasksChecklist(URL, TaskID);
|
||||
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
|
||||
Result = OPI_Bitrix24.GetTasksChecklist(URL, TaskID, Token);
|
||||
```
|
||||
|
@@ -28,18 +28,18 @@ Method at API documentation: [task.checklistitem.renew](https://dev.1c-bitrix.ru
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
ElementID = FunctionParameters["Bitrix24_HookCheckElementID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
TaskID = "720";
|
||||
ElementID = "164";
|
||||
|
||||
Result = OPI_Bitrix24.RenewTasksChecklistElement(URL, TaskID, ElementID);
|
||||
|
||||
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
ElementID = FunctionParameters["Bitrix24_CheckElementID"];
|
||||
TaskID = "722";
|
||||
ElementID = "168";
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.RenewTasksChecklistElement(URL, TaskID, ElementID, Token);
|
||||
```
|
||||
|
@@ -29,9 +29,9 @@ Method at API documentation: [task.checklistitem.update](https://dev.1c-bitrix.r
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
ElementID = FunctionParameters["Bitrix24_HookCheckElementID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
TaskID = "720";
|
||||
ElementID = "164";
|
||||
|
||||
Text = "New elements text";
|
||||
|
||||
@@ -39,10 +39,10 @@ Method at API documentation: [task.checklistitem.update](https://dev.1c-bitrix.r
|
||||
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
ElementID = FunctionParameters["Bitrix24_CheckElementID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
ElementID = "168";
|
||||
|
||||
Result = OPI_Bitrix24.UpdateTasksChecklistElement(URL, TaskID, ElementID, Text, Token);
|
||||
```
|
||||
|
@@ -28,14 +28,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 = "168";
|
||||
TaskID = "720";
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
TaskID = "170";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID, Token);
|
||||
```
|
||||
|
@@ -28,14 +28,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 = "168";
|
||||
TaskID = "720";
|
||||
|
||||
Result = OPI_Bitrix24.ApproveTask(URL, TaskID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
TaskID = "170";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
|
||||
Result = OPI_Bitrix24.ApproveTask(URL, TaskID, Token);
|
||||
```
|
||||
|
@@ -29,15 +29,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 = "500";
|
||||
FileID = "2480";
|
||||
TaskID = "720";
|
||||
FileID = "3268";
|
||||
|
||||
Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
TaskID = "502";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
|
||||
Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID, Token);
|
||||
```
|
||||
|
@@ -33,14 +33,14 @@ Method at API documentation: [tasks.task.getaccess](https://dev.1c-bitrix.ru/res
|
||||
ArrayOfUsers.Add("10");
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
TaskID = "500";
|
||||
TaskID = "720";
|
||||
|
||||
Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
TaskID = "502";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
|
||||
Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers, Token);
|
||||
```
|
||||
|
@@ -28,14 +28,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 = "168";
|
||||
TaskID = "720";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTask(URL, TaskID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
TaskID = "170";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTask(URL, TaskID, Token);
|
||||
```
|
||||
|
@@ -48,7 +48,7 @@ Method at API documentation: [tasks.task.add](https://dev.1c-bitrix.ru/rest_help
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateTask(URL, TaskData, Token);
|
||||
```
|
||||
|
@@ -29,8 +29,8 @@ Method at API documentation: [task.dependence.add](https://dev.1c-bitrix.ru/rest
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
FromID = "500";
|
||||
DestinationID = "502";
|
||||
FromID = "720";
|
||||
DestinationID = "722";
|
||||
LinkType = 0;
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
@@ -38,12 +38,13 @@ Method at API documentation: [task.dependence.add](https://dev.1c-bitrix.ru/rest
|
||||
Result = OPI_Bitrix24.CreateTasksDependencies(URL, FromID, DestinationID, LinkType);
|
||||
|
||||
|
||||
FromID = "502";
|
||||
DestinationID = "500";
|
||||
|
||||
FromID = "722";
|
||||
DestinationID = "720";
|
||||
LinkType = 2;
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateTasksDependencies(URL, FromID, DestinationID, LinkType, Token);
|
||||
```
|
||||
|
@@ -28,14 +28,14 @@ Method at API documentation: [tasks.task.defer](https://dev.1c-bitrix.ru/rest_he
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
TaskID = "168";
|
||||
TaskID = "720";
|
||||
|
||||
Result = OPI_Bitrix24.DeferTask(URL, TaskID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
TaskID = "170";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
|
||||
Result = OPI_Bitrix24.DeferTask(URL, TaskID, Token);
|
||||
```
|
||||
|
@@ -29,15 +29,15 @@ Method at API documentation: [tasks.task.delegate](https://dev.1c-bitrix.ru/rest
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
TaskID = "168";
|
||||
TaskID = "720";
|
||||
UserID = "10";
|
||||
|
||||
Result = OPI_Bitrix24.DelegateTask(URL, TaskID, UserID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
TaskID = "170";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
|
||||
Result = OPI_Bitrix24.DelegateTask(URL, TaskID, UserID, Token);
|
||||
```
|
||||
|
@@ -28,14 +28,14 @@ Method at API documentation: [tasks.task.delete](https://dev.1c-bitrix.ru/rest_h
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
TaskID = "168";
|
||||
TaskID = "720";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTask(URL, TaskID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
TaskID = "170";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTask(URL, TaskID, Token);
|
||||
```
|
||||
|
@@ -28,14 +28,14 @@ Method at API documentation: [tasks.task.disapprove](https://dev.1c-bitrix.ru/re
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
TaskID = "168";
|
||||
TaskID = "720";
|
||||
|
||||
Result = OPI_Bitrix24.DisapproveTask(URL, TaskID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
TaskID = "170";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
|
||||
Result = OPI_Bitrix24.DisapproveTask(URL, TaskID, Token);
|
||||
```
|
||||
|
@@ -26,13 +26,13 @@ Method at API documentation: [task.planner.getlist](https://dev.1c-bitrix.ru/res
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
|
||||
Result = OPI_Bitrix24.GetDailyPlan(URL);
|
||||
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetDailyPlan(URL, Token);
|
||||
```
|
||||
|
@@ -32,7 +32,7 @@ Method at API documentation: [tasks.task.getFields](https://dev.1c-bitrix.ru/res
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskFieldsStructure(URL, Token);
|
||||
```
|
||||
|
@@ -28,14 +28,14 @@ Method at API documentation: [tasks.task.history.list](https://dev.1c-bitrix.ru/
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
TaskID = "168";
|
||||
TaskID = "720";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskHistory(URL, TaskID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
TaskID = "170";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskHistory(URL, TaskID, Token);
|
||||
```
|
||||
|
@@ -28,14 +28,14 @@ Method at API documentation: [tasks.task.get](https://dev.1c-bitrix.ru/rest_help
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
TaskID = "168";
|
||||
TaskID = "720";
|
||||
|
||||
Result = OPI_Bitrix24.GetTask(URL, TaskID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
TaskID = "170";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
|
||||
Result = OPI_Bitrix24.GetTask(URL, TaskID, Token);
|
||||
```
|
||||
|
@@ -40,7 +40,7 @@ Method at API documentation: [tasks.task.list](https://dev.1c-bitrix.ru/rest_hel
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetTasksList(URL,, Indent, Token);
|
||||
```
|
||||
|
@@ -28,14 +28,14 @@ Method at API documentation: [tasks.task.mute](https://dev.1c-bitrix.ru/rest_hel
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
TaskID = "500";
|
||||
TaskID = "720";
|
||||
|
||||
Result = OPI_Bitrix24.MuteTask(URL, TaskID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "56898d66006e9f06006b12e400000001000...";
|
||||
TaskID = "502";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
|
||||
Result = OPI_Bitrix24.MuteTask(URL, TaskID, Token);
|
||||
```
|
||||
|
@@ -28,14 +28,14 @@ Method at API documentation: [tasks.task.pause](https://dev.1c-bitrix.ru/rest_he
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
TaskID = "168";
|
||||
TaskID = "720";
|
||||
|
||||
Result = OPI_Bitrix24.PauseTask(URL, TaskID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
TaskID = "170";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
|
||||
Result = OPI_Bitrix24.PauseTask(URL, TaskID, Token);
|
||||
```
|
||||
|
@@ -28,14 +28,14 @@ Method at API documentation: [tasks.task.favorite.remove](https://dev.1c-bitrix.
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
TaskID = "168";
|
||||
TaskID = "720";
|
||||
|
||||
Result = OPI_Bitrix24.RemoveTaskFromFavorites(URL, TaskID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
TaskID = "170";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
|
||||
Result = OPI_Bitrix24.RemoveTaskFromFavorites(URL, TaskID, Token);
|
||||
```
|
||||
|
@@ -28,14 +28,14 @@ Method at API documentation: [tasks.task.renew](https://dev.1c-bitrix.ru/rest_he
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/";
|
||||
TaskID = "168";
|
||||
TaskID = "720";
|
||||
|
||||
Result = OPI_Bitrix24.RenewTask(URL, TaskID);
|
||||
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b9df7366006e9f06006b12e400000001000...";
|
||||
TaskID = "170";
|
||||
Token = "adf89366006e9f06006b12e400000001000...";
|
||||
TaskID = "722";
|
||||
|
||||
Result = OPI_Bitrix24.RenewTask(URL, TaskID, Token);
|
||||
```
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user