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

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot) 2024-10-20 09:27:02 +03:00
parent 0136c55ef3
commit 8c67be7a90
615 changed files with 6001 additions and 5937 deletions

View File

@ -381,7 +381,7 @@ def test_bitrix24(){
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
powershell encoding: 'UTF-8', script:'./oint.exe bitrix24 GetTasksFilterStructure --empty "test" --debug --test '
powershell encoding: 'UTF-8', script:'./oint.exe bitrix24 GetTasksFilterStructure --empty "test" --map "test" --debug --test '
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {

View File

@ -381,7 +381,7 @@ def test_bitrix24(){
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
powershell encoding: 'UTF-8', script:'./oint.exe bitrix24 ПолучитьСтруктуруФильтраЗадач --empty "test" --debug --test '
powershell encoding: 'UTF-8', script:'./oint.exe bitrix24 ПолучитьСтруктуруФильтраЗадач --empty "test" --map "test" --debug --test '
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {

View File

@ -6,7 +6,7 @@
Result = OPI_Bitrix24.AddCustomTaskField(URL, Type, Name);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Type = "string";
Name = "TEXT_FIELD";

View File

@ -11,6 +11,6 @@
Color = "0026FF";
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, PrevStageID, , True, Token);

View File

@ -6,6 +6,6 @@
Text = "Another comment";
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text, Token);

View File

@ -5,6 +5,6 @@
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility, Token);

View File

@ -6,7 +6,7 @@
Result = OPI_Bitrix24.AddTaskComment(URL, TaskID, Text);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Text = "Task uninpossible, don't split up";

View File

@ -6,7 +6,7 @@
Result = OPI_Bitrix24.AddTaskTimeAccounting(URL, TaskID, Time);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Text = "Time spent on work";
UserID = 10;

View File

@ -1,10 +1,10 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
TaskID = "2526";
TaskID = "2566";
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
TaskID = "2528";
Token = "67ac1467006e9f06006b12e400000001000...";
TaskID = "2568";
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID, Token);

View File

@ -1,12 +1,12 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
TaskID = "2526";
TaskID = "2566";
Text = "Checklist element";
Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, True);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
TaskID = "2528";
Token = "67ac1467006e9f06006b12e400000001000...";
TaskID = "2568";
Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, , Token);

View File

@ -8,7 +8,7 @@
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserIDs);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
ChatID = "1044";
UserID = 10;

View File

@ -1,10 +1,10 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
TaskID = "2526";
TaskID = "2566";
Result = OPI_Bitrix24.ApproveTask(URL, TaskID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
TaskID = "2528";
Token = "67ac1467006e9f06006b12e400000001000...";
TaskID = "2568";
Result = OPI_Bitrix24.ApproveTask(URL, TaskID, Token);

View File

@ -1,11 +1,11 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
TaskID = "2526";
FileID = "13350";
TaskID = "2566";
FileID = "13578";
Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
TaskID = "2528";
Token = "67ac1467006e9f06006b12e400000001000...";
TaskID = "2568";
Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID, Token);

View File

@ -6,7 +6,7 @@
Result = OPI_Bitrix24.ChangeChatColor(URL, ChatID, Color);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Color = "PURPLE";

View File

@ -6,7 +6,7 @@
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
ChatID = "1044";
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID, Token);

View File

@ -6,7 +6,7 @@
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
ChatID = "1044";
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image, Token);

View File

@ -6,7 +6,7 @@
Result = OPI_Bitrix24.ChangeChatTitle(URL, ChatID, Title);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
ChatID = "1044";
Title = "Another title";

View File

@ -4,7 +4,7 @@
Result = OPI_Bitrix24.ChangeUserStatus(URL, UserID, True);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
UserID = "658";
Result = OPI_Bitrix24.ChangeUserStatus(URL, UserID, True, Token);

View File

@ -3,12 +3,12 @@
ArrayOfUsers.Add("10");
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
TaskID = "2526";
TaskID = "2566";
Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
TaskID = "2528";
Token = "67ac1467006e9f06006b12e400000001000...";
TaskID = "2568";
Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers, Token);

View File

