mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-27 02:43:54 +02:00
Дополнение тестов Slack
This commit is contained in:
parent
a7806a10ce
commit
f01568874c
@ -1,4 +1,5 @@
|
||||
{
|
||||
"Image": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg",
|
||||
"Text": "Alpaca picture",
|
||||
"URL": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/Media/logo.png?v1"
|
||||
}
|
4
docs/en/data/Slack/MakeFilePrivate.json
Normal file
4
docs/en/data/Slack/MakeFilePrivate.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"Token": "xoxb-6965308400114-696804637...",
|
||||
"FileID": ""
|
||||
}
|
4
docs/en/data/Slack/MakeFilePublic.json
Normal file
4
docs/en/data/Slack/MakeFilePublic.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"Token": "xoxb-6965308400114-696804637...",
|
||||
"FileID": ""
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "app9bSgL4YtTVGTlE";
|
||||
Table = "tblDUGAZFZaeOwE6x";
|
||||
Record = "recydoiybO8id17n5";
|
||||
Base = "appf3Dr6nJtvJhyZo";
|
||||
Table = "tbl6sjEdqeFZO9jG4";
|
||||
Record = "";
|
||||
Text = "TestComment";
|
||||
|
||||
Result = OPI_Airtable.CreateComment(Token, Base, Table, Record, Text);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "app9bSgL4YtTVGTlE";
|
||||
Table = "tblDUGAZFZaeOwE6x";
|
||||
Base = "appf3Dr6nJtvJhyZo";
|
||||
Table = "tbl6sjEdqeFZO9jG4";
|
||||
Name = String(New UUID);
|
||||
|
||||
Field = OPI_Airtable.GetNumberField(Name);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "app9bSgL4YtTVGTlE";
|
||||
Table = "tblDUGAZFZaeOwE6x";
|
||||
Base = "appf3Dr6nJtvJhyZo";
|
||||
Table = "tbl6sjEdqeFZO9jG4";
|
||||
|
||||
Number = 10;
|
||||
String = "Hello";
|
||||
|
@ -1,5 +1,5 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "app9bSgL4YtTVGTlE";
|
||||
Base = "appf3Dr6nJtvJhyZo";
|
||||
|
||||
FieldArray = New Array;
|
||||
FieldArray.Add(OPI_Airtable.GetNumberField("Number"));
|
||||
|
@ -1,7 +1,7 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "app9bSgL4YtTVGTlE";
|
||||
Table = "tblDUGAZFZaeOwE6x";
|
||||
Record = "recydoiybO8id17n5";
|
||||
Comment = "com8s9ZPVoWQ9JN9o";
|
||||
Base = "appf3Dr6nJtvJhyZo";
|
||||
Table = "tbl6sjEdqeFZO9jG4";
|
||||
Record = "";
|
||||
Comment = "";
|
||||
|
||||
Result = OPI_Airtable.DeleteComment(Token, Base, Table, Record, Comment);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "app9bSgL4YtTVGTlE";
|
||||
Table = "tblDUGAZFZaeOwE6x";
|
||||
Record = "recydoiybO8id17n5";
|
||||
Base = "appf3Dr6nJtvJhyZo";
|
||||
Table = "tbl6sjEdqeFZO9jG4";
|
||||
Record = "";
|
||||
|
||||
Result = OPI_Airtable.DeletePosts(Token, Base, Table, Record);
|
||||
|
@ -1,8 +1,8 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "app9bSgL4YtTVGTlE";
|
||||
Table = "tblDUGAZFZaeOwE6x";
|
||||
Record = "recydoiybO8id17n5";
|
||||
Comment = "com8s9ZPVoWQ9JN9o";
|
||||
Base = "appf3Dr6nJtvJhyZo";
|
||||
Table = "tbl6sjEdqeFZO9jG4";
|
||||
Record = "";
|
||||
Comment = "";
|
||||
|
||||
Text = "Test comment (change.)";
|
||||
Result = OPI_Airtable.EditComment(Token, Base, Table, Record, Comment, Text);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "app9bSgL4YtTVGTlE";
|
||||
Table = "tblDUGAZFZaeOwE6x";
|
||||
Record = "recydoiybO8id17n5";
|
||||
Base = "appf3Dr6nJtvJhyZo";
|
||||
Table = "tbl6sjEdqeFZO9jG4";
|
||||
Record = "";
|
||||
|
||||
Result = OPI_Airtable.GetComments(Token, Base, Table, Record);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "app9bSgL4YtTVGTlE";
|
||||
Base = "appf3Dr6nJtvJhyZo";
|
||||
|
||||
Result = OPI_Airtable.GetDatabaseTables(Token, Base);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "app9bSgL4YtTVGTlE";
|
||||
Table = "tblDUGAZFZaeOwE6x";
|
||||
Base = "appf3Dr6nJtvJhyZo";
|
||||
Table = "tbl6sjEdqeFZO9jG4";
|
||||
|
||||
Result = OPI_Airtable.GetListOfRecords(Token, Base, Table);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "app9bSgL4YtTVGTlE";
|
||||
Table = "tblDUGAZFZaeOwE6x";
|
||||
Record = "recydoiybO8id17n5";
|
||||
Base = "appf3Dr6nJtvJhyZo";
|
||||
Table = "tbl6sjEdqeFZO9jG4";
|
||||
Record = "";
|
||||
|
||||
Result = OPI_Airtable.GetRecord(Token, Base, Table, Record);
|
||||
|
@ -1,7 +1,7 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "app9bSgL4YtTVGTlE";
|
||||
Table = "tblDUGAZFZaeOwE6x";
|
||||
Field = "fldqjgkFjERWf5svH";
|
||||
Base = "appf3Dr6nJtvJhyZo";
|
||||
Table = "tbl6sjEdqeFZO9jG4";
|
||||
Field = "";
|
||||
|
||||
Name = String(New UUID) + "(change.)";
|
||||
Description = "New description";
|
||||
|
@ -1,6 +1,6 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "app9bSgL4YtTVGTlE";
|
||||
Table = "tblDUGAZFZaeOwE6x";
|
||||
Base = "appf3Dr6nJtvJhyZo";
|
||||
Table = "tbl6sjEdqeFZO9jG4";
|
||||
Name = "Test table 2 (change.)";
|
||||
Description = "New table (change.)";
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
Result = OPI_Bitrix24.AddCustomTaskField(URL, Type, Name);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Type = "string";
|
||||
Name = "TEXT_FIELD";
|
||||
|
@ -11,6 +11,6 @@
|
||||
Color = "0026FF";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Text = "Time spent on work";
|
||||
UserID = 10;
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2262";
|
||||
TaskID = "2172";
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
TaskID = "2264";
|
||||
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 = "2262";
|
||||
TaskID = "2172";
|
||||
|
||||
Text = "Checklist element";
|
||||
|
||||
Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, True);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
TaskID = "2264";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "2262";
|
||||
TaskID = "2172";
|
||||
|
||||
Result = OPI_Bitrix24.ApproveTask(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
TaskID = "2264";
|
||||
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 = "2262";
|
||||
FileID = "11778";
|
||||
TaskID = "2172";
|
||||
FileID = "11250";
|
||||
|
||||
Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
TaskID = "2264";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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://openyellow.neocities.org/test_data/picture2.jpg";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "2262";
|
||||
TaskID = "2172";
|
||||
|
||||
Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
TaskID = "2264";
|
||||
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 = "2262";
|
||||
TaskID = "2172";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTask(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
TaskID = "2264";
|
||||
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 = "2262";
|
||||
ElementID = "1344";
|
||||
TaskID = "2172";
|
||||
ElementID = "1272";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTasksChecklistElement(URL, TaskID, ElementID);
|
||||
|
||||
TaskID = "2264";
|
||||
ElementID = "1348";
|
||||
TaskID = "2174";
|
||||
ElementID = "1276";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTasksChecklistElement(URL, TaskID, ElementID, Token);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Image = "https://openyellow.neocities.org/test_data/picture.jpg";
|
||||
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
|
||||
OPI_TypeConversion.GetBinaryData(Image);
|
||||
|
||||
B64Image = GetBase64StringFromBinaryData(Image);
|
||||
@ -22,7 +22,7 @@
|
||||
Result = OPI_Bitrix24.CreateChat(URL, ChatStructure);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
Tag = "New";
|
||||
UserID = 10;
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
Text = "Text of post";
|
||||
Title = "Post title";
|
||||
Image1 = "https://openyellow.neocities.org/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
Image2 = "https://openyellow.neocities.org/test_data/picture2.jpg"; // URL, Path or Binary Data
|
||||
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Path or Binary Data
|
||||
|
||||
Files = New Map;
|
||||
Files.Insert("1.png", Image1);
|
||||
@ -12,6 +12,6 @@
|
||||
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, True);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
Tag = "New";
|
||||
UserID = 10;
|
||||
|
||||
|
@ -17,6 +17,6 @@
|
||||
Result = OPI_Bitrix24.CreateTask(URL, TaskData);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateTask(URL, TaskData, Token);
|
||||
|
@ -1,16 +1,16 @@
|
||||
FromID = "2262";
|
||||
DestinationID = "2264";
|
||||
FromID = "2172";
|
||||
DestinationID = "2174";
|
||||
LinkType = 0;
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateTasksDependencies(URL, FromID, DestinationID, LinkType);
|
||||
|
||||
FromID = "2264";
|
||||
DestinationID = "2262";
|
||||
FromID = "2174";
|
||||
DestinationID = "2172";
|
||||
LinkType = 2;
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "2262";
|
||||
TaskID = "2172";
|
||||
|
||||
Result = OPI_Bitrix24.DeferTask(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
TaskID = "2264";
|
||||
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 = "2262";
|
||||
UserID = "492";
|
||||
TaskID = "2172";
|
||||
UserID = "518";
|
||||
|
||||
Result = OPI_Bitrix24.DelegateTask(URL, TaskID, UserID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
TaskID = "2264";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "2262";
|
||||
TaskID = "2172";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTask(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
TaskID = "2264";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "2262";
|
||||
ElementID = "1344";
|
||||
TaskID = "2172";
|
||||
ElementID = "1272";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTasksChecklistElement(URL, TaskID, ElementID);
|
||||
|
||||
TaskID = "2264";
|
||||
ElementID = "1348";
|
||||
TaskID = "2174";
|
||||
ElementID = "1276";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTasksChecklistElement(URL, TaskID, ElementID, Token);
|
||||
|
@ -1,16 +1,16 @@
|
||||
FromID = "2262";
|
||||
DestinationID = "2264";
|
||||
FromID = "2172";
|
||||
DestinationID = "2174";
|
||||
LinkType = 0;
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTasksDependencies(URL, FromID, DestinationID, LinkType);
|
||||
|
||||
FromID = "2264";
|
||||
DestinationID = "2262";
|
||||
FromID = "2174";
|
||||
DestinationID = "2172";
|
||||
LinkType = 2;
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTasksDependencies(URL, FromID, DestinationID, LinkType, 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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "2262";
|
||||
TaskID = "2172";
|
||||
|
||||
Result = OPI_Bitrix24.DisapproveTask(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
TaskID = "2264";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
FilterStructure = New Structure;
|
||||
FilterStructure.Insert("UF_DEPARTMENT_NAME", "Bitrix");
|
||||
|
@ -1,4 +1,4 @@
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
|
||||
|
@ -3,6 +3,6 @@
|
||||
Result = OPI_Bitrix24.GetDailyPlan(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetDealStructure(URL, Token);
|
||||
|
@ -3,7 +3,7 @@
|
||||
Result = OPI_Bitrix24.GetDealsList(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.GetDialog(URL, UserID, Token);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Name = "Image";
|
||||
URL = "https://openyellow.neocities.org/test_data/document.docx";
|
||||
URL = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileBlock(Name, URL);
|
||||
|
@ -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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID, Token);
|
||||
|
@ -3,6 +3,6 @@
|
||||
Result = OPI_Bitrix24.GetFolderFilterStructure(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetLeadStructure(URL, Token);
|
||||
|
@ -3,7 +3,7 @@
|
||||
Result = OPI_Bitrix24.GetLeadsList(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "37d1fe66006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Filter = New Structure;
|
||||
Filter.Insert("TITLE" , "MegaClient");
|
||||
|
@ -1,4 +1,4 @@
|
||||
Name = "Image";
|
||||
URL = "https://openyellow.neocities.org/test_data/picture.jpg";
|
||||
URL = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
|
||||
|
||||
Result = OPI_Bitrix24.GetPictureBlock(Name, URL);
|
||||
|
@ -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 = "37d1fe66006e9f06006b12e400000001000...";
|
||||
Token = "ae6af966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetPosts(URL, PostID, , 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