mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-11-24 08:52:18 +02:00
Main build (Jenkins)
This commit is contained in:
parent
10f8ec8351
commit
1221adbf7f
@ -969,11 +969,11 @@ def test_dropbox(){
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'./oint.exe dropbox CopyObject --token "test" --form "test" --to "test" --debug --test '
|
||||
powershell encoding: 'UTF-8', script:'./oint.exe dropbox CopyObject --token "test" --from "test" --to "test" --debug --test '
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'./oint.exe dropbox MoveObject --token "test" --form "test" --to "test" --debug --test '
|
||||
powershell encoding: 'UTF-8', script:'./oint.exe dropbox MoveObject --token "test" --from "test" --to "test" --debug --test '
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
@ -969,11 +969,11 @@ def test_dropbox(){
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'./oint.exe dropbox КопироватьОбъект --token "test" --form "test" --to "test" --debug --test '
|
||||
powershell encoding: 'UTF-8', script:'./oint.exe dropbox КопироватьОбъект --token "test" --from "test" --to "test" --debug --test '
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'./oint.exe dropbox ПереместитьОбъект --token "test" --form "test" --to "test" --debug --test '
|
||||
powershell encoding: 'UTF-8', script:'./oint.exe dropbox ПереместитьОбъект --token "test" --from "test" --to "test" --debug --test '
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
|
@ -1,7 +1,7 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "appmy5B6qi09E4wrF";
|
||||
Table = "tblYwj7Cnw6w3FGWh";
|
||||
Record = "recnOWHAPOyCl0kUj";
|
||||
Base = "appESy99HYCLbuWlV";
|
||||
Table = "tbl5gZLQ8i5xKuVTy";
|
||||
Record = "recHqUT4ruWn8KnYi";
|
||||
Text = "TestComment";
|
||||
|
||||
Result = OPI_Airtable.CreateComment(Token, Base, Table, Record, Text);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "appmy5B6qi09E4wrF";
|
||||
Table = "tblYwj7Cnw6w3FGWh";
|
||||
Base = "appESy99HYCLbuWlV";
|
||||
Table = "tbl5gZLQ8i5xKuVTy";
|
||||
Name = String(New UUID);
|
||||
|
||||
Field = OPI_Airtable.GetNumberField(Name);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "appmy5B6qi09E4wrF";
|
||||
Table = "tblYwj7Cnw6w3FGWh";
|
||||
Base = "appESy99HYCLbuWlV";
|
||||
Table = "tbl5gZLQ8i5xKuVTy";
|
||||
|
||||
Number = 10;
|
||||
String = "Hello";
|
||||
|
@ -1,5 +1,5 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "appmy5B6qi09E4wrF";
|
||||
Base = "appESy99HYCLbuWlV";
|
||||
|
||||
FieldArray = New Array;
|
||||
FieldArray.Add(OPI_Airtable.GetNumberField("Number"));
|
||||
|
@ -1,7 +1,7 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "appmy5B6qi09E4wrF";
|
||||
Table = "tblYwj7Cnw6w3FGWh";
|
||||
Record = "recnOWHAPOyCl0kUj";
|
||||
Comment = "comNQ9mG1pWpJqgif";
|
||||
Base = "appESy99HYCLbuWlV";
|
||||
Table = "tbl5gZLQ8i5xKuVTy";
|
||||
Record = "recHqUT4ruWn8KnYi";
|
||||
Comment = "comc3oQtvx4mn0pdu";
|
||||
|
||||
Result = OPI_Airtable.DeleteComment(Token, Base, Table, Record, Comment);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "appmy5B6qi09E4wrF";
|
||||
Table = "tblYwj7Cnw6w3FGWh";
|
||||
Record = "recnOWHAPOyCl0kUj";
|
||||
Base = "appESy99HYCLbuWlV";
|
||||
Table = "tbl5gZLQ8i5xKuVTy";
|
||||
Record = "recHqUT4ruWn8KnYi";
|
||||
|
||||
Result = OPI_Airtable.DeletePosts(Token, Base, Table, Record);
|
||||
|
@ -1,8 +1,8 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "appmy5B6qi09E4wrF";
|
||||
Table = "tblYwj7Cnw6w3FGWh";
|
||||
Record = "recnOWHAPOyCl0kUj";
|
||||
Comment = "comNQ9mG1pWpJqgif";
|
||||
Base = "appESy99HYCLbuWlV";
|
||||
Table = "tbl5gZLQ8i5xKuVTy";
|
||||
Record = "recHqUT4ruWn8KnYi";
|
||||
Comment = "comc3oQtvx4mn0pdu";
|
||||
|
||||
Text = "Test comment (change.)";
|
||||
Result = OPI_Airtable.EditComment(Token, Base, Table, Record, Comment, Text);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "appmy5B6qi09E4wrF";
|
||||
Table = "tblYwj7Cnw6w3FGWh";
|
||||
Record = "recnOWHAPOyCl0kUj";
|
||||
Base = "appESy99HYCLbuWlV";
|
||||
Table = "tbl5gZLQ8i5xKuVTy";
|
||||
Record = "recHqUT4ruWn8KnYi";
|
||||
|
||||
Result = OPI_Airtable.GetComments(Token, Base, Table, Record);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "appmy5B6qi09E4wrF";
|
||||
Base = "appESy99HYCLbuWlV";
|
||||
|
||||
Result = OPI_Airtable.GetDatabaseTables(Token, Base);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "appmy5B6qi09E4wrF";
|
||||
Table = "tblYwj7Cnw6w3FGWh";
|
||||
Base = "appESy99HYCLbuWlV";
|
||||
Table = "tbl5gZLQ8i5xKuVTy";
|
||||
|
||||
Result = OPI_Airtable.GetListOfRecords(Token, Base, Table);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "appmy5B6qi09E4wrF";
|
||||
Table = "tblYwj7Cnw6w3FGWh";
|
||||
Record = "recnOWHAPOyCl0kUj";
|
||||
Base = "appESy99HYCLbuWlV";
|
||||
Table = "tbl5gZLQ8i5xKuVTy";
|
||||
Record = "recHqUT4ruWn8KnYi";
|
||||
|
||||
Result = OPI_Airtable.GetRecord(Token, Base, Table, Record);
|
||||
|
@ -1,7 +1,7 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "appmy5B6qi09E4wrF";
|
||||
Table = "tblYwj7Cnw6w3FGWh";
|
||||
Field = "fldZ57FyTakwDzWnh";
|
||||
Base = "appESy99HYCLbuWlV";
|
||||
Table = "tbl5gZLQ8i5xKuVTy";
|
||||
Field = "fldzPMAQ2obgGcvxG";
|
||||
|
||||
Name = String(New UUID) + "(change.)";
|
||||
Description = "New description";
|
||||
|
@ -1,6 +1,6 @@
|
||||
Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
|
||||
Base = "appmy5B6qi09E4wrF";
|
||||
Table = "tblYwj7Cnw6w3FGWh";
|
||||
Base = "appESy99HYCLbuWlV";
|
||||
Table = "tbl5gZLQ8i5xKuVTy";
|
||||
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 = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Type = "string";
|
||||
Name = "TEXT_FIELD";
|
||||
|
@ -11,6 +11,6 @@
|
||||
Color = "0026FF";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, PrevStageID, , True, Token);
|
||||
|
@ -1,11 +1,11 @@
|
||||
Text = "Comment for post";
|
||||
PostID = "958";
|
||||
PostID = "970";
|
||||
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 = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
Visibility = "UA";
|
||||
PostID = "958";
|
||||
PostID = "970";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility, Token);
|
||||
|
@ -1,12 +1,12 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2420";
|
||||
TaskID = "2450";
|
||||
|
||||
Text = "Task impossible, let's split up";
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskComment(URL, TaskID, Text);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Text = "Task uninpossible, don't split up";
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2424";
|
||||
TaskID = "2454";
|
||||
|
||||
Time = 3600;
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskTimeAccounting(URL, TaskID, Time);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Text = "Time spent on work";
|
||||
UserID = 10;
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2416";
|
||||
TaskID = "2446";
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
TaskID = "2418";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
TaskID = "2448";
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID, Token);
|
||||
|
@ -1,12 +1,12 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2416";
|
||||
TaskID = "2446";
|
||||
|
||||
Text = "Checklist element";
|
||||
|
||||
Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, True);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
TaskID = "2418";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
TaskID = "2448";
|
||||
|
||||
Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, , Token);
|
||||
|
@ -1,5 +1,5 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "994";
|
||||
ChatID = "1006";
|
||||
|
||||
UserIDs = New Array;
|
||||
UserIDs.Add(10);
|
||||
@ -8,8 +8,8 @@
|
||||
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserIDs);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
ChatID = "996";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
ChatID = "1008";
|
||||
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 = "2416";
|
||||
TaskID = "2446";
|
||||
|
||||
Result = OPI_Bitrix24.ApproveTask(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
TaskID = "2418";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
TaskID = "2448";
|
||||
|
||||
Result = OPI_Bitrix24.ApproveTask(URL, TaskID, Token);
|
||||
|
@ -1,11 +1,11 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2416";
|
||||
FileID = "12692";
|
||||
TaskID = "2446";
|
||||
FileID = "12872";
|
||||
|
||||
Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
TaskID = "2418";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
TaskID = "2448";
|
||||
|
||||
Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID, Token);
|
||||
|
@ -1,12 +1,12 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "994";
|
||||
ChatID = "1006";
|
||||
|
||||
Color = "AZURE";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatColor(URL, ChatID, Color);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Color = "PURPLE";
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "994";
|
||||
ChatID = "1006";
|
||||
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
ChatID = "996";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
ChatID = "1008";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID, Token);
|
||||
|
@ -1,12 +1,12 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "994";
|
||||
ChatID = "1006";
|
||||
|
||||
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg";
|
||||
Image = "https://api.athenaeum.digital/test_data/picture2.jpg";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
ChatID = "996";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
ChatID = "1008";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image, Token);
|
||||
|
@ -1,13 +1,13 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "994";
|
||||
ChatID = "1006";
|
||||
|
||||
Title = "New chat title";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatTitle(URL, ChatID, Title);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
ChatID = "996";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
ChatID = "1008";
|
||||
|
||||
Title = "Another title";
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
UserID = "612";
|
||||
UserID = "624";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeUserStatus(URL, UserID, True);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
UserID = "614";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
UserID = "626";
|
||||
|
||||
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 = "2416";
|
||||
TaskID = "2446";
|
||||
|
||||
Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
TaskID = "2418";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
TaskID = "2448";
|
||||
|
||||
Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2416";
|
||||
TaskID = "2446";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTask(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
TaskID = "2418";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
TaskID = "2448";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTask(URL, TaskID, Token);
|
||||
|
@ -1,13 +1,13 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2416";
|
||||
ElementID = "1472";
|
||||
TaskID = "2446";
|
||||
ElementID = "1496";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTasksChecklistElement(URL, TaskID, ElementID);
|
||||
|
||||
TaskID = "2418";
|
||||
ElementID = "1476";
|
||||
TaskID = "2448";
|
||||
ElementID = "1500";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTasksChecklistElement(URL, TaskID, ElementID, Token);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
|
||||
Image = "https://api.athenaeum.digital/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 = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
ChatStructure = New Structure;
|
||||
ChatStructure.Insert("TYPE" , "CHAT");
|
||||
|
@ -21,6 +21,6 @@
|
||||
FieldsStructure.Insert("CLOSEDATE", "2031-01-01");
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateDeal(URL, FieldsStructure, Token);
|
||||
|
@ -6,10 +6,10 @@
|
||||
Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Name = "Subordinate department";
|
||||
ParentID = "600";
|
||||
ParentID = "612";
|
||||
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 = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
Tag = "New";
|
||||
UserID = 10;
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
Text = "Text of post";
|
||||
Title = "Post title";
|
||||
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
|
||||
Image1 = "https://api.athenaeum.digital/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||
Image2 = "https://api.athenaeum.digital/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 = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, , Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
CommentID = "5988";
|
||||
CommentID = "6054";
|
||||
|
||||
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
CommentID = "5990";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
CommentID = "6056";
|
||||
|
||||
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID, Token);
|
||||
|
@ -7,6 +7,6 @@
|
||||
Result = OPI_Bitrix24.CreateStorageFolder(URL, StorageID, Filename2);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateStorageFolder(URL, StorageID, Name, Token);
|
||||
|
@ -1,4 +1,4 @@
|
||||
FolderID = "12702";
|
||||
FolderID = "12882";
|
||||
Name = "New subfolder";
|
||||
Filename2 = "New subfolder 2";
|
||||
|
||||
@ -7,6 +7,6 @@
|
||||
Result = OPI_Bitrix24.CreateSubfolder(URL, FolderID, Filename2);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
Tag = "New";
|
||||
UserID = 10;
|
||||
|
||||
|
@ -17,6 +17,6 @@
|
||||
Result = OPI_Bitrix24.CreateTask(URL, TaskData);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateTask(URL, TaskData, Token);
|
||||
|
@ -1,16 +1,16 @@
|
||||
FromID = "2416";
|
||||
DestinationID = "2418";
|
||||
FromID = "2446";
|
||||
DestinationID = "2448";
|
||||
LinkType = 0;
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateTasksDependencies(URL, FromID, DestinationID, LinkType);
|
||||
|
||||
FromID = "2418";
|
||||
DestinationID = "2416";
|
||||
FromID = "2448";
|
||||
DestinationID = "2446";
|
||||
LinkType = 2;
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
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 = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
Email = String(New UUID) + "@exepmple.org";
|
||||
|
||||
UserStructure = New Structure;
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2416";
|
||||
TaskID = "2446";
|
||||
|
||||
Result = OPI_Bitrix24.DeferTask(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
TaskID = "2418";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
TaskID = "2448";
|
||||
|
||||
Result = OPI_Bitrix24.DeferTask(URL, TaskID, Token);
|
||||
|
@ -1,11 +1,11 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2416";
|
||||
UserID = "614";
|
||||
TaskID = "2446";
|
||||
UserID = "626";
|
||||
|
||||
Result = OPI_Bitrix24.DelegateTask(URL, TaskID, UserID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
TaskID = "2418";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
TaskID = "2448";
|
||||
|
||||
Result = OPI_Bitrix24.DelegateTask(URL, TaskID, UserID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FieldID = "259";
|
||||
FieldID = "255";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
FieldID = "261";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
FieldID = "257";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
DealID = "788";
|
||||
DealID = "812";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteDeal(URL, DealID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
DealID = "790";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
DealID = "814";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteDeal(URL, DealID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
DepartmentID = "602";
|
||||
DepartmentID = "614";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteDepartment(URL, DepartmentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
DepartmentID = "600";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
DepartmentID = "612";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteDepartment(URL, DepartmentID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FileID = "12694";
|
||||
FileID = "12874";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFile(URL, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
FileID = "12696";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
FileID = "12876";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFile(URL, FileID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "12700";
|
||||
FolderID = "12880";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
FolderID = "12702";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
FolderID = "12882";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID, Token);
|
||||
|
@ -1,12 +1,12 @@
|
||||
StageID = "852";
|
||||
StageID = "864";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID, True);
|
||||
|
||||
StageID = "854";
|
||||
StageID = "866";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID, , Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
LeadID = "400";
|
||||
LeadID = "412";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteLead(URL, LeadID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
LeadID = "402";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
LeadID = "414";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteLead(URL, LeadID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
MessageID = "17908";
|
||||
MessageID = "18126";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
MessageID = "17910";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
MessageID = "18128";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
NotificationID = "17916";
|
||||
NotificationID = "18134";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteNotification(URL, NotificationID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
NotificationID = "17918";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
NotificationID = "18136";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteNotification(URL, NotificationID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
PostID = "956";
|
||||
PostID = "968";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.DeletePost(URL, PostID);
|
||||
|
||||
PostID = "958";
|
||||
PostID = "970";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.DeletePost(URL, PostID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
CommentID = "5988";
|
||||
CommentID = "6054";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
CommentID = "5990";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
CommentID = "6056";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2416";
|
||||
TaskID = "2446";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTask(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
TaskID = "2418";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
TaskID = "2448";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTask(URL, TaskID, Token);
|
||||
|
@ -1,11 +1,11 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2420";
|
||||
CommentID = "5988";
|
||||
TaskID = "2450";
|
||||
CommentID = "6054";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
CommentID = "5990";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
CommentID = "6056";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID, Token);
|
||||
|
@ -1,11 +1,11 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2424";
|
||||
RecordID = "836";
|
||||
TaskID = "2454";
|
||||
RecordID = "848";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskTimeAccounting(URL, TaskID, RecordID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
RecordID = "838";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
RecordID = "850";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskTimeAccounting(URL, TaskID, RecordID, Token);
|
||||
|
@ -1,13 +1,13 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2416";
|
||||
ElementID = "1472";
|
||||
TaskID = "2446";
|
||||
ElementID = "1496";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTasksChecklistElement(URL, TaskID, ElementID);
|
||||
|
||||
TaskID = "2418";
|
||||
ElementID = "1476";
|
||||
TaskID = "2448";
|
||||
ElementID = "1500";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTasksChecklistElement(URL, TaskID, ElementID, Token);
|
||||
|
@ -1,16 +1,16 @@
|
||||
FromID = "2416";
|
||||
DestinationID = "2418";
|
||||
FromID = "2446";
|
||||
DestinationID = "2448";
|
||||
LinkType = 0;
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTasksDependencies(URL, FromID, DestinationID, LinkType);
|
||||
|
||||
FromID = "2418";
|
||||
DestinationID = "2416";
|
||||
FromID = "2448";
|
||||
DestinationID = "2446";
|
||||
LinkType = 2;
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTasksDependencies(URL, FromID, DestinationID, LinkType, Token);
|
||||
|
@ -1,12 +1,12 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "994";
|
||||
ChatID = "1006";
|
||||
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
ChatID = "996";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
ChatID = "1008";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "994";
|
||||
ChatID = "1006";
|
||||
|
||||
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
ChatID = "996";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
ChatID = "1008";
|
||||
|
||||
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2416";
|
||||
TaskID = "2446";
|
||||
|
||||
Result = OPI_Bitrix24.DisapproveTask(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
TaskID = "2418";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
TaskID = "2448";
|
||||
|
||||
Result = OPI_Bitrix24.DisapproveTask(URL, TaskID, Token);
|
||||
|
@ -1,13 +1,13 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
MessageID = "17908";
|
||||
MessageID = "18126";
|
||||
|
||||
Text = "New message text";
|
||||
|
||||
Result = OPI_Bitrix24.EditMessage(URL, MessageID, Text);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
MessageID = "17910";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
MessageID = "18128";
|
||||
|
||||
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 = "994";
|
||||
ChatID = "1006";
|
||||
|
||||
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
ChatID = "996";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
ChatID = "1008";
|
||||
|
||||
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID, Token);
|
||||
|
@ -10,7 +10,7 @@
|
||||
Result = OPI_Bitrix24.FindUsers(URL, FilterStructure);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
FilterStructure = New Structure;
|
||||
FilterStructure.Insert("UF_DEPARTMENT_NAME", "Bitrix");
|
||||
|
@ -1,4 +1,4 @@
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetAppSotrage(URL, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "994";
|
||||
ChatID = "1006";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
ChatID = "996";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
ChatID = "1008";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "chat" + "994";
|
||||
ChatID = "chat" + "1006";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMembersList(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
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 = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMessagesList(URL, UserID, , 0, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "994";
|
||||
ChatID = "1006";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
ChatID = "996";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
ChatID = "1008";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID, Token);
|
||||
|
@ -3,6 +3,6 @@
|
||||
Result = OPI_Bitrix24.GetCurrentUser(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetCurrentUser(URL, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FieldID = "259";
|
||||
FieldID = "255";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
FieldID = "261";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
FieldID = "257";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID);
|
||||
|
@ -3,6 +3,6 @@
|
||||
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
|
||||
|
@ -3,6 +3,6 @@
|
||||
Result = OPI_Bitrix24.GetDailyPlan(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetDailyPlan(URL, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
DealID = "788";
|
||||
DealID = "812";
|
||||
|
||||
Result = OPI_Bitrix24.GetDeal(URL, DealID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
DealID = "788";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
DealID = "812";
|
||||
|
||||
Result = OPI_Bitrix24.GetDeal(URL, DealID, Token);
|
||||
|
@ -3,6 +3,6 @@
|
||||
Result = OPI_Bitrix24.GetDealStructure(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetDealStructure(URL, Token);
|
||||
|
@ -3,7 +3,7 @@
|
||||
Result = OPI_Bitrix24.GetDealsList(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Filter = New Structure;
|
||||
Filter.Insert("TITLE" , "Sale in RUB");
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
DepartmentID = "602";
|
||||
DepartmentID = "614";
|
||||
|
||||
Result = OPI_Bitrix24.GetDepartments(URL, DepartmentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
HeadID = 1;
|
||||
|
||||
Result = OPI_Bitrix24.GetDepartments(URL, , , , HeadID, Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "chat" + "994";
|
||||
ChatID = "chat" + "1006";
|
||||
|
||||
Result = OPI_Bitrix24.GetDialog(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.GetDialog(URL, UserID, Token);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Name = "Image";
|
||||
URL = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
|
||||
URL = "https://api.athenaeum.digital/test_data/document.docx";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileBlock(Name, URL);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FileID = "12696";
|
||||
FileID = "12876";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID, Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FileID = "12696";
|
||||
FileID = "12876";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileInformation(URL, FileID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileInformation(URL, FileID, Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "12702";
|
||||
FolderID = "12882";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID, Token);
|
||||
|
@ -3,6 +3,6 @@
|
||||
Result = OPI_Bitrix24.GetFolderFilterStructure(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderFilterStructure(URL, True, Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "12702";
|
||||
FolderID = "12882";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID, Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "12702";
|
||||
FolderID = "12882";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID, , Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
PostID = "956";
|
||||
PostID = "968";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID, Token);
|
||||
|
@ -3,6 +3,6 @@
|
||||
Result = OPI_Bitrix24.GetKanbanStages(URL, , True);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetKanbanStages(URL, , , Token);
|
||||
|
@ -1,10 +1,10 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
LeadID = "400";
|
||||
LeadID = "412";
|
||||
|
||||
Result = OPI_Bitrix24.GetLead(URL, LeadID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
LeadID = "402";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
LeadID = "414";
|
||||
|
||||
Result = OPI_Bitrix24.GetLead(URL, LeadID, Token);
|
||||
|
@ -3,6 +3,6 @@
|
||||
Result = OPI_Bitrix24.GetLeadStructure(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetLeadStructure(URL, Token);
|
||||
|
@ -3,7 +3,7 @@
|
||||
Result = OPI_Bitrix24.GetLeadsList(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Filter = New Structure;
|
||||
Filter.Insert("TITLE" , "MegaClient");
|
||||
|
@ -1,4 +1,4 @@
|
||||
Name = "Image";
|
||||
URL = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
|
||||
URL = "https://api.athenaeum.digital/test_data/picture.jpg";
|
||||
|
||||
Result = OPI_Bitrix24.GetPictureBlock(Name, URL);
|
||||
|
@ -1,9 +1,9 @@
|
||||
PostID = "958";
|
||||
PostID = "970";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
|
||||
Result = OPI_Bitrix24.GetPosts(URL, PostID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetPosts(URL, PostID, , Token);
|
||||
|
@ -1,9 +1,9 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
TaskID = "2420";
|
||||
TaskID = "2450";
|
||||
|
||||
Result = OPI_Bitrix24.GetResultsList(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "49e20867006e9f06006b12e400000001000...";
|
||||
Token = "21750a67006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetResultsList(URL, TaskID, 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