@ -1,10 +1,10 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
TaskID = "2526";
TaskID = "2566";
Result = OPI_Bitrix24.CompleteTask(URL, TaskID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
TaskID = "2528";
Token = "67ac1467006e9f06006b12e400000001000...";
TaskID = "2568";
Result = OPI_Bitrix24.CompleteTask(URL, TaskID, Token);

View File

@ -1,13 +1,13 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
TaskID = "2526";
ElementID = "1560";
TaskID = "2566";
ElementID = "1592";
Result = OPI_Bitrix24.CompleteTasksChecklistElement(URL, TaskID, ElementID);
TaskID = "2528";
ElementID = "1564";
TaskID = "2568";
ElementID = "1596";
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.CompleteTasksChecklistElement(URL, TaskID, ElementID, Token);

View File

@ -22,7 +22,7 @@
Result = OPI_Bitrix24.CreateChat(URL, ChatStructure);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
ChatStructure = New Structure;
ChatStructure.Insert("TYPE" , "CHAT");

View File

@ -21,6 +21,6 @@
FieldsStructure.Insert("CLOSEDATE", "2031-01-01");
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.CreateDeal(URL, FieldsStructure, Token);

View File

@ -6,7 +6,7 @@
Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Name = "Subordinate department";
ParentID = "646";

View File

@ -22,6 +22,6 @@
FieldsStructure.Insert("LAST_NAME" , "Ivanov");
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.CreateLead(URL, FieldsStructure, Token);

View File

@ -12,7 +12,7 @@
Result = OPI_Bitrix24.CreatePersonalNotification(URL, UserID, Text, ,Attachments);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Tag = "New";
UserID = 10;

View File

@ -12,6 +12,6 @@
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, True);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, , Token);

View File

@ -4,7 +4,7 @@
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
CommentID = "6252";
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID, Token);

View File

@ -7,6 +7,6 @@
Result = OPI_Bitrix24.CreateStorageFolder(URL, StorageID, Filename2);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.CreateStorageFolder(URL, StorageID, Name, Token);

View File

@ -7,6 +7,6 @@
Result = OPI_Bitrix24.CreateSubfolder(URL, FolderID, Filename2);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.CreateSubfolder(URL, FolderID, Name, Token);

View File

@ -12,7 +12,7 @@
Result = OPI_Bitrix24.CreateSystemNotification(URL, UserID, Text, ,Attachments);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Tag = "New";
UserID = 10;

View File

@ -17,6 +17,6 @@
Result = OPI_Bitrix24.CreateTask(URL, TaskData);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.CreateTask(URL, TaskData, Token);

View File

@ -1,16 +1,16 @@
 FromID = "2526";
DestinationID = "2528";
 FromID = "2566";
DestinationID = "2568";
LinkType = 0;
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
Result = OPI_Bitrix24.CreateTasksDependencies(URL, FromID, DestinationID, LinkType);
FromID = "2528";
DestinationID = "2526";
FromID = "2568";
DestinationID = "2566";
LinkType = 2;
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.CreateTasksDependencies(URL, FromID, DestinationID, LinkType, Token);

View File

@ -9,7 +9,7 @@
Result = OPI_Bitrix24.CreateUser(URL, UserStructure);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Email = String(New UUID) + "@exepmple.org";
UserStructure = New Structure;

View File

