mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-27 02:43:54 +02:00
Переработка тестов Notion
This commit is contained in:
parent
ef8b7a1367
commit
865ab5108e
20
ci/ostesten
20
ci/ostesten
@ -366,22 +366,6 @@ pipeline {
|
||||
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "Notion_CreateEditDatabase"'
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "Notion_GetPageInfo"'
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "Notion_GetDatabaseInfo"'
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "Notion_CreatePageInDatabase"'
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "Notion_EditPageProperties"'
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "Notion_CreateDeleteBlock"'
|
||||
}
|
||||
@ -390,10 +374,6 @@ pipeline {
|
||||
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "Notion_GetUsers"'
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'1testrunner -run "./src/en/OInt/tests/Modules/internal/OPI_Tests.os" "Notion_GetUserData"'
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
20
ci/ostestru
20
ci/ostestru
@ -366,22 +366,6 @@ pipeline {
|
||||
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" "Ноушн_СоздатьУдалитьБлок"'
|
||||
}
|
||||
@ -390,10 +374,6 @@ pipeline {
|
||||
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" "Ноушн_ПолучитьДанныеПользователя"'
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
{
|
||||
"Token": "secret_9RsfMrRMqZwqp0Zl0B...",
|
||||
"Parent": "5dd94c34fab04bff9..."
|
||||
"Parent": "5dd94c34fab04bff9...",
|
||||
"Block": "d7021bdd15b944ababcb02bd2b1a5f6a"
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
{
|
||||
"Token": "secret_9RsfMrRMqZwqp0Zl0B...",
|
||||
"Base": "178907f7d87441959771e805344339f5",
|
||||
"Image_": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg",
|
||||
"Parent": "5dd94c34fab04bff9..."
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
{
|
||||
"Token": "secret_9RsfMrRMqZwqp0Zl0B...",
|
||||
"User": "ed71865a-9891-46bc-86cd-a92aa499cfdb",
|
||||
"UserID": "ed71865a989146bc86cdwdf24..."
|
||||
}
|
3
docs/en/data/Notion/GetUsers.json
Normal file
3
docs/en/data/Notion/GetUsers.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"Token": "secret_9RsfMrRMqZwqp0Zl0B..."
|
||||
}
|
@ -6,7 +6,7 @@
|
||||
Result = OPI_Bitrix24.AddCustomTaskField(URL, Type, Name);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Type = "string";
|
||||
Name = "TEXT_FIELD";
|
||||
|
@ -11,6 +11,6 @@
|
||||
Color = "0026FF";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, PrevStageID, , True, Token);
|
||||
|
@ -1,11 +1,11 @@
|
||||
Text = "Comment for post";
|
||||
PostID = "836";
|
||||
PostID = "862";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text);
|
||||
|
||||
Text = "Another comment";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
Visibility = "UA";
|
||||
PostID = "836";
|
||||
PostID = "862";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility, Token);
|
||||
|
@ -1,12 +1,12 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2108";
|
||||
TaskID = "2176";
|
||||
|
||||
Text = "Task impossible, let's split up";
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskComment(URL, TaskID, Text);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Text = "Task uninpossible, don't split up";
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2112";
|
||||
TaskID = "2180";
|
||||
|
||||
Time = 3600;
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskTimeAccounting(URL, TaskID, Time);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Text = "Time spent on work";
|
||||
UserID = 10;
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2104";
|
||||
TaskID = "2172";
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
TaskID = "2106";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
TaskID = "2174";
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID, Token);
|
||||
|
@ -1,12 +1,12 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2104";
|
||||
TaskID = "2172";
|
||||
|
||||
Text = "Checklist element";
|
||||
|
||||
Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, True);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
TaskID = "2106";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
TaskID = "2174";
|
||||
|
||||
Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, , Token);
|
||||
|
@ -1,5 +1,5 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "872";
|
||||
ChatID = "898";
|
||||
|
||||
UserIDs = New Array;
|
||||
UserIDs.Add(10);
|
||||
@ -8,8 +8,8 @@
|
||||
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserIDs);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
ChatID = "874";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
ChatID = "900";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserID, True, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2104";
|
||||
TaskID = "2172";
|
||||
|
||||
Result = OPI_Bitrix24.ApproveTask(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
TaskID = "2106";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
TaskID = "2174";
|
||||
|
||||
Result = OPI_Bitrix24.ApproveTask(URL, TaskID, Token);
|
||||
|
@ -1,11 +1,11 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2104";
|
||||
FileID = "10832";
|
||||
TaskID = "2172";
|
||||
FileID = "11250";
|
||||
|
||||
Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
TaskID = "2106";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
TaskID = "2174";
|
||||
|
||||
Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID, Token);
|
||||
|
@ -1,12 +1,12 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "872";
|
||||
ChatID = "898";
|
||||
|
||||
Color = "AZURE";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatColor(URL, ChatID, Color);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Color = "PURPLE";
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "872";
|
||||
ChatID = "898";
|
||||
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
ChatID = "874";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
ChatID = "900";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID, Token);
|
||||
|
@ -1,12 +1,12 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "872";
|
||||
ChatID = "898";
|
||||
|
||||
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
ChatID = "874";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
ChatID = "900";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image, Token);
|
||||
|
@ -1,13 +1,13 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "872";
|
||||
ChatID = "898";
|
||||
|
||||
Title = "New chat title";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatTitle(URL, ChatID, Title);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
ChatID = "874";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
ChatID = "900";
|
||||
|
||||
Title = "Another title";
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
UserID = "490";
|
||||
UserID = "516";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeUserStatus(URL, UserID, True);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
UserID = "492";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
UserID = "518";
|
||||
|
||||
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 = "2104";
|
||||
TaskID = "2172";
|
||||
|
||||
Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
TaskID = "2106";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
TaskID = "2174";
|
||||
|
||||
Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2104";
|
||||
TaskID = "2172";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTask(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
TaskID = "2106";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
TaskID = "2174";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTask(URL, TaskID, Token);
|
||||
|
@ -1,13 +1,13 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2104";
|
||||
ElementID = "1218";
|
||||
TaskID = "2172";
|
||||
ElementID = "1272";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTasksChecklistElement(URL, TaskID, ElementID);
|
||||
|
||||
TaskID = "2106";
|
||||
ElementID = "1222";
|
||||
TaskID = "2174";
|
||||
ElementID = "1276";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTasksChecklistElement(URL, TaskID, ElementID, Token);
|
||||
|
@ -22,7 +22,7 @@
|
||||
Result = OPI_Bitrix24.CreateChat(URL, ChatStructure);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
ChatStructure = New Structure;
|
||||
ChatStructure.Insert("TYPE" , "CHAT");
|
||||
|
@ -21,6 +21,6 @@
|
||||
FieldsStructure.Insert("CLOSEDATE", "2031-01-01");
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateDeal(URL, FieldsStructure, Token);
|
||||
|
@ -6,10 +6,10 @@
|
||||
Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Name = "Subordinate department";
|
||||
ParentID = "478";
|
||||
ParentID = "504";
|
||||
HeadID = 1;
|
||||
|
||||
Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID, HeadID, Token);
|
||||
|
@ -22,6 +22,6 @@
|
||||
FieldsStructure.Insert("LAST_NAME" , "Ivanov");
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
Tag = "New";
|
||||
UserID = 10;
|
||||
|
||||
|
@ -12,6 +12,6 @@
|
||||
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, True);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, , Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
CommentID = "5286";
|
||||
CommentID = "5444";
|
||||
|
||||
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
CommentID = "5288";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
CommentID = "5446";
|
||||
|
||||
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID, Token);
|
||||
|
@ -7,6 +7,6 @@
|
||||
Result = OPI_Bitrix24.CreateStorageFolder(URL, StorageID, Filename2);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateStorageFolder(URL, StorageID, Name, Token);
|
||||
|
@ -1,4 +1,4 @@
|
||||
FolderID = "10842";
|
||||
FolderID = "11260";
|
||||
Name = "New subfolder";
|
||||
Filename2 = "New subfolder 2";
|
||||
|
||||
@ -7,6 +7,6 @@
|
||||
Result = OPI_Bitrix24.CreateSubfolder(URL, FolderID, Filename2);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
Tag = "New";
|
||||
UserID = 10;
|
||||
|
||||
|
@ -17,6 +17,6 @@
|
||||
Result = OPI_Bitrix24.CreateTask(URL, TaskData);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateTask(URL, TaskData, Token);
|
||||
|
@ -1,16 +1,16 @@
|
||||
FromID = "2104";
|
||||
DestinationID = "2106";
|
||||
FromID = "2172";
|
||||
DestinationID = "2174";
|
||||
LinkType = 0;
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateTasksDependencies(URL, FromID, DestinationID, LinkType);
|
||||
|
||||
FromID = "2106";
|
||||
DestinationID = "2104";
|
||||
FromID = "2174";
|
||||
DestinationID = "2172";
|
||||
LinkType = 2;
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
Email = String(New UUID) + "@exepmple.org";
|
||||
|
||||
UserStructure = New Structure;
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2104";
|
||||
TaskID = "2172";
|
||||
|
||||
Result = OPI_Bitrix24.DeferTask(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
TaskID = "2106";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
TaskID = "2174";
|
||||
|
||||
Result = OPI_Bitrix24.DeferTask(URL, TaskID, Token);
|
||||
|
@ -1,11 +1,11 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2104";
|
||||
UserID = "492";
|
||||
TaskID = "2172";
|
||||
UserID = "518";
|
||||
|
||||
Result = OPI_Bitrix24.DelegateTask(URL, TaskID, UserID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
TaskID = "2106";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
TaskID = "2174";
|
||||
|
||||
Result = OPI_Bitrix24.DelegateTask(URL, TaskID, UserID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FieldID = "255";
|
||||
FieldID = "259";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
FieldID = "257";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
FieldID = "261";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID, );
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
DealID = "542";
|
||||
DealID = "596";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteDeal(URL, DealID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
DealID = "544";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
DealID = "598";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteDeal(URL, DealID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
DepartmentID = "480";
|
||||
DepartmentID = "506";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteDepartment(URL, DepartmentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
DepartmentID = "478";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
DepartmentID = "504";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteDepartment(URL, DepartmentID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FileID = "10834";
|
||||
FileID = "11252";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFile(URL, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
FileID = "10836";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
FileID = "11254";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFile(URL, FileID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "10840";
|
||||
FolderID = "11258";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
FolderID = "10842";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
FolderID = "11260";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID, Token);
|
||||
|
@ -1,12 +1,12 @@
|
||||
StageID = "730";
|
||||
StageID = "756";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID, True);
|
||||
|
||||
StageID = "732";
|
||||
StageID = "758";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID, , Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
LeadID = "278";
|
||||
LeadID = "304";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteLead(URL, LeadID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
LeadID = "280";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
LeadID = "306";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteLead(URL, LeadID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
MessageID = "15660";
|
||||
MessageID = "16160";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
MessageID = "15662";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
MessageID = "16162";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
NotificationID = "15668";
|
||||
NotificationID = "16168";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteNotification(URL, NotificationID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
NotificationID = "15670";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
NotificationID = "16170";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteNotification(URL, NotificationID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
PostID = "834";
|
||||
PostID = "860";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.DeletePost(URL, PostID);
|
||||
|
||||
PostID = "836";
|
||||
PostID = "862";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.DeletePost(URL, PostID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
CommentID = "5286";
|
||||
CommentID = "5444";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
CommentID = "5288";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
CommentID = "5446";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2104";
|
||||
TaskID = "2172";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTask(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
TaskID = "2106";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
TaskID = "2174";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTask(URL, TaskID, Token);
|
||||
|
@ -1,11 +1,11 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2108";
|
||||
CommentID = "5286";
|
||||
TaskID = "2176";
|
||||
CommentID = "5444";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
CommentID = "5288";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
CommentID = "5446";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID, Token);
|
||||
|
@ -1,11 +1,11 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2112";
|
||||
RecordID = "714";
|
||||
TaskID = "2180";
|
||||
RecordID = "740";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskTimeAccounting(URL, TaskID, RecordID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
RecordID = "716";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
RecordID = "742";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskTimeAccounting(URL, TaskID, RecordID, Token);
|
||||
|
@ -1,13 +1,13 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2104";
|
||||
ElementID = "1218";
|
||||
TaskID = "2172";
|
||||
ElementID = "1272";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTasksChecklistElement(URL, TaskID, ElementID);
|
||||
|
||||
TaskID = "2106";
|
||||
ElementID = "1222";
|
||||
TaskID = "2174";
|
||||
ElementID = "1276";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTasksChecklistElement(URL, TaskID, ElementID, Token);
|
||||
|
@ -1,12 +1,12 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "872";
|
||||
ChatID = "898";
|
||||
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
ChatID = "874";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
ChatID = "900";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "872";
|
||||
ChatID = "898";
|
||||
|
||||
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
ChatID = "874";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
ChatID = "900";
|
||||
|
||||
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2104";
|
||||
TaskID = "2172";
|
||||
|
||||
Result = OPI_Bitrix24.DisapproveTask(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
TaskID = "2106";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
TaskID = "2174";
|
||||
|
||||
Result = OPI_Bitrix24.DisapproveTask(URL, TaskID, Token);
|
||||
|
@ -1,13 +1,13 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
MessageID = "15660";
|
||||
MessageID = "16160";
|
||||
|
||||
Text = "New message text";
|
||||
|
||||
Result = OPI_Bitrix24.EditMessage(URL, MessageID, Text);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
MessageID = "15662";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
MessageID = "16162";
|
||||
|
||||
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 = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "872";
|
||||
ChatID = "898";
|
||||
|
||||
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
ChatID = "874";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
ChatID = "900";
|
||||
|
||||
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID, Token);
|
||||
|
@ -10,7 +10,7 @@
|
||||
Result = OPI_Bitrix24.FindUsers(URL, FilterStructure);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
FilterStructure = New Structure;
|
||||
FilterStructure.Insert("UF_DEPARTMENT_NAME", "Bitrix");
|
||||
|
@ -1,4 +1,4 @@
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetAppSotrage(URL, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "872";
|
||||
ChatID = "898";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
ChatID = "874";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
ChatID = "900";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "chat" + "872";
|
||||
ChatID = "chat" + "898";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMembersList(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
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 = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMessagesList(URL, UserID, , 0, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "872";
|
||||
ChatID = "898";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
ChatID = "874";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
ChatID = "900";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID, Token);
|
||||
|
@ -3,6 +3,6 @@
|
||||
Result = OPI_Bitrix24.GetCurrentUser(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetCurrentUser(URL, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FieldID = "255";
|
||||
FieldID = "259";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
FieldID = "257";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
FieldID = "261";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID, );
|
||||
|
@ -3,6 +3,6 @@
|
||||
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
|
||||
|
@ -3,6 +3,6 @@
|
||||
Result = OPI_Bitrix24.GetDailyPlan(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetDailyPlan(URL, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
DealID = "542";
|
||||
DealID = "596";
|
||||
|
||||
Result = OPI_Bitrix24.GetDeal(URL, DealID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
DealID = "542";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
DealID = "596";
|
||||
|
||||
Result = OPI_Bitrix24.GetDeal(URL, DealID, Token);
|
||||
|
@ -3,6 +3,6 @@
|
||||
Result = OPI_Bitrix24.GetDealStructure(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetDealStructure(URL, Token);
|
||||
|
@ -3,7 +3,7 @@
|
||||
Result = OPI_Bitrix24.GetDealsList(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Filter = New Structure;
|
||||
Filter.Insert("TITLE" , "Sale in RUB");
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
DepartmentID = "480";
|
||||
DepartmentID = "506";
|
||||
|
||||
Result = OPI_Bitrix24.GetDepartments(URL, DepartmentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
HeadID = 1;
|
||||
|
||||
Result = OPI_Bitrix24.GetDepartments(URL, , , , HeadID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "chat" + "872";
|
||||
ChatID = "chat" + "898";
|
||||
|
||||
Result = OPI_Bitrix24.GetDialog(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.GetDialog(URL, UserID, Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FileID = "10836";
|
||||
FileID = "11254";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID, Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FileID = "10836";
|
||||
FileID = "11254";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileInformation(URL, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileInformation(URL, FileID, Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "10842";
|
||||
FolderID = "11260";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID, Token);
|
||||
|
@ -3,6 +3,6 @@
|
||||
Result = OPI_Bitrix24.GetFolderFilterStructure(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderFilterStructure(URL, True, Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "10842";
|
||||
FolderID = "11260";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID, Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "10842";
|
||||
FolderID = "11260";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID, , Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
PostID = "834";
|
||||
PostID = "860";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID, Token);
|
||||
|
@ -3,6 +3,6 @@
|
||||
Result = OPI_Bitrix24.GetKanbanStages(URL, , True);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetKanbanStages(URL, , , Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
LeadID = "278";
|
||||
LeadID = "304";
|
||||
|
||||
Result = OPI_Bitrix24.GetLead(URL, LeadID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
LeadID = "280";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
LeadID = "306";
|
||||
|
||||
Result = OPI_Bitrix24.GetLead(URL, LeadID, Token);
|
||||
|
@ -3,6 +3,6 @@
|
||||
Result = OPI_Bitrix24.GetLeadStructure(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetLeadStructure(URL, Token);
|
||||
|
@ -3,7 +3,7 @@
|
||||
Result = OPI_Bitrix24.GetLeadsList(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Filter = New Structure;
|
||||
Filter.Insert("TITLE" , "MegaClient");
|
||||
|
@ -1,9 +1,9 @@
|
||||
PostID = "836";
|
||||
PostID = "862";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetPosts(URL, PostID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetPosts(URL, PostID, , Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2108";
|
||||
TaskID = "2176";
|
||||
|
||||
Result = OPI_Bitrix24.GetResultsList(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetResultsList(URL, TaskID, Token);
|
||||
|
@ -4,6 +4,6 @@
|
||||
Result = OPI_Bitrix24.GetStorage(URL, StorageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetStorage(URL, StorageID, Token);
|
||||
|
@ -4,6 +4,6 @@
|
||||
Result = OPI_Bitrix24.GetStorageObjects(URL, StorageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetStorageObjects(URL, StorageID, Token);
|
||||
|
@ -2,6 +2,6 @@
|
||||
Result = OPI_Bitrix24.GetStoragesList(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetStoragesList(URL, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2104";
|
||||
TaskID = "2172";
|
||||
|
||||
Result = OPI_Bitrix24.GetTask(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
TaskID = "2106";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
TaskID = "2174";
|
||||
|
||||
Result = OPI_Bitrix24.GetTask(URL, TaskID, Token);
|
||||
|
@ -1,11 +1,11 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
CommentID = "5286";
|
||||
TaskID = "2108";
|
||||
CommentID = "5444";
|
||||
TaskID = "2176";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
CommentID = "5288";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
CommentID = "5446";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID, Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2108";
|
||||
TaskID = "2176";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID, Token);
|
||||
|
@ -3,6 +3,6 @@
|
||||
Result = OPI_Bitrix24.GetTaskFieldsStructure(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskFieldsStructure(URL, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2104";
|
||||
TaskID = "2172";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskHistory(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
TaskID = "2106";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
TaskID = "2174";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskHistory(URL, TaskID, Token);
|
||||
|
@ -1,11 +1,11 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2112";
|
||||
RecordID = "714";
|
||||
TaskID = "2180";
|
||||
RecordID = "740";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskTimeAccounting(URL, TaskID, RecordID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
RecordID = "716";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
RecordID = "742";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskTimeAccounting(URL, TaskID, RecordID, Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2112";
|
||||
TaskID = "2180";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskTimeAccountingList(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskTimeAccountingList(URL, TaskID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2104";
|
||||
TaskID = "2172";
|
||||
|
||||
Result = OPI_Bitrix24.GetTasksChecklist(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
TaskID = "2106";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
TaskID = "2174";
|
||||
|
||||
Result = OPI_Bitrix24.GetTasksChecklist(URL, TaskID, Token);
|
||||
|
@ -1,13 +1,13 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2104";
|
||||
ElementID = "1218";
|
||||
TaskID = "2172";
|
||||
ElementID = "1272";
|
||||
|
||||
Result = OPI_Bitrix24.GetTasksChecklistElement(URL, TaskID, ElementID);
|
||||
|
||||
TaskID = "2106";
|
||||
ElementID = "1222";
|
||||
TaskID = "2174";
|
||||
ElementID = "1276";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "c3abf666006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetTasksChecklistElement(URL, TaskID, ElementID, 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