mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-01-14 04:35:49 +02:00
Обновление перевода
This commit is contained in:
parent
e07c053e82
commit
c9ac066a57
24
ci/ostestru
24
ci/ostestru
@ -38,31 +38,11 @@ pipeline {
|
||||
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Твиттер_ПолучитьСсылкуАвторизации"'
|
||||
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Твиттер_ДанныеАккаунта"'
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Твиттер_ОбновитьТокен"'
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Твиттер_СоздатьТекстовыйТвит"'
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Твиттер_СоздатьТвитСКартинкой"'
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Твиттер_СоздатьТвитСВидео"'
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Твиттер_СоздатьТвитСГиф"'
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Твиттер_СоздатьТвитСОпросом"'
|
||||
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/ru/OInt/tests/Modules/internal/OPI_Тесты.os" "Твиттер_Твиты"'
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1,12 +1,12 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Type = "date";
|
||||
Name = "BIRTHDAY_FIELD";
|
||||
|
||||
Result = OPI_Bitrix24.AddCustomTaskField(URL, Type, Name);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Type = "string";
|
||||
Name = "TEXT_FIELD";
|
||||
|
@ -1,7 +1,7 @@
|
||||
Name = "New stage";
|
||||
Color = "0026FF";
|
||||
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, 6);
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
Name = "New stage 2";
|
||||
Color = "0026FF";
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, PrevStageID, , True, Token);
|
||||
|
@ -1,11 +1,11 @@
|
||||
Text = "Comment for post";
|
||||
PostID = FunctionParameters["Bitrix24_PostID"];
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
PostID = "604";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text);
|
||||
|
||||
Text = "Another comment";
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
Visibility = "UA";
|
||||
PostID = FunctionParameters["Bitrix24_PostID"];
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
PostID = "604";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility, Token);
|
||||
|
@ -1,12 +1,12 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_CommentsTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1518";
|
||||
|
||||
Text = "Task impossible, let's split up";
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskComment(URL, TaskID, Text);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Text = "Task uninpossible, don't split up";
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_ElapsedTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1524";
|
||||
|
||||
Time = 3600;
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskTimeAccounting(URL, TaskID, Time);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Text = "Time spent on work";
|
||||
UserID = 10;
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1514";
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
TaskID = "1516";
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID, Token);
|
||||
|
@ -1,12 +1,12 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1514";
|
||||
|
||||
Text = "Checklist element";
|
||||
|
||||
Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, True);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
TaskID = "1516";
|
||||
|
||||
Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, , Token);
|
||||
|
@ -1,5 +1,5 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "642";
|
||||
|
||||
UserIDs = New Array;
|
||||
UserIDs.Add(10);
|
||||
@ -7,9 +7,9 @@
|
||||
|
||||
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserIDs);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
ChatID = "644";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserID, True, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1514";
|
||||
|
||||
Result = OPI_Bitrix24.ApproveTask(URL, TaskID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
TaskID = "1516";
|
||||
|
||||
Result = OPI_Bitrix24.ApproveTask(URL, TaskID, Token);
|
||||
|
@ -1,11 +1,11 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
FileID = FunctionParameters["Bitrix24_TaskFileID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1514";
|
||||
FileID = "7576";
|
||||
|
||||
Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
TaskID = "1516";
|
||||
|
||||
Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID, Token);
|
||||
|
@ -1,13 +1,13 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "642";
|
||||
|
||||
Color = "AZURE";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatColor(URL, ChatID, Color);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
ChatID = "644";
|
||||
|
||||
Color = "PURPLE";
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "642";
|
||||
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
ChatID = "644";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID, Token);
|
||||
|
@ -1,12 +1,12 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "642";
|
||||
|
||||
Image = FunctionParameters["Picture2"];
|
||||
Image = "https://openintegrations.dev/test_data/picture2.jpg";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
ChatID = "644";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image, Token);
|
||||
|
@ -1,13 +1,13 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "642";
|
||||
|
||||
Title = "New chat title";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatTitle(URL, ChatID, Title);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
ChatID = "644";
|
||||
|
||||
Title = "Another title";
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
UserID = FunctionParameters["Bitrix24_HookUserID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
UserID = "260";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeUserStatus(URL, UserID, True);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
UserID = FunctionParameters["Bitrix24_UserID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
UserID = "262";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeUserStatus(URL, UserID, True, Token);
|
||||
|
@ -2,13 +2,13 @@
|
||||
ArrayOfUsers.Add("1");
|
||||
ArrayOfUsers.Add("10");
|
||||
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1514";
|
||||
|
||||
Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
TaskID = "1516";
|
||||
|
||||
Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1514";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTask(URL, TaskID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
TaskID = "1516";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTask(URL, TaskID, Token);
|
||||
|
@ -1,13 +1,13 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
ElementID = FunctionParameters["Bitrix24_HookCheckElementID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1514";
|
||||
ElementID = "748";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTasksChecklistElement(URL, TaskID, ElementID);
|
||||
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
ElementID = FunctionParameters["Bitrix24_CheckElementID"];
|
||||
TaskID = "1516";
|
||||
ElementID = "752";
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTasksChecklistElement(URL, TaskID, ElementID, Token);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Image = FunctionParameters["Picture"];
|
||||
Image = "https://openintegrations.dev/test_data/picture.jpg";
|
||||
OPI_TypeConversion.GetBinaryData(Image);
|
||||
|
||||
B64Image = GetBase64StringFromBinaryData(Image);
|
||||
@ -17,12 +17,12 @@
|
||||
ChatStructure.Insert("AVATAR" , B64Image);
|
||||
ChatStructure.Insert("OWNER_ID" , 1);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateChat(URL, ChatStructure);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
ChatStructure = New Structure;
|
||||
ChatStructure.Insert("TYPE" , "CHAT");
|
||||
|
@ -13,14 +13,14 @@
|
||||
FieldsStructure.Insert("BEGINDATE" , "2024-01-01");
|
||||
FieldsStructure.Insert("CLOSEDATE" , "2030-01-01");
|
||||
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateDeal(URL, FieldsStructure);
|
||||
|
||||
FieldsStructure.Insert("TITLE" , "Another deal");
|
||||
FieldsStructure.Insert("CLOSEDATE", "2031-01-01");
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateDeal(URL, FieldsStructure, Token);
|
||||
|
@ -1,15 +1,15 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Name = "Main department";
|
||||
ParentID = 1;
|
||||
|
||||
Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Name = "Subordinate department";
|
||||
ParentID = FunctionParameters["Bitrix24_HookDepID"];
|
||||
ParentID = "246";
|
||||
HeadID = 1;
|
||||
|
||||
Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID, HeadID, Token);
|
||||
|
@ -14,14 +14,14 @@
|
||||
FieldsStructure.Insert("PHONE" , PhonesArray);
|
||||
FieldsStructure.Insert("TITLE" , "MegaClient");
|
||||
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateLead(URL, FieldsStructure);
|
||||
|
||||
FieldsStructure.Insert("NAME" , "Ivan");
|
||||
FieldsStructure.Insert("LAST_NAME" , "Ivanov");
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateLead(URL, FieldsStructure, Token);
|
||||
|
@ -1,6 +1,6 @@
|
||||
UserID = 1;
|
||||
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
Text = "Message text";
|
||||
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";
|
||||
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
|
||||
@ -11,8 +11,8 @@
|
||||
|
||||
Result = OPI_Bitrix24.CreatePersonalNotification(URL, UserID, Text, ,Attachments);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
Tag = "New";
|
||||
UserID = 10;
|
||||
|
||||
|
@ -1,17 +1,17 @@
|
||||
Text = "Text of post";
|
||||
Title = "Post title";
|
||||
Image1 = FunctionParameters["Picture"]; // URL, Path or Binary Data
|
||||
Image2 = FunctionParameters["Picture2"]; // URL, Path or Binary Data
|
||||
Image1 = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
Image2 = "https://openintegrations.dev/test_data/picture2.jpg"; // URL, Path or Binary Data
|
||||
|
||||
Files = New Map;
|
||||
Files.Insert("1.png", Image1);
|
||||
Files.Insert("2.png", Image2);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, True);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, , Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
CommentID = FunctionParameters["Bitrix24_HookCommentID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
CommentID = "3974";
|
||||
|
||||
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
CommentID = FunctionParameters["Bitrix24_CommentID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
CommentID = "3976";
|
||||
|
||||
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID, Token);
|
||||
|
@ -2,11 +2,11 @@
|
||||
Name = "New catalog";
|
||||
Filename2 = "New folder 2";
|
||||
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateStorageFolder(URL, StorageID, Filename2);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateStorageFolder(URL, StorageID, Name, Token);
|
||||
|
@ -1,12 +1,12 @@
|
||||
FolderID = FunctionParameters["Bitrix24_FolderID"];
|
||||
FolderID = "7586";
|
||||
Name = "New subfolder";
|
||||
Filename2 = "New subfolder 2";
|
||||
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateSubfolder(URL, FolderID, Filename2);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateSubfolder(URL, FolderID, Name, Token);
|
||||
|
@ -1,6 +1,6 @@
|
||||
UserID = 1;
|
||||
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
Text = "Message text";
|
||||
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";
|
||||
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
|
||||
@ -11,8 +11,8 @@
|
||||
|
||||
Result = OPI_Bitrix24.CreateSystemNotification(URL, UserID, Text, ,Attachments);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
Tag = "New";
|
||||
UserID = 10;
|
||||
|
||||
|
@ -12,11 +12,11 @@
|
||||
TaskData.Insert("DEADLINE" , CurrentDate + Hour * Day);
|
||||
TaskData.Insert("RESPONSIBLE_ID", Responsible);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateTask(URL, TaskData);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateTask(URL, TaskData, Token);
|
||||
|
@ -1,16 +1,16 @@
|
||||
FromID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
DestinationID = FunctionParameters["Bitrix24_TaskID"];
|
||||
FromID = "1514";
|
||||
DestinationID = "1516";
|
||||
LinkType = 0;
|
||||
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateTasksDependencies(URL, FromID, DestinationID, LinkType);
|
||||
|
||||
FromID = FunctionParameters["Bitrix24_TaskID"];
|
||||
DestinationID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
FromID = "1516";
|
||||
DestinationID = "1514";
|
||||
LinkType = 2;
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateTasksDependencies(URL, FromID, DestinationID, LinkType, Token);
|
||||
|
@ -1,4 +1,4 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
Email = String(New UUID) + "@exepmple.org";
|
||||
// The full structure can be obtained with the function GetUserFieldsStructure
|
||||
|
||||
@ -8,8 +8,8 @@
|
||||
|
||||
Result = OPI_Bitrix24.CreateUser(URL, UserStructure);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
Email = String(New UUID) + "@exepmple.org";
|
||||
|
||||
UserStructure = New Structure;
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1514";
|
||||
|
||||
Result = OPI_Bitrix24.DeferTask(URL, TaskID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
TaskID = "1516";
|
||||
|
||||
Result = OPI_Bitrix24.DeferTask(URL, TaskID, Token);
|
||||
|
@ -1,11 +1,11 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
UserID = FunctionParameters["Bitrix24_UserID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1514";
|
||||
UserID = "262";
|
||||
|
||||
Result = OPI_Bitrix24.DelegateTask(URL, TaskID, UserID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
TaskID = "1516";
|
||||
|
||||
Result = OPI_Bitrix24.DelegateTask(URL, TaskID, UserID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
FieldID = FunctionParameters["Bitrix24_HookTaskFieldID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FieldID = "255";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
FieldID = FunctionParameters["Bitrix24_TaskFieldID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
FieldID = "257";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID, );
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
DealID = FunctionParameters["Bitrix24_HookDealID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
DealID = "80";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteDeal(URL, DealID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
DealID = FunctionParameters["Bitrix24_DealID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
DealID = "82";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteDeal(URL, DealID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
DepartmentID = FunctionParameters["Bitrix24_DepID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
DepartmentID = "248";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteDepartment(URL, DepartmentID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
DepartmentID = FunctionParameters["Bitrix24_HookDepID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
DepartmentID = "246";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteDepartment(URL, DepartmentID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
FileID = FunctionParameters["Bitrix24_HookFileID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FileID = "7578";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFile(URL, FileID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
FileID = FunctionParameters["Bitrix24_FileID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
FileID = "7580";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFile(URL, FileID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
FolderID = FunctionParameters["Bitrix24_HookFolderID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "7584";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
FolderID = FunctionParameters["Bitrix24_FolderID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
FolderID = "7586";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID, Token);
|
||||
|
@ -1,12 +1,12 @@
|
||||
StageID = FunctionParameters["Bitrix24_HookStageID"];
|
||||
StageID = "498";
|
||||
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID, True);
|
||||
|
||||
StageID = FunctionParameters["Bitrix24_StageID"];
|
||||
StageID = "500";
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID, , Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
LeadID = FunctionParameters["Bitrix24_HookLeadID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
LeadID = "48";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteLead(URL, LeadID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
LeadID = FunctionParameters["Bitrix24_LeadID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
LeadID = "50";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteLead(URL, LeadID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
MessageID = FunctionParameters["Bitrix24_ChatMessageID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
MessageID = "11572";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
MessageID = FunctionParameters["Bitrix24_UserMessageID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
MessageID = "11574";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
NotificationID = FunctionParameters["Bitrix24_PersoalHookNotifyID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
NotificationID = "11422";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteNotification(URL, NotificationID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
NotificationID = FunctionParameters["Bitrix24_PersoalNotifyID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
NotificationID = "11424";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteNotification(URL, NotificationID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
PostID = FunctionParameters["Bitrix24_HookPostID"];
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
PostID = "602";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.DeletePost(URL, PostID);
|
||||
|
||||
PostID = FunctionParameters["Bitrix24_PostID"];
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
PostID = "604";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.DeletePost(URL, PostID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
CommentID = FunctionParameters["Bitrix24_HookCommentID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
CommentID = "3974";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
CommentID = FunctionParameters["Bitrix24_CommentID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
CommentID = "3976";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1514";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTask(URL, TaskID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
TaskID = "1516";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTask(URL, TaskID, Token);
|
||||
|
@ -1,11 +1,11 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_CommentsTaskID"];
|
||||
CommentID = FunctionParameters["Bitrix24_HookCommentID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1518";
|
||||
CommentID = "3974";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
CommentID = FunctionParameters["Bitrix24_CommentID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
CommentID = "3976";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID, Token);
|
||||
|
@ -1,11 +1,11 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_ElapsedTaskID"];
|
||||
RecordID = FunctionParameters["Bitrix24_HookTimeID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1524";
|
||||
RecordID = "482";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskTimeAccounting(URL, TaskID, RecordID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
RecordID = FunctionParameters["Bitrix24_TimeID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
RecordID = "484";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskTimeAccounting(URL, TaskID, RecordID, Token);
|
||||
|
@ -1,13 +1,13 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
ElementID = FunctionParameters["Bitrix24_HookCheckElementID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1514";
|
||||
ElementID = "748";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTasksChecklistElement(URL, TaskID, ElementID);
|
||||
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
ElementID = FunctionParameters["Bitrix24_CheckElementID"];
|
||||
TaskID = "1516";
|
||||
ElementID = "752";
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTasksChecklistElement(URL, TaskID, ElementID, Token);
|
||||
|
@ -1,12 +1,12 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "642";
|
||||
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
ChatID = "644";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "642";
|
||||
|
||||
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
ChatID = "644";
|
||||
|
||||
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1514";
|
||||
|
||||
Result = OPI_Bitrix24.DisapproveTask(URL, TaskID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
TaskID = "1516";
|
||||
|
||||
Result = OPI_Bitrix24.DisapproveTask(URL, TaskID, Token);
|
||||
|
@ -1,13 +1,13 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
MessageID = FunctionParameters["Bitrix24_ChatMessageID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
MessageID = "11572";
|
||||
|
||||
Text = "New message text";
|
||||
|
||||
Result = OPI_Bitrix24.EditMessage(URL, MessageID, Text);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
MessageID = FunctionParameters["Bitrix24_UserMessageID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
MessageID = "11574";
|
||||
|
||||
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";
|
||||
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "642";
|
||||
|
||||
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
ChatID = "644";
|
||||
|
||||
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID, Token);
|
||||
|
@ -1,4 +1,4 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
FilterStructure = New Structure;
|
||||
FilterStructure.Insert("NAME" , "Vitaly");
|
||||
@ -9,8 +9,8 @@
|
||||
|
||||
Result = OPI_Bitrix24.FindUsers(URL, FilterStructure);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
FilterStructure = New Structure;
|
||||
FilterStructure.Insert("UF_DEPARTMENT_NAME", "Bitrix");
|
||||
|
@ -1,4 +1,4 @@
|
||||
Domain = FunctionParameters["Bitrix24_Domain"];
|
||||
ClientID = FunctionParameters["Bitrix24_ClientID"];
|
||||
Domain = "b24-ar17wx.bitrix24.by";
|
||||
ClientID = "local.6667fc928a50a9.70414732";
|
||||
|
||||
Result = OPI_Bitrix24.GetAppAuthLink(Domain, ClientID);
|
||||
|
@ -1,4 +1,4 @@
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetAppSotrage(URL, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "642";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
ChatID = "644";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = "chat" + FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "chat" + "642";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMembersList(URL, ChatID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMembersList(URL, UserID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "chat4";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMessagesList(URL, ChatID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMessagesList(URL, UserID, , 0, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "642";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
ChatID = "644";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID, Token);
|
||||
|
@ -1,8 +1,8 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetCurrentUser(URL);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetCurrentUser(URL, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
FieldID = FunctionParameters["Bitrix24_HookTaskFieldID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FieldID = "255";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
FieldID = FunctionParameters["Bitrix24_TaskFieldID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
FieldID = "257";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID, );
|
||||
|
@ -1,8 +1,8 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
|
||||
|
@ -1,8 +1,8 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetDailyPlan(URL);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetDailyPlan(URL, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
DealID = FunctionParameters["Bitrix24_HookDealID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
DealID = "80";
|
||||
|
||||
Result = OPI_Bitrix24.GetDeal(URL, DealID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
DealID = FunctionParameters["Bitrix24_HookDealID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
DealID = "80";
|
||||
|
||||
Result = OPI_Bitrix24.GetDeal(URL, DealID, Token);
|
||||
|
@ -1,8 +1,8 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetDealStructure(URL);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetDealStructure(URL, Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetDealsList(URL);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Filter = New Structure;
|
||||
Filter.Insert("TITLE" , "Sale in RUB");
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
DepartmentID = FunctionParameters["Bitrix24_DepID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
DepartmentID = "248";
|
||||
|
||||
Result = OPI_Bitrix24.GetDepartments(URL, DepartmentID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
HeadID = 1;
|
||||
|
||||
Result = OPI_Bitrix24.GetDepartments(URL, , , , HeadID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = "chat" + FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "chat" + "642";
|
||||
|
||||
Result = OPI_Bitrix24.GetDialog(URL, ChatID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.GetDialog(URL, UserID, Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
FileID = FunctionParameters["Bitrix24_FileID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FileID = "7580";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID, Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
FileID = FunctionParameters["Bitrix24_FileID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FileID = "7580";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileInformation(URL, FileID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileInformation(URL, FileID, Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
FolderID = FunctionParameters["Bitrix24_FolderID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "7586";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID, Token);
|
||||
|
@ -1,8 +1,8 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderFilterStructure(URL);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderFilterStructure(URL, True, Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
FolderID = FunctionParameters["Bitrix24_FolderID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "7586";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID, Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
FolderID = FunctionParameters["Bitrix24_FolderID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "7586";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID, , Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
PostID = FunctionParameters["Bitrix24_HookPostID"];
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
PostID = "602";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID, Token);
|
||||
|
@ -1,8 +1,8 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetKanbanStages(URL, , True);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetKanbanStages(URL, , , Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
LeadID = FunctionParameters["Bitrix24_HookLeadID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
LeadID = "48";
|
||||
|
||||
Result = OPI_Bitrix24.GetLead(URL, LeadID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
LeadID = FunctionParameters["Bitrix24_LeadID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
LeadID = "50";
|
||||
|
||||
Result = OPI_Bitrix24.GetLead(URL, LeadID, Token);
|
||||
|
@ -1,8 +1,8 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetLeadStructure(URL);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetLeadStructure(URL, Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetLeadsList(URL);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Filter = New Structure;
|
||||
Filter.Insert("TITLE" , "MegaClient");
|
||||
|
@ -1,9 +1,9 @@
|
||||
PostID = FunctionParameters["Bitrix24_PostID"];
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
PostID = "604";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetPosts(URL, PostID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetPosts(URL, PostID, , Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_CommentsTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1518";
|
||||
|
||||
Result = OPI_Bitrix24.GetResultsList(URL, TaskID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetResultsList(URL, TaskID, Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
StorageID = 3;
|
||||
|
||||
Result = OPI_Bitrix24.GetStorage(URL, StorageID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetStorage(URL, StorageID, Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
StorageID = 3;
|
||||
|
||||
Result = OPI_Bitrix24.GetStorageObjects(URL, StorageID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetStorageObjects(URL, StorageID, Token);
|
||||
|
@ -1,7 +1,7 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
Result = OPI_Bitrix24.GetStoragesList(URL);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetStoragesList(URL, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1514";
|
||||
|
||||
Result = OPI_Bitrix24.GetTask(URL, TaskID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
TaskID = "1516";
|
||||
|
||||
Result = OPI_Bitrix24.GetTask(URL, TaskID, Token);
|
||||
|
@ -1,11 +1,11 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
CommentID = FunctionParameters["Bitrix24_HookCommentID"];
|
||||
TaskID = FunctionParameters["Bitrix24_CommentsTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
CommentID = "3974";
|
||||
TaskID = "1518";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
CommentID = FunctionParameters["Bitrix24_CommentID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
CommentID = "3976";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID, Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_CommentsTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1518";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID, Token);
|
||||
|
@ -1,8 +1,8 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskFieldsStructure(URL);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskFieldsStructure(URL, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1514";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskHistory(URL, TaskID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
TaskID = "1516";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskHistory(URL, TaskID, Token);
|
||||
|
@ -1,11 +1,11 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_ElapsedTaskID"];
|
||||
RecordID = FunctionParameters["Bitrix24_HookTimeID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1524";
|
||||
RecordID = "482";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskTimeAccounting(URL, TaskID, RecordID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
RecordID = FunctionParameters["Bitrix24_TimeID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
RecordID = "484";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskTimeAccounting(URL, TaskID, RecordID, Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_ElapsedTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1524";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskTimeAccountingList(URL, TaskID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskTimeAccountingList(URL, TaskID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1514";
|
||||
|
||||
Result = OPI_Bitrix24.GetTasksChecklist(URL, TaskID);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
TaskID = "1516";
|
||||
|
||||
Result = OPI_Bitrix24.GetTasksChecklist(URL, TaskID, Token);
|
||||
|
@ -1,13 +1,13 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
ElementID = FunctionParameters["Bitrix24_HookCheckElementID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "1514";
|
||||
ElementID = "748";
|
||||
|
||||
Result = OPI_Bitrix24.GetTasksChecklistElement(URL, TaskID, ElementID);
|
||||
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
ElementID = FunctionParameters["Bitrix24_CheckElementID"];
|
||||
TaskID = "1516";
|
||||
ElementID = "752";
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetTasksChecklistElement(URL, TaskID, ElementID, Token);
|
||||
|
@ -4,11 +4,11 @@
|
||||
Filter.Insert("RESPONSIBLE_ID", 10);
|
||||
|
||||
Indent = 1;
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetTasksList(URL, Filter);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetTasksList(URL, , Indent, Token);
|
||||
|
@ -1,11 +1,11 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetTimekeepingSettings(URL);
|
||||
|
||||
Hour = 3600;
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
UserID = 1;
|
||||
|
||||
Result = OPI_Bitrix24.GetTimekeepingSettings(URL, UserID);
|
||||
|
@ -1,11 +1,11 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetTimekeepingStatus(URL);
|
||||
|
||||
Hour = 3600;
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||
UserID = 1;
|
||||
|
||||
Result = OPI_Bitrix24.GetTimekeepingStatus(URL, UserID);
|
||||
|
@ -1,5 +1,5 @@
|
||||
ClientID = FunctionParameters["Bitrix24_ClientID"];
|
||||
ClientSecret = FunctionParameters["Bitrix24_ClientSecret"];
|
||||
Code = FunctionParameters["Bitrix24_Code"];
|
||||
ClientID = "local.6667fc928a50a9.70414732";
|
||||
ClientSecret = "ZeKyeYIgy2NsHZqsIHY6GfG1V...";
|
||||
Code = "2b096866006e9f06006b12e400000001000007fc1bc681f7ed7f13f2d449980628008c";
|
||||
|
||||
Result = OPI_Bitrix24.GetToken(ClientID, ClientSecret, Code);
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user