@ -1,10 +1,10 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
TaskID = "2526";
TaskID = "2566";
Result = OPI_Bitrix24.DeferTask(URL, TaskID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
TaskID = "2528";
Token = "67ac1467006e9f06006b12e400000001000...";
TaskID = "2568";
Result = OPI_Bitrix24.DeferTask(URL, TaskID, Token);

View File

@ -1,11 +1,11 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
TaskID = "2526";
TaskID = "2566";
UserID = "658";
Result = OPI_Bitrix24.DelegateTask(URL, TaskID, UserID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
TaskID = "2528";
Token = "67ac1467006e9f06006b12e400000001000...";
TaskID = "2568";
Result = OPI_Bitrix24.DelegateTask(URL, TaskID, UserID, Token);

View File

@ -4,7 +4,7 @@
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
FieldID = "257";
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID, Token);

View File

@ -4,7 +4,7 @@
Result = OPI_Bitrix24.DeleteDeal(URL, DealID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
DealID = "866";
Result = OPI_Bitrix24.DeleteDeal(URL, DealID, Token);

View File

@ -4,7 +4,7 @@
Result = OPI_Bitrix24.DeleteDepartment(URL, DepartmentID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
DepartmentID = "646";
Result = OPI_Bitrix24.DeleteDepartment(URL, DepartmentID, Token);

View File

@ -4,7 +4,7 @@
Result = OPI_Bitrix24.DeleteFile(URL, FileID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
FileID = "13354";
Result = OPI_Bitrix24.DeleteFile(URL, FileID, Token);

View File

@ -4,7 +4,7 @@
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
FolderID = "13360";
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID, Token);

View File

@ -7,6 +7,6 @@
StageID = "894";
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID, , Token);

View File

@ -4,7 +4,7 @@
Result = OPI_Bitrix24.DeleteLead(URL, LeadID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
LeadID = "442";
Result = OPI_Bitrix24.DeleteLead(URL, LeadID, Token);

View File

@ -4,7 +4,7 @@
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
MessageID = "18734";
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID, Token);

View File

@ -4,7 +4,7 @@
Result = OPI_Bitrix24.DeleteNotification(URL, NotificationID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
NotificationID = "18742";
Result = OPI_Bitrix24.DeleteNotification(URL, NotificationID, Token);

View File

@ -5,6 +5,6 @@
PostID = "998";
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.DeletePost(URL, PostID, Token);

View File

@ -4,7 +4,7 @@
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
CommentID = "6252";
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID, Token);

View File

@ -1,10 +1,10 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
TaskID = "2526";
TaskID = "2566";
Result = OPI_Bitrix24.DeleteTask(URL, TaskID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
TaskID = "2528";
Token = "67ac1467006e9f06006b12e400000001000...";
TaskID = "2568";
Result = OPI_Bitrix24.DeleteTask(URL, TaskID, Token);

View File

@ -5,7 +5,7 @@
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
CommentID = "6252";
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID, Token);

View File

@ -5,7 +5,7 @@
Result = OPI_Bitrix24.DeleteTaskTimeAccounting(URL, TaskID, RecordID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
RecordID = "884";
Result = OPI_Bitrix24.DeleteTaskTimeAccounting(URL, TaskID, RecordID, Token);

View File

@ -1,13 +1,13 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
TaskID = "2526";
ElementID = "1560";
TaskID = "2566";
ElementID = "1592";
Result = OPI_Bitrix24.DeleteTasksChecklistElement(URL, TaskID, ElementID);
TaskID = "2528";
ElementID = "1564";
TaskID = "2568";
ElementID = "1596";
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.DeleteTasksChecklistElement(URL, TaskID, ElementID, Token);

View File

@ -1,16 +1,16 @@
 FromID = "2526";
DestinationID = "2528";
 FromID = "2566";
DestinationID = "2568";
LinkType = 0;
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
Result = OPI_Bitrix24.DeleteTasksDependencies(URL, FromID, DestinationID, LinkType);
FromID = "2528";
DestinationID = "2526";
FromID = "2568";
DestinationID = "2566";
LinkType = 2;
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.DeleteTasksDependencies(URL, FromID, DestinationID, LinkType, Token);

View File

@ -6,7 +6,7 @@
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
ChatID = "1044";
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID, Token);

View File

@ -4,7 +4,7 @@
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
ChatID = "1044";
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID, Token);

View File

@ -1,10 +1,10 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
TaskID = "2526";
TaskID = "2566";
Result = OPI_Bitrix24.DisapproveTask(URL, TaskID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
TaskID = "2528";
Token = "67ac1467006e9f06006b12e400000001000...";
TaskID = "2568";
Result = OPI_Bitrix24.DisapproveTask(URL, TaskID, Token);

View File

@ -6,7 +6,7 @@
Result = OPI_Bitrix24.EditMessage(URL, MessageID, Text);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
MessageID = "18734";
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";

View File

@ -4,7 +4,7 @@
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
ChatID = "1044";
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID, Token);

View File

@ -10,7 +10,7 @@
Result = OPI_Bitrix24.FindUsers(URL, FilterStructure);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
FilterStructure = New Structure;
FilterStructure.Insert("UF_DEPARTMENT_NAME", "Bitrix");

View File

@ -1,4 +1,4 @@
 URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetAppSotrage(URL, Token);

View File

@ -4,7 +4,7 @@
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
ChatID = "1044";
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID, Token);

