mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-11-21 17:56:56 +02:00
Обновление данных доков
This commit is contained in:
parent
6221f659f8
commit
01dda94800
15
.github/workflows/os/docs_examples.os
vendored
15
.github/workflows/os/docs_examples.os
vendored
@ -198,11 +198,14 @@
|
||||
|
||||
Функция ПреобразоватьТекст(Текст)
|
||||
|
||||
Если СтрНайти(Текст, "ПараметрыФункции") Тогда
|
||||
ЕстьRU = СтрНайти(Текст, "ПараметрыФункции") <> 0;
|
||||
ЕстьEN = СтрНайти(Текст, "FunctionParameters") <> 0;
|
||||
|
||||
Если ЕстьRU Или ЕстьEN Тогда
|
||||
|
||||
РазбитоеЗначение = СтрРазделить(Текст, "=", Ложь);
|
||||
|
||||
ИмяПараметра = ОпределитьИмяПараметра(Текст);
|
||||
ИмяПараметра = ОпределитьИмяПараметра(Текст, ?(ЕстьRU, "ПараметрыФункции", "FunctionParameters"));
|
||||
|
||||
Попытка
|
||||
Значение = OPI_ПолучениеДанныхТестов.ПолучитьПараметр(ИмяПараметра);
|
||||
@ -219,15 +222,19 @@
|
||||
|
||||
ОпределениеПараметра = "ПараметрыФункции[""" + ИмяПараметра + """]";
|
||||
Текст = СтрЗаменить(Текст, ОпределениеПараметра, """" + Строка(Значение) + """");
|
||||
|
||||
ОпределениеПараметра = "FunctionParameters[""" + ИмяПараметра + """]";
|
||||
Текст = СтрЗаменить(Текст, ОпределениеПараметра, """" + Строка(Значение) + """");
|
||||
|
||||
КонецЕсли;
|
||||
|
||||
Возврат Текст;
|
||||
|
||||
КонецФункции
|
||||
|
||||
Функция ОпределитьИмяПараметра(Текст)
|
||||
Функция ОпределитьИмяПараметра(Текст, Коллекция)
|
||||
|
||||
НачалоПараметра = СтрНайти(Текст, "ПараметрыФункции[""") + 18;
|
||||
НачалоПараметра = СтрНайти(Текст, Коллекция + "[""") + 18;
|
||||
КонецПараметра = СтрНайти(Текст, """]");
|
||||
Имя = Сред(Текст, НачалоПараметра, КонецПараметра - НачалоПараметра);
|
||||
|
||||
|
@ -99,7 +99,7 @@
|
||||
ТекстТекущейСтроки = МодульТестов.ПолучитьСтроку(НомерСтроки + 1);
|
||||
ТекстПримера = "";
|
||||
|
||||
ТекущаяСтруктураЗначений = Новый Структура();
|
||||
ТекущаяСтруктураЗначений = Новый Соответствие();
|
||||
|
||||
ПрошлаяПустая = Ложь;
|
||||
Пока СтрНайти(ТекстТекущейСтроки, "END") = 0
|
||||
@ -108,7 +108,7 @@
|
||||
|
||||
ТекущаяПустая = Ложь;
|
||||
ЭтоСкип = СтрНайти(ТекстТекущейСтроки, "SKIP") <> 0;
|
||||
ЭтоЛог = СтрНайти(ТекстТекущейСтроки, "ЗаписатьЛог") <> 0;
|
||||
ЭтоЛог = СтрНайти(ТекстТекущейСтроки, "ЗаписатьЛог") <> 0 Или СтрНайти(ТекстТекущейСтроки, "WriteLog") <> 0;
|
||||
|
||||
Если Не ЗначениеЗаполнено(СокрЛП(ТекстТекущейСтроки))
|
||||
Или ЭтоСкип Или ЭтоЛог Тогда
|
||||
@ -183,11 +183,18 @@
|
||||
|
||||
Функция ПреобразоватьТекст(Текст)
|
||||
|
||||
Если СтрНайти(Текст, "ПараметрыФункции") Тогда
|
||||
ЕстьRU = СтрНайти(Текст, "ПараметрыФункции") <> 0;
|
||||
ЕстьEN = СтрНайти(Текст, "FunctionParameters") <> 0;
|
||||
|
||||
Если ЕстьRU Или ЕстьEN Тогда
|
||||
|
||||
Если ЕстьEN Тогда
|
||||
А = 1;
|
||||
КонецЕсли;
|
||||
|
||||
РазбитоеЗначение = СтрРазделить(Текст, "=", Ложь);
|
||||
|
||||
ИмяПараметра = ОпределитьИмяПараметра(Текст);
|
||||
ИмяПараметра = ОпределитьИмяПараметра(Текст, ?(ЕстьRU, "ПараметрыФункции", "FunctionParameters"));
|
||||
|
||||
Попытка
|
||||
Значение = OPI_ПолучениеДанныхТестов.ПолучитьПараметр(ИмяПараметра);
|
||||
@ -204,15 +211,19 @@
|
||||
|
||||
ОпределениеПараметра = "ПараметрыФункции[""" + ИмяПараметра + """]";
|
||||
Текст = СтрЗаменить(Текст, ОпределениеПараметра, """" + Строка(Значение) + """");
|
||||
|
||||
ОпределениеПараметра = "FunctionParameters[""" + ИмяПараметра + """]";
|
||||
Текст = СтрЗаменить(Текст, ОпределениеПараметра, """" + Строка(Значение) + """");
|
||||
|
||||
КонецЕсли;
|
||||
|
||||
Возврат Текст;
|
||||
|
||||
КонецФункции
|
||||
|
||||
Функция ОпределитьИмяПараметра(Текст)
|
||||
Функция ОпределитьИмяПараметра(Текст, Коллекция)
|
||||
|
||||
НачалоПараметра = СтрНайти(Текст, "ПараметрыФункции[""") + 18;
|
||||
НачалоПараметра = СтрНайти(Текст, Коллекция + "[""") + СтрДлина(Коллекция) + 2;
|
||||
КонецПараметра = СтрНайти(Текст, """]");
|
||||
Имя = Сред(Текст, НачалоПараметра, КонецПараметра - НачалоПараметра);
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"Type": "string",
|
||||
"Name": "TEXT_FIELD",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"ExternalID": "BITRIX_TEXT_FIELD",
|
||||
"Title": "Text field"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"Color": "0026FF",
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"PrevStageID": "Result[result]",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"Color": "0026FF",
|
||||
"PrevStageID": "Result[result]"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"Text": "Another comment",
|
||||
"PostID": "440",
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"Text": "Another comment"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"Visibility": "UA",
|
||||
"PostID": "440",
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"Visibility": "UA"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"TaskID": "1082",
|
||||
"Text": "Task uninpossible, don't split up",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"Text": "Task uninpossible, don't split up"
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"TaskID": "1088",
|
||||
"Time": "7200",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"Time": "7200",
|
||||
"Text": "Time spent on work",
|
||||
"UserID": "10"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"TaskID": "1080",
|
||||
"Text": "Checklist element",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"Text": "Checklist element"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"ChatID": "452",
|
||||
"Color": "PURPLE",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"Color": "PURPLE"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"ChatID": "452",
|
||||
"UserID": "10",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"UserID": "10"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"Image": "https://openintegrations.dev/test_data/picture.jpg",
|
||||
"B64Image": "GetBase64StringFromBinaryData(Image)",
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"B64Image": "GetBase64StringFromBinaryData(Image)"
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"Name": "Subordinate department",
|
||||
"ParentID": "68",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"ParentID": "68",
|
||||
"Name": "Subordinate department",
|
||||
"HeadID": "1"
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"UserID": "10",
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"UserID": "10",
|
||||
"Text": "Message text",
|
||||
"Image": "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg",
|
||||
"File": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"File": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx"
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"Text": "Text of post",
|
||||
"Title": "Post title",
|
||||
"Image1": "https://openintegrations.dev/test_data/picture.jpg // URL, Path or Binary Data",
|
||||
"Image2": "https://openintegrations.dev/test_data/picture2.jpg // URL, Path or Binary Data",
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"Text": "Text of post",
|
||||
"Title": "Post title"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"StorageID": "3",
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"StorageID": "3"
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"UserID": "10",
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"UserID": "10",
|
||||
"Text": "Message text",
|
||||
"Image": "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg",
|
||||
"File": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"File": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx"
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"Hour": "3600",
|
||||
"Day": "24",
|
||||
"Responsible": "1",
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"Responsible": "1"
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"FromID": "1080",
|
||||
"DestinationID": "1078",
|
||||
"LinkType": "2",
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"LinkType": "2"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"ChatID": "452",
|
||||
"UserID": "10",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"UserID": "10"
|
||||
}
|
4
docs/en/data/Bitrix24/GetAppStorage.json
Normal file
4
docs/en/data/Bitrix24/GetAppStorage.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"ChatID": "chat4",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"ChatID": "chat4",
|
||||
"UserID": "10"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"StorageID": "3",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"StorageID": "3"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"StorageID": "3",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"StorageID": "3"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"Indent": "1",
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"Indent": "1"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"Hour": "3600",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"Hour": "3600",
|
||||
"UserID": "1"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"Hour": "3600",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"Hour": "3600",
|
||||
"UserID": "1"
|
||||
}
|
6
docs/en/data/Bitrix24/MakeCopyFile.json
Normal file
6
docs/en/data/Bitrix24/MakeCopyFile.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"FolderID": 5016,
|
||||
"FileID": 5010,
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"Hour": "3600",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"Hour": "3600",
|
||||
"UserID": "1"
|
||||
}
|
@ -2,8 +2,8 @@
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"ChatID": "452",
|
||||
"File": "https://openintegrations.dev/test_data/document.docx // Binary Data, URL or path to file",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"Description": "Very important file",
|
||||
"FolderID": "Directory[result][ID]",
|
||||
"FileID": "UploadedFile[result][ID]",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"FileID": "UploadedFile[result][ID]"
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"ChatID": "chat + 450",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"Text": "Message text",
|
||||
"Image": "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg",
|
||||
"File": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"UserID": "10"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"Status": "away",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"Status": "away"
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"Hour": "3600",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"Hour": "3600",
|
||||
"UserID": "1",
|
||||
"Report": "Late"
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"DepartmentID": "70",
|
||||
"ParentID": "1",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"ParentID": "1",
|
||||
"HeadID": "10"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"Color": "000000",
|
||||
"StageID": "320",
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"Color": "000000"
|
||||
}
|
@ -2,6 +2,6 @@
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"TaskID": "1082",
|
||||
"CommentID": "2936",
|
||||
"Text": "The task has been changed, let's split up",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"Text": "The task has been changed, let's split up"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"TaskID": "1088",
|
||||
"RecordID": "308",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"Text": "The text I forgot last time",
|
||||
"Time": "4800",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"Time": "4800"
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
"Filename2": "Picture2.jpg",
|
||||
"Name": "Picture1.jpg",
|
||||
"Image2": "https://openintegrations.dev/test_data/picture.jpg // Local path, URL or Binary Data",
|
||||
"Image": "https://openintegrations.dev/test_data/picture2.jpg // Local path, URL or Binary Data",
|
||||
"DestinationID": "5016",
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"Filename2": "Picture2.jpg",
|
||||
"Name": "Picture1.jpg"
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
"Filename2": "Picture2.jpg",
|
||||
"Name": "Picture1.jpg",
|
||||
"Image2": "https://openintegrations.dev/test_data/picture.jpg // Local path, URL or Binary Data",
|
||||
"Image": "https://openintegrations.dev/test_data/picture2.jpg // Local path, URL or Binary Data",
|
||||
"DestinationID": "3",
|
||||
"URL": "b24-ar17wx.bitrix24.by",
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000..."
|
||||
"Token": "fe3fa966006e9f06006b12e400000001000...",
|
||||
"Filename2": "Picture2.jpg",
|
||||
"Name": "Picture1.jpg",
|
||||
"DestinationID": "3"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"Tag": "Important",
|
||||
"Token": "sl.B6AQWp9MlZlz4iaf41whVKxX9-MXeCiQhPRe4YIRxFmZ3zHsdjmOAatzgaWVhqmlIOvDD6WIUQ..."
|
||||
"Token": "sl.B6AQWp9MlZlz4iaf41whVKxX9-MXeCiQhPRe4YIRxFmZ3zHsdjmOAatzgaWVhqmlIOvDD6WIUQ...",
|
||||
"Tag": "Important"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"Tag": "Important",
|
||||
"Token": "sl.B6AQWp9MlZlz4iaf41whVKxX9-MXeCiQhPRe4YIRxFmZ3zHsdjmOAatzgaWVhqmlIOvDD6WIUQ..."
|
||||
"Token": "sl.B6AQWp9MlZlz4iaf41whVKxX9-MXeCiQhPRe4YIRxFmZ3zHsdjmOAatzgaWVhqmlIOvDD6WIUQ...",
|
||||
"Tag": "Important"
|
||||
}
|
3
docs/en/data/Dropbox/GetFolderFileList.json
Normal file
3
docs/en/data/Dropbox/GetFolderFileList.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"Token": "sl.B6AQWp9MlZlz4iaf41whVKxX9-MXeCiQhPRe4YIRxFmZ3zHsdjmOAatzgaWVhqmlIOvDD6WIUQ..."
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"TargetPath": "/pic.png",
|
||||
"Token": "sl.B6AQWp9MlZlz4iaf41whVKxX9-MXeCiQhPRe4YIRxFmZ3zHsdjmOAatzgaWVhqmlIOvDD6WIUQ..."
|
||||
"Token": "sl.B6AQWp9MlZlz4iaf41whVKxX9-MXeCiQhPRe4YIRxFmZ3zHsdjmOAatzgaWVhqmlIOvDD6WIUQ...",
|
||||
"TargetPath": "/pic.png"
|
||||
}
|
5
docs/en/data/Dropbox/UpdateToken.json
Normal file
5
docs/en/data/Dropbox/UpdateToken.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"AppKey": "oynqxds...",
|
||||
"AppSecret": "tk2oewn...",
|
||||
"RefreshToken": "oZFWg3DmZ_IAAAAAAAAAAWilOA0M1SjV..."
|
||||
}
|
4
docs/en/data/Telegram/ChangeMainTopicName.json
Normal file
4
docs/en/data/Telegram/ChangeMainTopicName.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"Token": "6129457865:AAFyzNYOAFbu...",
|
||||
"Chat": "-1001971186208"
|
||||
}
|
5
docs/en/data/Telegram/ClearPinnedMessagesList.json
Normal file
5
docs/en/data/Telegram/ClearPinnedMessagesList.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"Token": "6129457865:AAFyzNYOAFbu...",
|
||||
"Chat": "-1001971186208",
|
||||
"Topic": "3896"
|
||||
}
|
5
docs/en/data/Telegram/CloseForumTopic.json
Normal file
5
docs/en/data/Telegram/CloseForumTopic.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"Token": "6129457865:AAFyzNYOAFbu...",
|
||||
"Chat": "-1001971186208",
|
||||
"Topic": "3896"
|
||||
}
|
4
docs/en/data/Telegram/CreateForumTopic.json
Normal file
4
docs/en/data/Telegram/CreateForumTopic.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"Token": "6129457865:AAFyzNYOAFbu...",
|
||||
"Chat": "-1001971186208"
|
||||
}
|
4
docs/en/data/Telegram/CreateInviteLink.json
Normal file
4
docs/en/data/Telegram/CreateInviteLink.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"Token": "6129457865:AAFyzNYOAFbu...",
|
||||
"ChannelID": "@testsichee"
|
||||
}
|
3
docs/en/data/Telegram/GetForumAvatarList.json
Normal file
3
docs/en/data/Telegram/GetForumAvatarList.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"Token": "6129457865:AAFyzNYOAFbu..."
|
||||
}
|
5
docs/en/data/Telegram/OpenForumTopic.json
Normal file
5
docs/en/data/Telegram/OpenForumTopic.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"Token": "6129457865:AAFyzNYOAFbu...",
|
||||
"Chat": "-1001971186208",
|
||||
"Topic": "3896"
|
||||
}
|
@ -1,4 +1,8 @@
|
||||
{
|
||||
"Token": "111111111:AACccNYOAFbuhAL5GAaaBbbbOjZYFvLZZZZ",
|
||||
"ChatID": "461699897",
|
||||
"Text": "Строковое значение",
|
||||
"Image": "https://openintegrations.dev/test_data/picture.jpg",
|
||||
"Video": "https://openintegrations.dev/test_data/video.mp4",
|
||||
"Description": "Pictures group"
|
||||
}
|
7
docs/en/data/Telegram/SendPicture.json
Normal file
7
docs/en/data/Telegram/SendPicture.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"Token": "6129457865:AAFyzNYOAFbu...",
|
||||
"ChatID": "461699897",
|
||||
"ChannelID": "@testsichee",
|
||||
"Text": "Строковое значение",
|
||||
"Image": "https://openintegrations.dev/test_data/picture.jpg"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"Parameters": "GetVKParameters()",
|
||||
"Image1": "https://openintegrations.dev/test_data/picture.jpg // URL, Path to file or binary Data",
|
||||
"Image2": "https://openintegrations.dev/test_data/picture2.jpg // URL, Path to file or binary Data",
|
||||
"Selection": "125"
|
||||
"Selection": "125",
|
||||
"Parameters": "GetVKParameters()"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"Parameters": "GetVKParameters()",
|
||||
"Property": "648"
|
||||
"Property": "648",
|
||||
"Parameters": "GetVKParameters()"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"Parameters": "GetVKParameters()",
|
||||
"Product": "9372711",
|
||||
"Selection": "125"
|
||||
"Selection": "125",
|
||||
"Parameters": "GetVKParameters()"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"Parameters": "GetVKParameters()",
|
||||
"DiscussionID": "51798392"
|
||||
"DiscussionID": "51798392",
|
||||
"Parameters": "GetVKParameters()"
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"Parameters": "GetVKParameters()",
|
||||
"CampaignNumber": "1030425511",
|
||||
"DailyLimit": "150",
|
||||
"CategoryNumber": "126",
|
||||
"PostID": "3356",
|
||||
"AccountID": "1607951446"
|
||||
"AccountID": "1607951446",
|
||||
"Parameters": "GetVKParameters()",
|
||||
"DailyLimit": "150",
|
||||
"CategoryNumber": "126"
|
||||
}
|
3
docs/en/data/VK/CreateAdCampaign.json
Normal file
3
docs/en/data/VK/CreateAdCampaign.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"AccountID": "1607951446"
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"Image": "https://openintegrations.dev/test_data/picture.jpg // URL, Path or Binary Data",
|
||||
"Video": "https://openintegrations.dev/test_data/video.mp4 // URL, Path or Binary Data",
|
||||
"Parameters": "GetVKParameters()",
|
||||
"Text": "Post from autotest",
|
||||
"URL": "https://github.com/Bayselonarrend/OpenIntegrations",
|
||||
"Image": "https://openintegrations.dev/test_data/picture.jpg // URL, Path or Binary Data",
|
||||
"Video": "https://openintegrations.dev/test_data/video.mp4 // URL, Path or Binary Data",
|
||||
"TFN": "GetTempFileName(png)"
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"Image": "https://openintegrations.dev/test_data/picture.jpg // URL, Path or Binary Data",
|
||||
"Image2": "https://openintegrations.dev/test_data/picture2.jpg // URL, Path or Binary Data",
|
||||
"Parameters": "GetVKParameters()",
|
||||
"Text": "Post from autotest",
|
||||
"URL": "https://github.com/Bayselonarrend/OpenIntegrations",
|
||||
"Image": "https://openintegrations.dev/test_data/picture.jpg // URL, Path or Binary Data",
|
||||
"Image2": "https://openintegrations.dev/test_data/picture2.jpg // URL, Path or Binary Data",
|
||||
"TFN": "GetTempFileName(png)"
|
||||
}
|
6
docs/en/data/VK/CreateProductWithProp.json
Normal file
6
docs/en/data/VK/CreateProductWithProp.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"Image1": "https://openintegrations.dev/test_data/picture.jpg",
|
||||
"Image2": "https://openintegrations.dev/test_data/picture2.jpg",
|
||||
"PropVariant1": 2054,
|
||||
"PropVariant2": 2055
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"Image": "https://openintegrations.dev/test_data/picture.jpg // URL, Path to file or Binary Data",
|
||||
"Parameters": "GetVKParameters()",
|
||||
"URL": "https://github.com/Bayselonarrend/OpenIntegrations",
|
||||
"Image": "https://openintegrations.dev/test_data/picture.jpg // URL, Path to file or Binary Data",
|
||||
"TFN": "GetTempFileName(png)"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"Parameters": "GetVKParameters()",
|
||||
"AlbumID": "305187504"
|
||||
"AlbumID": "305187504",
|
||||
"Parameters": "GetVKParameters()"
|
||||
}
|
3
docs/en/data/VK/DeleteCollection.json
Normal file
3
docs/en/data/VK/DeleteCollection.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"Selection": 125
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"Parameters": "GetVKParameters()",
|
||||
"ImageID": "457246566"
|
||||
"ImageID": "457246566",
|
||||
"Parameters": "GetVKParameters()"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"Parameters": "GetVKParameters()",
|
||||
"PostID": "3356"
|
||||
"PostID": "3356",
|
||||
"Parameters": "GetVKParameters()"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"Parameters": "GetVKParameters()",
|
||||
"Product": "9372711"
|
||||
"Product": "9372711",
|
||||
"Parameters": "GetVKParameters()"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"Parameters": "GetVKParameters()",
|
||||
"Property": "648"
|
||||
"Property": "648",
|
||||
"Parameters": "GetVKParameters()"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"Parameters": "GetVKParameters()",
|
||||
"Option": "2054"
|
||||
"Option": "2054",
|
||||
"Parameters": "GetVKParameters()"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"Parameters": "GetVKParameters()",
|
||||
"Product": "9372711"
|
||||
"Product": "9372711",
|
||||
"Parameters": "GetVKParameters()"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"Property": "648",
|
||||
"Parameters": "GetVKParameters()",
|
||||
"Name": "Color (change.)",
|
||||
"Property": "648"
|
||||
"Name": "Color (change.)"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"Parameters": "GetVKParameters()",
|
||||
"Property": "648",
|
||||
"Option": "2054"
|
||||
"Option": "2054",
|
||||
"Parameters": "GetVKParameters()"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"Parameters": "GetVKParameters()",
|
||||
"Item1": "9372712",
|
||||
"Item2": "9372714"
|
||||
"Item2": "9372714",
|
||||
"Parameters": "GetVKParameters()"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"Parameters": "GetVKParameters()",
|
||||
"Item1": "9372712",
|
||||
"Item2": "9372714"
|
||||
"Item2": "9372714",
|
||||
"Parameters": "GetVKParameters()"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"Parameters": "GetVKParameters()",
|
||||
"PostID": "3356"
|
||||
"PostID": "3356",
|
||||
"Parameters": "GetVKParameters()"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"Parameters": "GetVKParameters()",
|
||||
"DiscussionID": "51798392"
|
||||
"DiscussionID": "51798392",
|
||||
"Parameters": "GetVKParameters()"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"Parameters": "GetVKParameters()",
|
||||
"AccountID": "1607951446",
|
||||
"AdID": "0"
|
||||
"AdID": "0",
|
||||
"Parameters": "GetVKParameters()"
|
||||
}
|
3
docs/en/data/VK/PostToDiscussion.json
Normal file
3
docs/en/data/VK/PostToDiscussion.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"DiscussionID": 51798392
|
||||
}
|
4
docs/en/data/VK/RemoveProductFromCollection.json
Normal file
4
docs/en/data/VK/RemoveProductFromCollection.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"Product": 9372711,
|
||||
"Selection": 125
|
||||
}
|
4
docs/en/data/VK/SavePictureToAlbum.json
Normal file
4
docs/en/data/VK/SavePictureToAlbum.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"AlbumID": 305187504,
|
||||
"Image": "https://openintegrations.dev/test_data/picture.jpg"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"Parameters": "GetVKParameters()",
|
||||
"Video": "https://openintegrations.dev/test_data/video.mp4",
|
||||
"Parameters": "GetVKParameters()",
|
||||
"Description": "Video description"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"Parameters": "GetVKParameters()",
|
||||
"PostID": "3356",
|
||||
"Parameters": "GetVKParameters()",
|
||||
"WallID": "Parameters[owner_id]"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"Parameters": "GetVKParameters()",
|
||||
"Text": "Message from autotest",
|
||||
"UserID": "657846756",
|
||||
"Communitytoken": "vk1.a.IzbBGUkYUvrNfMt_sknCcC66hyYifL0U1Bb8CVYCNFBUVfpsJtzZ_K5LwCzURr2_uCzEaP_AK1QmInp9sGp7fu_CtEDSipFWFXJo0y8I..."
|
||||
"Communitytoken": "vk1.a.IzbBGUkYUvrNfMt_sknCcC66hyYifL0U1Bb8CVYCNFBUVfpsJtzZ_K5LwCzURr2_uCzEaP_AK1QmInp9sGp7fu_CtEDSipFWFXJo0y8I...",
|
||||
"Parameters": "GetVKParameters()",
|
||||
"Text": "Message from autotest"
|
||||
}
|
4
docs/en/data/VKTeams/RemoveChatMembers.json
Normal file
4
docs/en/data/VKTeams/RemoveChatMembers.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"Token": "001.3501506236.091...",
|
||||
"ChatID": "689203963@chat.agent"
|
||||
}
|
5
docs/en/data/VKTeams/ResendVoice.json
Normal file
5
docs/en/data/VKTeams/ResendVoice.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"Token": "001.3501506236.091...",
|
||||
"ChatID": "AoLI0egLWBSLR1Ngn2w",
|
||||
"FileID": "I000bPVBYaNQkn9Fg3oY0066ba35811bd"
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"Token": "001.3501506236.091...",
|
||||
"ChatID": "AoLI0egLWBSLR1Ngn2w",
|
||||
"Text": "File caption",
|
||||
"File": "https://openintegrations.dev/test_data/document.docx // URL",
|
||||
"Text": "File caption",
|
||||
"FilePath": "GetTempFileName(docx) // Path"
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"Token": "001.3501506236.091...",
|
||||
"ChatID": "689203963@chat.agent",
|
||||
"Text": "<b>Bold text</b>",
|
||||
"ReplyID": "7402287649739767956",
|
||||
"Text": "<b>Bold text</b>",
|
||||
"Markup": "HTML"
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
"Token": "001.3501506236.091...",
|
||||
"ChatID": "689203963@chat.agent",
|
||||
"ReplyID": "7402287649739767956",
|
||||
"Text": "File caption",
|
||||
"File": "https://openintegrations.dev/test_data/song.m4a // URL",
|
||||
"Text": "File caption",
|
||||
"FilePath": "GetTempFileName(m4a) // Path"
|
||||
}
|
3
docs/en/data/YandexDisk/GetDiskInfo.json
Normal file
3
docs/en/data/YandexDisk/GetDiskInfo.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"Token": "y0_AgAAAABdylaOAAs0QgAAAAD5i-a..."
|
||||
}
|
@ -1,12 +1,12 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Type = "date";
|
||||
Name = "BIRTHDAY_FIELD";
|
||||
|
||||
Result = OPI_Bitrix24.AddCustomTaskField(URL, Type, Name);
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Type = "string";
|
||||
Name = "TEXT_FIELD";
|
||||
|
@ -1,18 +1,16 @@
|
||||
Name = "New stage";
|
||||
Color = "0026FF";
|
||||
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, 6);
|
||||
|
||||
OPI_TestDataRetrieval.WriteLog(Result, "AddKanbanStage (wh)", "Bitrix24");
|
||||
|
||||
PrevStageID = Result["result"];
|
||||
|
||||
Name = "New stage 2";
|
||||
Color = "0026FF";
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, PrevStageID, , True, Token);
|
||||
|
@ -1,13 +1,11 @@
|
||||
Text = "Comment for post";
|
||||
PostID = FunctionParameters["Bitrix24_PostID"];
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
PostID = "440";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text);
|
||||
|
||||
OPI_TestDataRetrieval.WriteLog(Result, "AddPostComment (wh)", "Bitrix24");
|
||||
|
||||
Text = "Another comment";
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text, Token);
|
||||
|
@ -1,12 +1,10 @@
|
||||
Visibility = "UA";
|
||||
PostID = FunctionParameters["Bitrix24_PostID"];
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
PostID = "440";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility);
|
||||
|
||||
OPI_TestDataRetrieval.WriteLog(Result, "AddPostRecipients (wh)", "Bitrix24");
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility, Token);
|
||||
|
@ -1,14 +1,12 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_CommentsTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
TaskID = "1082";
|
||||
|
||||
Text = "Task impossible, let's split up";
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskComment(URL, TaskID, Text);
|
||||
|
||||
OPI_TestDataRetrieval.WriteLog(Result, "AddTaskComment (wh)", "Bitrix24");
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Text = "Task uninpossible, don't split up";
|
||||
|
||||
|
@ -1,14 +1,12 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_ElapsedTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
TaskID = "1088";
|
||||
|
||||
Time = 3600;
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskTimeAccounting(URL, TaskID, Time);
|
||||
|
||||
OPI_TestDataRetrieval.WriteLog(Result, "AddTaskTimeAccounting (wh)", "Bitrix24");
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Text = "Time spent on work";
|
||||
UserID = 10;
|
||||
|
@ -1,12 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
TaskID = "1078";
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID);
|
||||
|
||||
OPI_TestDataRetrieval.WriteLog(Result, "StopWatchingTask (wh)", "Bitrix24");
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
TaskID = "1080";
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID, Token);
|
||||
|
@ -1,14 +1,12 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
TaskID = "1078";
|
||||
|
||||
Text = "Checklist element";
|
||||
|
||||
Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, True);
|
||||
|
||||
OPI_TestDataRetrieval.WriteLog(Result, "AddTasksChecklistElement (wh)", "Bitrix24");
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
TaskID = "1080";
|
||||
|
||||
Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, , Token);
|
||||
|
@ -1,5 +1,5 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
ChatID = FunctionParameters["Bitrix24_HookChatID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
ChatID = "450";
|
||||
|
||||
UserIDs = New Array;
|
||||
UserIDs.Add(10);
|
||||
@ -7,11 +7,9 @@
|
||||
|
||||
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserIDs);
|
||||
|
||||
OPI_TestDataRetrieval.WriteLog(Result, "AddUsersToChat (wh)", "Bitrix24");
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
ChatID = FunctionParameters["Bitrix24_ChatID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "452";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserID, True, Token);
|
||||
|
@ -1,12 +1,10 @@
|
||||
URL = FunctionParameters["Bitrix24_URL"];
|
||||
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
TaskID = "1078";
|
||||
|
||||
Result = OPI_Bitrix24.ApproveTask(URL, TaskID);
|
||||
|
||||
OPI_TestDataRetrieval.WriteLog(Result, "ApproveTask (wh)", "Bitrix24");
|
||||
|
||||
URL = FunctionParameters["Bitrix24_Domain"];
|
||||
Token = FunctionParameters["Bitrix24_Token"];
|
||||
TaskID = FunctionParameters["Bitrix24_TaskID"];
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "fe3fa966006e9f06006b12e400000001000...";
|
||||
TaskID = "1080";
|
||||
|
||||
Result = OPI_Bitrix24.ApproveTask(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