You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -40,7 +40,7 @@ Method at API documentation: [disk.folder.addsubfolder](https://dev.1c-bitrix.ru
|
||||
Result = OPI_Bitrix24.CreateSubfolder(URL, FolderID, Filename2);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateSubfolder(URL, FolderID, Name, Token);
|
||||
```
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [disk.folder.deletetree](https://dev.1c-bitrix.ru/r
|
||||
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
FolderID = "13288";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID, Token);
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [disk.folder.getExternalLink](https://dev.1c-bitrix
|
||||
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID, Token);
|
||||
```
|
||||
|
||||
@@ -35,7 +35,7 @@ Method at API documentation: [disk.folder.getfields](https://dev.1c-bitrix.ru/re
|
||||
Result = OPI_Bitrix24.GetFolderFilterStructure(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderFilterStructure(URL, True, Token);
|
||||
```
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [disk.folder.get](https://dev.1c-bitrix.ru/rest_hel
|
||||
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID, Token);
|
||||
```
|
||||
|
||||
@@ -37,7 +37,7 @@ Method at API documentation: [disk.folder.getchildren](https://dev.1c-bitrix.ru/
|
||||
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID, , Token);
|
||||
```
|
||||
|
||||
@@ -42,7 +42,7 @@ Method at API documentation: [disk.folder.copyto](https://dev.1c-bitrix.ru/rest_
|
||||
FolderID = "13290";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MakeFolderCopy(URL, FolderID, DestinationID, Token);
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [disk.folder.markdeleted](https://dev.1c-bitrix.ru/
|
||||
Result = OPI_Bitrix24.MarkFolderAsDeleted(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MarkFolderAsDeleted(URL, FolderID, Token);
|
||||
```
|
||||
|
||||
@@ -41,7 +41,7 @@ Method at API documentation: [disk.folder.moveto](https://dev.1c-bitrix.ru/rest_
|
||||
FolderID = "13290";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MoveFolder(URL, FolderID, DestinationID, Token);
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ Method at API documentation: [disk.folder.rename](https://dev.1c-bitrix.ru/rest_
|
||||
|
||||
FolderID = "13288";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.RenameFolder(URL, FolderID, Name, Token);
|
||||
```
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [disk.folder.restore](https://dev.1c-bitrix.ru/rest
|
||||
Result = OPI_Bitrix24.RestoreFolder(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.RestoreFolder(URL, FolderID, Token);
|
||||
```
|
||||
|
||||
@@ -42,7 +42,7 @@ 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 = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
ChatID = "1008";
|
||||
UserID = 10;
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ Method at API documentation: [im.chat.updateTitle](https://dev.1c-bitrix.ru/lear
|
||||
Result = OPI_Bitrix24.ChangeChatColor(URL, ChatID, Color);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Color = "PURPLE";
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ Method at API documentation: [im.chat.setOwner](https://dev.1c-bitrix.ru/learnin
|
||||
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
ChatID = "1008";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID, Token);
|
||||
|
||||
@@ -40,7 +40,7 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
||||
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
ChatID = "1008";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image, Token);
|
||||
|
||||
@@ -39,7 +39,7 @@ Method at API documentation: [im.chat.updateTitle](https://dev.1c-bitrix.ru/lear
|
||||
Result = OPI_Bitrix24.ChangeChatTitle(URL, ChatID, Title);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
ChatID = "1008";
|
||||
|
||||
Title = "Another title";
|
||||
|
||||
@@ -54,7 +54,7 @@ Method at API documentation: [im.chat.add](https://dev.1c-bitrix.ru/learning/cou
|
||||
Result = OPI_Bitrix24.CreateChat(URL, ChatStructure);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
ChatStructure = New Structure;
|
||||
ChatStructure.Insert("TYPE" , "CHAT");
|
||||
|
||||
@@ -39,7 +39,7 @@ Method at API documentation: [im.chat.user.delete](https://dev.1c-bitrix.ru/lear
|
||||
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
ChatID = "1008";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID, Token);
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [im.chat.mute](https://dev.1c-bitrix.ru/learning/co
|
||||
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
ChatID = "1008";
|
||||
|
||||
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID, Token);
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [im.chat.mute](https://dev.1c-bitrix.ru/learning/co
|
||||
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
ChatID = "1008";
|
||||
|
||||
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID, Token);
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [im.disk.folder.get](https://dev.1c-bitrix.ru/learn
|
||||
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
ChatID = "1008";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID, Token);
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [im.dialog.users.list](https://dev.1c-bitrix.ru/lea
|
||||
Result = OPI_Bitrix24.GetChatMembersList(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMembersList(URL, UserID, Token);
|
||||
|
||||
@@ -38,7 +38,7 @@ Method at API documentation: [im.dialog.messages.get](https://dev.1c-bitrix.ru/l
|
||||
Result = OPI_Bitrix24.GetChatMessagesList(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMessagesList(URL, UserID, , 0, Token);
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [im.chat.user.list](https://dev.1c-bitrix.ru/learni
|
||||
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
ChatID = "1008";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID, Token);
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [im.dialog.get](https://dev.1c-bitrix.ru/learning/c
|
||||
Result = OPI_Bitrix24.GetDialog(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.GetDialog(URL, UserID, Token);
|
||||
|
||||
@@ -34,7 +34,7 @@ Method at API documentation: [im.user.status.get](https://dev.1c-bitrix.ru/learn
|
||||
Result = OPI_Bitrix24.GetUserStatus(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetUserStatus(URL, Token);
|
||||
```
|
||||
|
||||
@@ -39,7 +39,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 = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
UserIDs = 10;
|
||||
|
||||
Result = OPI_Bitrix24.GetUsers(URL, UserIDs, Token);
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [im.chat.leave](https://dev.1c-bitrix.ru/learning/c
|
||||
Result = OPI_Bitrix24.LeaveChat(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
ChatID = "1008";
|
||||
|
||||
Result = OPI_Bitrix24.LeaveChat(URL, ChatID, Token);
|
||||
|
||||
@@ -34,7 +34,7 @@ Method at API documentation: [im.dialog.read.all](https://dev.1c-bitrix.ru/learn
|
||||
Result = OPI_Bitrix24.ReadAll(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.ReadAll(URL, Token);
|
||||
```
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [im.dialog.writing](https://dev.1c-bitrix.ru/learni
|
||||
Result = OPI_Bitrix24.SendWritingNotification(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.SendWritingNotification(URL, UserID, Token);
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [im.user.status.set](https://dev.1c-bitrix.ru/learn
|
||||
Result = OPI_Bitrix24.SetUserStatus(URL, Status);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
Status = "away";
|
||||
|
||||
Result = OPI_Bitrix24.SetUserStatus(URL, Status, Token);
|
||||
|
||||
@@ -32,14 +32,14 @@ Method at API documentation: [task.commentitem.add](https://dev.1c-bitrix.ru/res
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2516";
|
||||
TaskID = "2520";
|
||||
|
||||
Text = "Task impossible, let's split up";
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskComment(URL, TaskID, Text);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Text = "Task uninpossible, don't split up";
|
||||
|
||||
|
||||
@@ -31,13 +31,13 @@ Method at API documentation: [tasks.task.result.addFromComment](https://dev.1c-b
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
CommentID = "6212";
|
||||
CommentID = "6224";
|
||||
|
||||
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
CommentID = "6214";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
CommentID = "6226";
|
||||
|
||||
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID, Token);
|
||||
```
|
||||
|
||||
@@ -31,13 +31,13 @@ Method at API documentation: [tasks.task.result.deleteFromComment](https://dev.1
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
CommentID = "6212";
|
||||
CommentID = "6224";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
CommentID = "6214";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
CommentID = "6226";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID, Token);
|
||||
```
|
||||
|
||||
@@ -32,14 +32,14 @@ Method at API documentation: [task.commentitem.delete](https://dev.1c-bitrix.ru/
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2516";
|
||||
CommentID = "6212";
|
||||
TaskID = "2520";
|
||||
CommentID = "6224";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
CommentID = "6214";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
CommentID = "6226";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID, Token);
|
||||
```
|
||||
|
||||
@@ -31,12 +31,12 @@ Method at API documentation: [tasks.task.result.list](https://dev.1c-bitrix.ru/r
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2516";
|
||||
TaskID = "2520";
|
||||
|
||||
Result = OPI_Bitrix24.GetResultsList(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetResultsList(URL, TaskID, Token);
|
||||
```
|
||||
|
||||
@@ -32,14 +32,14 @@ Method at API documentation: [task.commentitem.get](https://dev.1c-bitrix.ru/res
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
CommentID = "6212";
|
||||
TaskID = "2516";
|
||||
CommentID = "6224";
|
||||
TaskID = "2520";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
CommentID = "6214";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
CommentID = "6226";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID, Token);
|
||||
```
|
||||
|
||||
@@ -31,12 +31,12 @@ Method at API documentation: [task.commentitem.getlist](https://dev.1c-bitrix.ru
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2516";
|
||||
TaskID = "2520";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID, Token);
|
||||
```
|
||||
|
||||
@@ -33,16 +33,16 @@ Method at API documentation: [task.commentitem.update](https://dev.1c-bitrix.ru/
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2516";
|
||||
CommentID = "6212";
|
||||
TaskID = "2520";
|
||||
CommentID = "6224";
|
||||
|
||||
Text = "The task has been changed, do not split up";
|
||||
|
||||
Result = OPI_Bitrix24.UpdateTaskComment(URL, TaskID, CommentID, Text);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
CommentID = "6214";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
CommentID = "6226";
|
||||
|
||||
Text = "The task has been changed, let's split up";
|
||||
|
||||
|
||||
@@ -42,7 +42,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 = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Type = "string";
|
||||
Name = "TEXT_FIELD";
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [task.item.userfield.delete](https://dev.1c-bitrix.
|
||||
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
FieldID = "257";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID, Token);
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [task.item.userfield.get](https://dev.1c-bitrix.ru/
|
||||
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
FieldID = "257";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID);
|
||||
|
||||
@@ -34,7 +34,7 @@ Method at API documentation: [task.item.userfield.getlist](https://dev.1c-bitrix
|
||||
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
|
||||
```
|
||||
|
||||
@@ -41,7 +41,7 @@ Method at API documentation: [task.item.userfield.update](https://dev.1c-bitrix.
|
||||
Result = OPI_Bitrix24.UpdateCustomTaskField(URL, FieldID, , Title);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
FieldID = "257";
|
||||
ExternalID = "NEW_TEXT_FIELD";
|
||||
|
||||
@@ -53,7 +53,7 @@ Method at API documentation: [crm.deal.add](https://dev.1c-bitrix.ru/rest_help/c
|
||||
FieldsStructure.Insert("CLOSEDATE", "2031-01-01");
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateDeal(URL, FieldsStructure, Token);
|
||||
```
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [crm.deal.delete](https://dev.1c-bitrix.ru/rest_hel
|
||||
Result = OPI_Bitrix24.DeleteDeal(URL, DealID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
DealID = "814";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteDeal(URL, DealID, Token);
|
||||
|
||||
@@ -34,7 +34,7 @@ Method at API documentation: [crm.deal.fields](https://dev.1c-bitrix.ru/rest_hel
|
||||
Result = OPI_Bitrix24.GetDealStructure(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetDealStructure(URL, Token);
|
||||
```
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [crm.deal.get](https://dev.1c-bitrix.ru/rest_help/c
|
||||
Result = OPI_Bitrix24.GetDeal(URL, DealID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
DealID = "812";
|
||||
|
||||
Result = OPI_Bitrix24.GetDeal(URL, DealID, Token);
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [crm.deal.list](https://dev.1c-bitrix.ru/rest_help/
|
||||
Result = OPI_Bitrix24.GetDealsList(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Filter = New Structure;
|
||||
Filter.Insert("TITLE" , "Sale in RUB");
|
||||
|
||||
@@ -46,7 +46,7 @@ dev.1c-bitrix.ru/rest_help/crm/cdeals/crm_deal_update.php)
|
||||
FieldsStructure.Insert("BEGINDATE", "2025-01-01");
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
DealID = "814";
|
||||
|
||||
Result = OPI_Bitrix24.UpdateDeal(URL, DealID, FieldsStructure, Token);
|
||||
|
||||
@@ -40,7 +40,7 @@ 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 = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Name = "Subordinate department";
|
||||
ParentID = "612";
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [department.delete](https://dev.1c-bitrix.ru/rest_h
|
||||
Result = OPI_Bitrix24.DeleteDepartment(URL, DepartmentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
DepartmentID = "612";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteDepartment(URL, DepartmentID, Token);
|
||||
|
||||
@@ -39,7 +39,7 @@ Method at API documentation: [department.get](https://dev.1c-bitrix.ru/rest_help
|
||||
Result = OPI_Bitrix24.GetDepartments(URL, DepartmentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
HeadID = 1;
|
||||
|
||||
Result = OPI_Bitrix24.GetDepartments(URL, , , , HeadID, Token);
|
||||
|
||||
@@ -41,7 +41,7 @@ Method at API documentation: [department.update](https://dev.1c-bitrix.ru/rest_h
|
||||
Result = OPI_Bitrix24.UpdateDepartment(URL, DepartmentID, , ParentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
DepartmentID = "614";
|
||||
Name = "New department";
|
||||
|
||||
@@ -39,7 +39,7 @@ Method at API documentation: [log.blogcomment.add](https://dev.1c-bitrix.ru/rest
|
||||
|
||||
Text = "Another comment";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text, Token);
|
||||
```
|
||||
|
||||
@@ -38,7 +38,7 @@ Method at API documentation: [log.blogpost.share](https://dev.1c-bitrix.ru/rest_
|
||||
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility, Token);
|
||||
```
|
||||
|
||||
@@ -48,7 +48,7 @@ Method at API documentation: [log.blogpost.add](https://dev.1c-bitrix.ru/rest_he
|
||||
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, True);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, , Token);
|
||||
```
|
||||
|
||||
@@ -37,7 +37,7 @@ Method at API documentation: [log.blogpost.delete](https://dev.1c-bitrix.ru/rest
|
||||
|
||||
PostID = "994";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.DeletePost(URL, PostID, Token);
|
||||
```
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [log.blogpost.getusers.important](https://dev.1c-bi
|
||||
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID, Token);
|
||||
```
|
||||
|
||||
@@ -37,7 +37,7 @@ Method at API documentation: [log.blogpost.get](https://dev.1c-bitrix.ru/rest_he
|
||||
Result = OPI_Bitrix24.GetPosts(URL, PostID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetPosts(URL, PostID, , Token);
|
||||
```
|
||||
|
||||
@@ -47,7 +47,7 @@ Method at API documentation: [log.blogpost.update](https://dev.1c-bitrix.ru/rest
|
||||
Result = OPI_Bitrix24.UpdatePost(URL, PostID, Text, , Files, Title);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
PostID = "992";
|
||||
|
||||
Result = OPI_Bitrix24.UpdatePost(URL, PostID, Text, , Files, Title, Token);
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [disk.file.delete](https://dev.1c-bitrix.ru/rest_he
|
||||
Result = OPI_Bitrix24.DeleteFile(URL, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
FileID = "13282";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFile(URL, FileID, Token);
|
||||
|
||||
@@ -38,7 +38,7 @@ The method has suddenly disappeared from the API on the cloud Bitrix24 where it
|
||||
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID, Token);
|
||||
```
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [disk.file.get](https://dev.1c-bitrix.ru/rest_help/
|
||||
Result = OPI_Bitrix24.GetFileInformation(URL, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileInformation(URL, FileID, Token);
|
||||
```
|
||||
|
||||
@@ -41,7 +41,7 @@ Method at API documentation: [disk.file.copyto](https://dev.1c-bitrix.ru/rest_he
|
||||
FolderID = "13288";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MakeCopyFile(URL, FileID, FolderID, Token);
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [disk.file.markdeleted](https://dev.1c-bitrix.ru/re
|
||||
Result = OPI_Bitrix24.MarkFileAsDeleted(URL, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MarkFileAsDeleted(URL, FileID, Token);
|
||||
```
|
||||
|
||||
@@ -41,7 +41,7 @@ Method at API documentation: [disk.file.moveto](https://dev.1c-bitrix.ru/rest_he
|
||||
FolderID = "13292";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MoveFileToFolder(URL, FileID, FolderID, Token);
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ Method at API documentation: [disk.file.rename](https://dev.1c-bitrix.ru/rest_he
|
||||
|
||||
FileID = "13282";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.RenameFile(URL, FileID, Name, Token);
|
||||
```
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [disk.file.restore](https://dev.1c-bitrix.ru/rest_h
|
||||
Result = OPI_Bitrix24.RestoreFile(URL, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.RestoreFile(URL, FileID, Token);
|
||||
```
|
||||
|
||||
@@ -46,7 +46,7 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
||||
Result = OPI_Bitrix24.UploadFileToFolder(URL, Filename2, Image2, DestinationID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.UploadFileToFolder(URL, Name, Image, DestinationID, Token);
|
||||
```
|
||||
|
||||
@@ -47,7 +47,7 @@ Parameters with Binary data type can also accept file paths on disk and URLs
|
||||
Result = OPI_Bitrix24.UploadFileToStorage(URL, Filename2, Image2, DestinationID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.UploadFileToStorage(URL, Name, Image, DestinationID, , Token);
|
||||
```
|
||||
|
||||
@@ -47,7 +47,7 @@ Method at API documentation: [task.stages.add](https://dev.1c-bitrix.ru/rest_hel
|
||||
Color = "0026FF";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, PrevStageID, , True, Token);
|
||||
```
|
||||
|
||||
@@ -31,16 +31,16 @@ Method at API documentation: [task.stages.delete](https://dev.1c-bitrix.ru/rest_
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
StageID = "864";
|
||||
StageID = "888";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID, True);
|
||||
|
||||
StageID = "866";
|
||||
StageID = "890";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID, , Token);
|
||||
```
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [task.stages.get](https://dev.1c-bitrix.ru/rest_hel
|
||||
Result = OPI_Bitrix24.GetKanbanStages(URL, , True);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetKanbanStages(URL, , , Token);
|
||||
```
|
||||
|
||||
@@ -33,17 +33,17 @@ Method at API documentation: [task.stages.movetask](https://dev.1c-bitrix.ru/res
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
TaskID = "2452";
|
||||
StageID = "864";
|
||||
TaskID = "2524";
|
||||
StageID = "888";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.MoveTaskToKanbanStage(URL, TaskID, StageID);
|
||||
|
||||
StageID = "866";
|
||||
StageID = "890";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MoveTaskToKanbanStage(URL, TaskID, StageID, , , Token);
|
||||
```
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [task.stages.update](https://dev.1c-bitrix.ru/rest_
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Name = "New stage name";
|
||||
Color = "000000";
|
||||
StageID = "864";
|
||||
StageID = "888";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
@@ -44,10 +44,10 @@ Method at API documentation: [task.stages.update](https://dev.1c-bitrix.ru/rest_
|
||||
|
||||
Name = "New stage name 2";
|
||||
Color = "000000";
|
||||
StageID = "866";
|
||||
StageID = "890";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.UpdateKanbansStage(URL, Name, StageID, Color, 6, True, Token);
|
||||
```
|
||||
|
||||
@@ -54,7 +54,7 @@ Method at API documentation: [crm.lead.add](https://dev.1c-bitrix.ru/rest_help/c
|
||||
FieldsStructure.Insert("LAST_NAME" , "Ivanov");
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateLead(URL, FieldsStructure, Token);
|
||||
```
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [crm.lead.delete](https://dev.1c-bitrix.ru/rest_hel
|
||||
Result = OPI_Bitrix24.DeleteLead(URL, LeadID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
LeadID = "414";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteLead(URL, LeadID, Token);
|
||||
|
||||
@@ -34,7 +34,7 @@ Method at API documentation: [crm.lead.fields](https://dev.1c-bitrix.ru/rest_hel
|
||||
Result = OPI_Bitrix24.GetLeadStructure(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetLeadStructure(URL, Token);
|
||||
```
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [crm.lead.get](https://dev.1c-bitrix.ru/rest_help/c
|
||||
Result = OPI_Bitrix24.GetLead(URL, LeadID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
LeadID = "414";
|
||||
|
||||
Result = OPI_Bitrix24.GetLead(URL, LeadID, Token);
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [crm.lead.list](https://dev.1c-bitrix.ru/rest_help/
|
||||
Result = OPI_Bitrix24.GetLeadsList(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Filter = New Structure;
|
||||
Filter.Insert("TITLE" , "MegaClient");
|
||||
|
||||
@@ -45,7 +45,7 @@ Method at API documentation: [crm.lead.update](https://dev.1c-bitrix.ru/rest_hel
|
||||
FieldsStructure.Insert("LAST_NAME" , "Evgeniev");
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
LeadID = "414";
|
||||
|
||||
Result = OPI_Bitrix24.UpdateLead(URL, LeadID, FieldsStructure, Token);
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [im.message.delete](https://dev.1c-bitrix.ru/learni
|
||||
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
MessageID = "18128";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID, Token);
|
||||
|
||||
@@ -40,7 +40,7 @@ Method at API documentation: [im.message.update](https://dev.1c-bitrix.ru/learni
|
||||
Result = OPI_Bitrix24.EditMessage(URL, MessageID, Text);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
MessageID = "18128";
|
||||
|
||||
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";
|
||||
|
||||
@@ -38,7 +38,7 @@ Method at API documentation: [im.dialog.read](https://dev.1c-bitrix.ru/learning/
|
||||
Result = OPI_Bitrix24.MarkMessageAsReaded(URL, ChatID, MessageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
MessageID = "18128";
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ Method at API documentation: [im.dialog.unread](https://dev.1c-bitrix.ru/learnin
|
||||
Result = OPI_Bitrix24.MarkMessageAsUnreaded(URL, ChatID, MessageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
MessageID = "18128";
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ 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 = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
ChatID = "1008";
|
||||
|
||||
Directory = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID, Token);
|
||||
|
||||
@@ -45,7 +45,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 = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.SendMessage(URL, UserID, Text, , Token);
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [im.message.like](https://dev.1c-bitrix.ru/learning
|
||||
Result = OPI_Bitrix24.SetMessageReaction(URL, MessageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
MessageID = "18128";
|
||||
|
||||
Result = OPI_Bitrix24.SetMessageReaction(URL, MessageID, Token);
|
||||
|
||||
@@ -47,7 +47,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 = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
Tag = "New";
|
||||
UserID = 10;
|
||||
|
||||
|
||||
@@ -47,7 +47,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 = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
Tag = "New";
|
||||
UserID = 10;
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [im.notify.delete](https://dev.1c-bitrix.ru/learnin
|
||||
Result = OPI_Bitrix24.DeleteNotification(URL, NotificationID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
NotificationID = "18136";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteNotification(URL, NotificationID, Token);
|
||||
|
||||
@@ -29,7 +29,7 @@ import TabItem from '@theme/TabItem';
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
ClientID = "local.6667fc928a50a9.70414732";
|
||||
ClientSecret = "ZeKyeYIgy2NsHZqsIHY6GfG1V...";
|
||||
Refresh = "a8d23867006e9f06006b12e400000001000...";
|
||||
Refresh = "5be63867006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.RefreshToken(ClientID, ClientSecret, Refresh);
|
||||
```
|
||||
|
||||
@@ -34,7 +34,7 @@ Method at API documentation: [server_time](https://dev.1c-bitrix.ru/rest_help/ge
|
||||
Result = OPI_Bitrix24.ServerTime(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.ServerTime(URL, Token);
|
||||
```
|
||||
|
||||
@@ -40,7 +40,7 @@ Method at API documentation: [disk.storage.addfolder](https://dev.1c-bitrix.ru/r
|
||||
Result = OPI_Bitrix24.CreateStorageFolder(URL, StorageID, Filename2);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateStorageFolder(URL, StorageID, Name, Token);
|
||||
```
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [disk.storage.getchildren](https://dev.1c-bitrix.ru
|
||||
Result = OPI_Bitrix24.GetStorageObjects(URL, StorageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetStorageObjects(URL, StorageID, Token);
|
||||
```
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [disk.storage.get](https://dev.1c-bitrix.ru/rest_he
|
||||
Result = OPI_Bitrix24.GetStorage(URL, StorageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetStorage(URL, StorageID, Token);
|
||||
```
|
||||
|
||||
@@ -33,7 +33,7 @@ Method at API documentation: [disk.storage.getlist](https://dev.1c-bitrix.ru/res
|
||||
Result = OPI_Bitrix24.GetStoragesList(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetStoragesList(URL, Token);
|
||||
```
|
||||
|
||||
@@ -33,7 +33,7 @@ Method at API documentation: [disk.storage.rename](https://dev.1c-bitrix.ru/rest
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Name = "New storage name";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
StorageID = "18";
|
||||
|
||||
Result = OPI_Bitrix24.RenameStorage(URL, StorageID, Name, Token);
|
||||
|
||||
@@ -40,7 +40,7 @@ Method at API documentation: [task.checklistitem.add](https://dev.1c-bitrix.ru/r
|
||||
Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, True);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b8531167006e9f06006b12e400000001000...";
|
||||
Token = "6b671167006e9f06006b12e400000001000...";
|
||||
TaskID = "2512";
|
||||
|
||||
Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, , Token);
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user