View File

@ -4,7 +4,7 @@
Result = OPI_Bitrix24.GetChatMembersList(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
UserID = 10;
Result = OPI_Bitrix24.GetChatMembersList(URL, UserID, Token);

View File

@ -4,7 +4,7 @@
Result = OPI_Bitrix24.GetChatMessagesList(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
UserID = 10;
Result = OPI_Bitrix24.GetChatMessagesList(URL, UserID, , 0, Token);

View File

@ -4,7 +4,7 @@
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
ChatID = "1044";
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID, Token);

View File

@ -3,6 +3,6 @@
Result = OPI_Bitrix24.GetCurrentUser(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetCurrentUser(URL, Token);

View File

@ -4,7 +4,7 @@
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
FieldID = "257";
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID, Token);

View File

@ -3,6 +3,6 @@
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL, Token);

View File

@ -3,6 +3,6 @@
Result = OPI_Bitrix24.GetDailyPlan(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetDailyPlan(URL, Token);

View File

@ -4,7 +4,7 @@
Result = OPI_Bitrix24.GetDeal(URL, DealID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
DealID = "864";
Result = OPI_Bitrix24.GetDeal(URL, DealID, Token);

View File

@ -3,6 +3,6 @@
Result = OPI_Bitrix24.GetDealStructure(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetDealStructure(URL, Token);

View File

@ -3,7 +3,7 @@
Result = OPI_Bitrix24.GetDealsList(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Filter = New Structure;
Filter.Insert("TITLE" , "Sale in RUB");

View File

@ -4,7 +4,7 @@
Result = OPI_Bitrix24.GetDepartments(URL, DepartmentID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
HeadID = 1;
Result = OPI_Bitrix24.GetDepartments(URL, , , , HeadID, Token);

View File

@ -4,7 +4,7 @@
Result = OPI_Bitrix24.GetDialog(URL, ChatID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
UserID = 10;
Result = OPI_Bitrix24.GetDialog(URL, UserID, Token);

View File

@ -4,6 +4,6 @@
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID, Token);

View File

@ -4,6 +4,6 @@
Result = OPI_Bitrix24.GetFileInformation(URL, FileID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetFileInformation(URL, FileID, Token);

View File

@ -4,6 +4,6 @@
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID, Token);

View File

@ -3,6 +3,6 @@
Result = OPI_Bitrix24.GetFolderFilterStructure(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetFolderFilterStructure(URL, True, Token);

View File

@ -4,6 +4,6 @@
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID, Token);

View File

@ -4,6 +4,6 @@
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID, , Token);

View File

@ -4,6 +4,6 @@
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID, Token);

View File

@ -3,6 +3,6 @@
Result = OPI_Bitrix24.GetKanbanStages(URL, , True);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetKanbanStages(URL, , , Token);

View File

@ -4,7 +4,7 @@
Result = OPI_Bitrix24.GetLead(URL, LeadID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
LeadID = "442";
Result = OPI_Bitrix24.GetLead(URL, LeadID, Token);

View File

@ -3,6 +3,6 @@
Result = OPI_Bitrix24.GetLeadStructure(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetLeadStructure(URL, Token);

View File

@ -3,7 +3,7 @@
Result = OPI_Bitrix24.GetLeadsList(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Filter = New Structure;
Filter.Insert("TITLE" , "MegaClient");

View File

@ -4,6 +4,6 @@
Result = OPI_Bitrix24.GetPosts(URL, PostID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetPosts(URL, PostID, , Token);

View File

@ -4,6 +4,6 @@
Result = OPI_Bitrix24.GetResultsList(URL, TaskID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetResultsList(URL, TaskID, Token);

View File

@ -4,6 +4,6 @@
Result = OPI_Bitrix24.GetStorage(URL, StorageID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetStorage(URL, StorageID, Token);

View File

@ -4,6 +4,6 @@
Result = OPI_Bitrix24.GetStorageObjects(URL, StorageID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetStorageObjects(URL, StorageID, Token);

View File

@ -2,6 +2,6 @@
Result = OPI_Bitrix24.GetStoragesList(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetStoragesList(URL, Token);

View File

@ -1,10 +1,10 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
TaskID = "2526";
TaskID = "2566";
Result = OPI_Bitrix24.GetTask(URL, TaskID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
TaskID = "2528";
Token = "67ac1467006e9f06006b12e400000001000...";
TaskID = "2568";
Result = OPI_Bitrix24.GetTask(URL, TaskID, Token);

View File

@ -5,7 +5,7 @@
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
CommentID = "6252";
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID, Token);

View File

@ -4,6 +4,6 @@
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID, Token);

View File

@ -3,6 +3,6 @@
Result = OPI_Bitrix24.GetTaskFieldsStructure(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetTaskFieldsStructure(URL, Token);

View File

@ -1,10 +1,10 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
TaskID = "2526";
TaskID = "2566";
Result = OPI_Bitrix24.GetTaskHistory(URL, TaskID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
TaskID = "2528";
Token = "67ac1467006e9f06006b12e400000001000...";
TaskID = "2568";
Result = OPI_Bitrix24.GetTaskHistory(URL, TaskID, Token);

View File

@ -5,7 +5,7 @@
Result = OPI_Bitrix24.GetTaskTimeAccounting(URL, TaskID, RecordID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
RecordID = "884";
Result = OPI_Bitrix24.GetTaskTimeAccounting(URL, TaskID, RecordID, Token);

View File

@ -4,6 +4,6 @@
Result = OPI_Bitrix24.GetTaskTimeAccountingList(URL, TaskID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetTaskTimeAccountingList(URL, TaskID, Token);

View File

@ -1,10 +1,10 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
TaskID = "2526";
TaskID = "2566";
Result = OPI_Bitrix24.GetTasksChecklist(URL, TaskID);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
TaskID = "2528";
Token = "67ac1467006e9f06006b12e400000001000...";
TaskID = "2568";
Result = OPI_Bitrix24.GetTasksChecklist(URL, TaskID, Token);

View File

@ -1,13 +1,13 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
TaskID = "2526";
ElementID = "1560";
TaskID = "2566";
ElementID = "1592";
Result = OPI_Bitrix24.GetTasksChecklistElement(URL, TaskID, ElementID);
TaskID = "2528";
ElementID = "1564";
TaskID = "2568";
ElementID = "1596";
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetTasksChecklistElement(URL, TaskID, ElementID, Token);

View File

@ -1,7 +1,10 @@
 // Full filter structure you can find at GetTasksFilterStructure method
Filter = New Structure;
Filter.Insert("CREATED_BY" , 1);
Filter.Insert("RESPONSIBLE_ID", 10);
 CurrentDate = OPI_Tools.GetCurrentDate();
// Full filter structure you can find at GetTasksFilterStructure method
Filter = New Map;
Filter.Insert("CREATED_BY" , 1); // Producer with ID 1
Filter.Insert("!RESPONSIBLE_ID", 10); // Performers with ID not equal to 10
Filter.Insert(">=CREATED_DATE ", CurrentDate - 60 * 60 * 24); // Creation date >= yesterday
Indent = 1;
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
@ -9,6 +12,6 @@
Result = OPI_Bitrix24.GetTasksList(URL, Filter);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.GetTasksList(URL, , Indent, Token);

View File

@ -3,7 +3,7 @@
Result = OPI_Bitrix24.GetTimekeepingSettings(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
UserID = 1;
Result = OPI_Bitrix24.GetTimekeepingSettings(URL, UserID, Token);

View File

@ -3,7 +3,7 @@
Result = OPI_Bitrix24.GetTimekeepingStatus(URL);
URL = "b24-ar17wx.bitrix24.by";
Token = "f69b1367006e9f06006b12e400000001000...";
Token = "67ac1467006e9f06006b12e400000001000...";
UserID = 1;
Result = OPI_Bitrix24.GetTimekeepingStatus(URL, UserID, Token);

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