mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-27 02:43:54 +02:00
Main build (Jenkins)
This commit is contained in:
parent
0136c55ef3
commit
8c67be7a90
@ -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') {
|
||||
|
@ -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') {
|
||||
|
@ -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";
|
||||
|
@ -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);
|
||||
|
@ -6,6 +6,6 @@
|
||||
|
||||
Text = "Another comment";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "f69b1367006e9f06006b12e400000001000...";
|
||||
Token = "67ac1467006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text, Token);
|
||||
|
@ -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);
|
||||
|
@ -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";
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -8,7 +8,7 @@
|
||||
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserIDs);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "f69b1367006e9f06006b12e400000001000...";
|
||||
Token = "67ac1467006e9f06006b12e400000001000...";
|
||||
ChatID = "1044";
|
||||
UserID = 10;
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -6,7 +6,7 @@
|
||||
Result = OPI_Bitrix24.ChangeChatColor(URL, ChatID, Color);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "f69b1367006e9f06006b12e400000001000...";
|
||||
Token = "67ac1467006e9f06006b12e400000001000...";
|
||||
|
||||
Color = "PURPLE";
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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";
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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");
|
||||
|
@ -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);
|
||||
|
@ -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";
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -7,6 +7,6 @@
|
||||
StageID = "894";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "f69b1367006e9f06006b12e400000001000...";
|
||||
Token = "67ac1467006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID, , Token);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -5,6 +5,6 @@
|
||||
|
||||
PostID = "998";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "f69b1367006e9f06006b12e400000001000...";
|
||||
Token = "67ac1467006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.DeletePost(URL, PostID, Token);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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";
|
||||
|
@ -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);
|
||||
|
@ -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");
|
||||
|
@ -1,4 +1,4 @@
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "f69b1367006e9f06006b12e400000001000...";
|
||||
Token = "67ac1467006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetAppSotrage(URL, Token);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -3,6 +3,6 @@
|
||||
Result = OPI_Bitrix24.GetCurrentUser(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "f69b1367006e9f06006b12e400000001000...";
|
||||
Token = "67ac1467006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetCurrentUser(URL, Token);
|
||||
|
@ -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);
|
||||
|
@ -3,6 +3,6 @@
|
||||
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "f69b1367006e9f06006b12e400000001000...";
|
||||
Token = "67ac1467006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL, Token);
|
||||
|
@ -3,6 +3,6 @@
|
||||
Result = OPI_Bitrix24.GetDailyPlan(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "f69b1367006e9f06006b12e400000001000...";
|
||||
Token = "67ac1467006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetDailyPlan(URL, Token);
|
||||
|
@ -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);
|
||||
|
@ -3,6 +3,6 @@
|
||||
Result = OPI_Bitrix24.GetDealStructure(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "f69b1367006e9f06006b12e400000001000...";
|
||||
Token = "67ac1467006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetDealStructure(URL, Token);
|
||||
|
@ -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");
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -3,6 +3,6 @@
|
||||
Result = OPI_Bitrix24.GetLeadStructure(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "f69b1367006e9f06006b12e400000001000...";
|
||||
Token = "67ac1467006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetLeadStructure(URL, Token);
|
||||
|
@ -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");
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -2,6 +2,6 @@
|
||||
Result = OPI_Bitrix24.GetStoragesList(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "f69b1367006e9f06006b12e400000001000...";
|
||||
Token = "67ac1467006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetStoragesList(URL, Token);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -3,6 +3,6 @@
|
||||
Result = OPI_Bitrix24.GetTaskFieldsStructure(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "f69b1367006e9f06006b12e400000001000...";
|
||||
Token = "67ac1467006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskFieldsStructure(URL, Token);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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
Loading…
Reference in New Issue
Block a user