mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-21 01:50:24 +02:00
Пересборка доков
This commit is contained in:
parent
20575ce48a
commit
37272e7d0c
BIN
data.json.gpg
BIN
data.json.gpg
Binary file not shown.
1
docs/en/cli/VKTeams/AnswerButtonEvent.txt
Normal file
1
docs/en/cli/VKTeams/AnswerButtonEvent.txt
Normal file
@ -0,0 +1 @@
|
||||
oint vkteams AnswerButtonEvent --token "001.3501506236.091..." --queryid %queryid% --text %text% --url %url% --showalert %showalert%
|
1
docs/en/cli/VKTeams/ApprovePending.txt
Normal file
1
docs/en/cli/VKTeams/ApprovePending.txt
Normal file
@ -0,0 +1 @@
|
||||
oint vkteams ApprovePending --token "001.3501506236.091..." --chatid "689203963@chat.agent" --userid %userid%
|
1
docs/en/cli/VKTeams/BlockChatUser.txt
Normal file
1
docs/en/cli/VKTeams/BlockChatUser.txt
Normal file
@ -0,0 +1 @@
|
||||
oint vkteams BlockChatUser --token "001.3501506236.091..." --chatid "689203963@chat.agent" --userid %userid% --dellast %dellast%
|
1
docs/en/cli/VKTeams/ChangeChatPicture.txt
Normal file
1
docs/en/cli/VKTeams/ChangeChatPicture.txt
Normal file
@ -0,0 +1 @@
|
||||
oint vkteams ChangeChatPicture --token "001.3501506236.091..." --chatid "AoLI0egLWBSLR1Ngn2w" --file "https://openintegrations.dev/test_data/spy2.png"
|
1
docs/en/cli/VKTeams/DisapprovePending.txt
Normal file
1
docs/en/cli/VKTeams/DisapprovePending.txt
Normal file
@ -0,0 +1 @@
|
||||
oint vkteams DisapprovePending --token "001.3501506236.091..." --chatid "689203963@chat.agent" --userid %userid%
|
1
docs/en/cli/VKTeams/GetChatAdmins.txt
Normal file
1
docs/en/cli/VKTeams/GetChatAdmins.txt
Normal file
@ -0,0 +1 @@
|
||||
oint vkteams GetChatAdmins --token "001.3501506236.091..." --chatid "AoLI0egLWBSLR1Ngn2w"
|
1
docs/en/cli/VKTeams/GetChatBlockedUsers.txt
Normal file
1
docs/en/cli/VKTeams/GetChatBlockedUsers.txt
Normal file
@ -0,0 +1 @@
|
||||
oint vkteams GetChatBlockedUsers --token "001.3501506236.091..." --chatid "AoLI0egLWBSLR1Ngn2w"
|
1
docs/en/cli/VKTeams/GetChatInfo.txt
Normal file
1
docs/en/cli/VKTeams/GetChatInfo.txt
Normal file
@ -0,0 +1 @@
|
||||
oint vkteams GetChatInfo --token "001.3501506236.091..." --chatid "AoLI0egLWBSLR1Ngn2w"
|
1
docs/en/cli/VKTeams/GetChatJoinRequests.txt
Normal file
1
docs/en/cli/VKTeams/GetChatJoinRequests.txt
Normal file
@ -0,0 +1 @@
|
||||
oint vkteams GetChatJoinRequests --token "001.3501506236.091..." --chatid "AoLI0egLWBSLR1Ngn2w"
|
1
docs/en/cli/VKTeams/GetChatMembers.txt
Normal file
1
docs/en/cli/VKTeams/GetChatMembers.txt
Normal file
@ -0,0 +1 @@
|
||||
oint vkteams GetChatMembers --token "001.3501506236.091..." --chatid "AoLI0egLWBSLR1Ngn2w" --cursor %cursor%
|
1
docs/en/cli/VKTeams/MakeActionButton.txt
Normal file
1
docs/en/cli/VKTeams/MakeActionButton.txt
Normal file
@ -0,0 +1 @@
|
||||
oint vkteams MakeActionButton --text %text% --data %data% --url %url% --style %style%
|
1
docs/en/cli/VKTeams/PinMessage.txt
Normal file
1
docs/en/cli/VKTeams/PinMessage.txt
Normal file
@ -0,0 +1 @@
|
||||
oint vkteams PinMessage --token "001.3501506236.091..." --chatid "689203963@chat.agent" --messageid "7401463509940174907"
|
1
docs/en/cli/VKTeams/SetChatDescription.txt
Normal file
1
docs/en/cli/VKTeams/SetChatDescription.txt
Normal file
@ -0,0 +1 @@
|
||||
oint vkteams SetChatDescription --token "001.3501506236.091..." --chatid "689203963@chat.agent" --text %text%
|
1
docs/en/cli/VKTeams/SetChatRules.txt
Normal file
1
docs/en/cli/VKTeams/SetChatRules.txt
Normal file
@ -0,0 +1 @@
|
||||
oint vkteams SetChatRules --token "001.3501506236.091..." --chatid "689203963@chat.agent" --text %text%
|
1
docs/en/cli/VKTeams/SetChatTitle.txt
Normal file
1
docs/en/cli/VKTeams/SetChatTitle.txt
Normal file
@ -0,0 +1 @@
|
||||
oint vkteams SetChatTitle --token "001.3501506236.091..." --chatid "689203963@chat.agent" --text %text%
|
1
docs/en/cli/VKTeams/UnblockChatUser.txt
Normal file
1
docs/en/cli/VKTeams/UnblockChatUser.txt
Normal file
@ -0,0 +1 @@
|
||||
oint vkteams UnblockChatUser --token "001.3501506236.091..." --chatid "689203963@chat.agent" --userid %userid%
|
1
docs/en/cli/VKTeams/UnpinMessage.txt
Normal file
1
docs/en/cli/VKTeams/UnpinMessage.txt
Normal file
@ -0,0 +1 @@
|
||||
oint vkteams UnpinMessage --token "001.3501506236.091..." --chatid "689203963@chat.agent" --messageid "7401463509940174907"
|
@ -1,5 +1,5 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
TaskID = "1084";
|
||||
TaskID = "1258";
|
||||
|
||||
Text = "Task impossible, let's split up";
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
CommentID = "2940";
|
||||
CommentID = "3402";
|
||||
|
||||
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID);
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
CommentID = "2940";
|
||||
CommentID = "3402";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID);
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
TaskID = "1084";
|
||||
CommentID = "2940";
|
||||
TaskID = "1258";
|
||||
CommentID = "3402";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID);
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
TaskID = "1084";
|
||||
TaskID = "1258";
|
||||
|
||||
Result = OPI_Bitrix24.GetResultsList(URL, TaskID);
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
CommentID = "2940";
|
||||
TaskID = "1084";
|
||||
CommentID = "3402";
|
||||
TaskID = "1258";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID);
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
TaskID = "1084";
|
||||
TaskID = "1258";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID);
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
TaskID = "1084";
|
||||
CommentID = "2940";
|
||||
TaskID = "1258";
|
||||
CommentID = "3402";
|
||||
|
||||
Text = "The task has been changed, do not split up";
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path to file or binary Data
|
||||
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Path to file or binary Data
|
||||
Selection = "";
|
||||
Selection = "122";
|
||||
|
||||
ImageArray = New Array;
|
||||
ImageArray.Add(Image1);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Property = "";
|
||||
Property = "682";
|
||||
OptionArray = New Array;
|
||||
OptionArray.Add("Yellow");
|
||||
OptionArray.Add("Blue");
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "";
|
||||
Selection = "";
|
||||
Product = "9441427";
|
||||
Selection = "122";
|
||||
|
||||
Result = OPI_VK.AddProductToCollection(Product, Selection, Parameters);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
CampaignNumber = "";
|
||||
CampaignNumber = "1030466671";
|
||||
DailyLimit = 150;
|
||||
CategoryNumber = 126;
|
||||
PostID = "2021";
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
|
||||
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg";
|
||||
PropVariant1 = "";
|
||||
PropVariant2 = "";
|
||||
PropVariant1 = "2138";
|
||||
PropVariant2 = "2139";
|
||||
|
||||
ImageArray = New Array;
|
||||
ImageArray.Add(Image1);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Selection = "";
|
||||
Selection = "122";
|
||||
|
||||
Result = OPI_VK.DeleteSelection(Selection, Parameters);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "";
|
||||
Product = "9441427";
|
||||
|
||||
Result = OPI_VK.DeleteProduct(Product, Parameters);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Property = "";
|
||||
Property = "682";
|
||||
|
||||
Result = OPI_VK.DeleteProductProperty(Property, Parameters);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Option = "";
|
||||
Option = "2138";
|
||||
|
||||
Result = OPI_VK.DeleteProductPropertyVariant(Option, Parameters);
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "";
|
||||
Product = "9441427";
|
||||
|
||||
ProductDescription = New Map;
|
||||
ProductDescription.Insert("Name", "EditedTestProduct");
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Name = "Color (change.)";
|
||||
Property = "";
|
||||
Property = "682";
|
||||
|
||||
Result = OPI_VK.EditProductProperty(Name, Property, Parameters);
|
||||
|
@ -1,7 +1,7 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Property = "";
|
||||
Option = "";
|
||||
Property = "682";
|
||||
Option = "2138";
|
||||
Value = "New variant name";
|
||||
|
||||
Result = OPI_VK.EditProductPropertyVariant(Value
|
||||
|
@ -1,7 +1,7 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Item1 = "";
|
||||
Item2 = "";
|
||||
Item1 = "9441430";
|
||||
Item2 = "9441431";
|
||||
|
||||
ProductsArray = New Array;
|
||||
ProductsArray.Add(Item1);
|
||||
|
@ -1,7 +1,7 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Item1 = "";
|
||||
Item2 = "";
|
||||
Item1 = "9441430";
|
||||
Item2 = "9441431";
|
||||
|
||||
ProductsArray = New Array;
|
||||
ProductsArray.Add(Item1);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
AccountID = "1607951446";
|
||||
AdID = "";
|
||||
AdID = "0";
|
||||
|
||||
Result = OPI_VK.PauseAdvertising(AccountID, AdID, Parameters);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "";
|
||||
Selection = "";
|
||||
Product = "9441427";
|
||||
Selection = "122";
|
||||
|
||||
Result = OPI_VK.RemoveProductFromSelection(Product, Selection, Parameters);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "001.3501506236.091...";
|
||||
FileID = "";
|
||||
FileID = "ikA4wZjxn8yVTbBmGGVhcJ66c1fef91bd";
|
||||
|
||||
Result = OPI_VKTeams.GetFileInformation(Token, FileID);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "AoLI0egLWBSLR1Ngn2w";
|
||||
FileID = "";
|
||||
FileID = "ikA4wZjxn8yVTbBmGGVhcJ66c1fef91bd";
|
||||
Text = "File caption";
|
||||
|
||||
Result = OPI_VKTeams.ResendFile(Token, ChatID, FileID, Text, "SameDoc.docx");
|
||||
|
@ -1,5 +1,5 @@
|
||||
Token = "001.3501506236.091...";
|
||||
ChatID = "AoLI0egLWBSLR1Ngn2w";
|
||||
FileID = "";
|
||||
FileID = "I000bJFcQzDlacFsE2y2th66c1ff0c1bd";
|
||||
|
||||
Result = OPI_VKTeams.ResendVoice(Token, ChatID, FileID);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Path = "";
|
||||
Path = "/b91ade1a-0731-4dd9-b453-199debd673c4.png";
|
||||
|
||||
Result = OPI_YandexDisk.CancelObjectPublication(Token, Path);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Original = "";
|
||||
Original = "/b91ade1a-0731-4dd9-b453-199debd673c4.png";
|
||||
Path = "/" + String(New UUID) + ".png";
|
||||
|
||||
Result = OPI_YandexDisk.CreateObjectCopy(Token, Original, Path, True);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Path = "";
|
||||
Path = "/657bb0d1-fc8d-4812-90fe-447ed21bc367.png";
|
||||
|
||||
Result = OPI_YandexDisk.DeleteObject(Token, Path, False);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Path = "";
|
||||
Path = "/b88bbbcb-0261-4669-a161-28887de75ef6.png";
|
||||
|
||||
Result = OPI_YandexDisk.DownloadFile(Token, Path);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Path = "";
|
||||
Path = "/b88bbbcb-0261-4669-a161-28887de75ef6.png";
|
||||
|
||||
Result = OPI_YandexDisk.GetDownloadLink(Token, Path);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
URL = "";
|
||||
URL = "https://yadi.sk/d/SkGfnxKeOI0oYQ";
|
||||
|
||||
Result = OPI_YandexDisk.GetDownloadLinkForPublicObject(Token, URL);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Path = "";
|
||||
Path = "/657bb0d1-fc8d-4812-90fe-447ed21bc367.png";
|
||||
|
||||
Result = OPI_YandexDisk.GetObject(Token, Path);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
URL = "";
|
||||
URL = "https://yadi.sk/d/SkGfnxKeOI0oYQ";
|
||||
|
||||
Result = OPI_YandexDisk.GetPublicObject(Token, URL);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Original = "";
|
||||
Original = "/b91ade1a-0731-4dd9-b453-199debd673c4.png";
|
||||
Path = "/" + String(New UUID) + ".png";
|
||||
|
||||
Result = OPI_YandexDisk.MoveObject(Token, Original, Path, True);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Path = "";
|
||||
Path = "/b91ade1a-0731-4dd9-b453-199debd673c4.png";
|
||||
|
||||
Result = OPI_YandexDisk.PublishObject(Token, Path);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
URL = "";
|
||||
URL = "https://yadi.sk/d/SkGfnxKeOI0oYQ";
|
||||
|
||||
Result = OPI_YandexDisk.SavePublicObjectToDisk(Token, URL);
|
||||
|
@ -28,16 +28,16 @@ Method at API documentation: [disk.folder.addsubfolder](https://dev.1c-bitrix.ru
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
FolderID = "6048";
|
||||
FolderID = "5052";
|
||||
Name = "New subfolder";
|
||||
Filename2 = "New subfolder 2";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateSubfolder(URL, FolderID, Filename2);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateSubfolder(URL, FolderID, Name, Token);
|
||||
```
|
||||
|
@ -27,14 +27,14 @@ Method at API documentation: [disk.folder.deletetree](https://dev.1c-bitrix.ru/r
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "6046";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
FolderID = "5050";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
FolderID = "6048";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
FolderID = "5052";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID, Token);
|
||||
```
|
||||
|
@ -27,13 +27,13 @@ Method at API documentation: [disk.folder.getExternalLink](https://dev.1c-bitrix
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "6048";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
FolderID = "5052";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID, Token);
|
||||
```
|
||||
|
@ -27,12 +27,12 @@ Method at API documentation: [disk.folder.getfields](https://dev.1c-bitrix.ru/re
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderFilterStructure(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderFilterStructure(URL, True, Token);
|
||||
```
|
||||
|
@ -27,13 +27,13 @@ Method at API documentation: [disk.folder.get](https://dev.1c-bitrix.ru/rest_hel
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "6048";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
FolderID = "5052";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID, Token);
|
||||
```
|
||||
|
@ -28,13 +28,13 @@ Method at API documentation: [disk.folder.getchildren](https://dev.1c-bitrix.ru/
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "6048";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
FolderID = "5052";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID, , Token);
|
||||
```
|
||||
|
@ -28,18 +28,18 @@ Method at API documentation: [disk.folder.copyto](https://dev.1c-bitrix.ru/rest_
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
DestinationID = "6050";
|
||||
FolderID = "6052";
|
||||
DestinationID = "5054";
|
||||
FolderID = "5056";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
|
||||
Result = OPI_Bitrix24.MakeFolderCopy(URL, FolderID, DestinationID);
|
||||
|
||||
DestinationID = "6052";
|
||||
FolderID = "6050";
|
||||
DestinationID = "5056";
|
||||
FolderID = "5054";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MakeFolderCopy(URL, FolderID, DestinationID, Token);
|
||||
|
||||
|
@ -27,13 +27,13 @@ Method at API documentation: [disk.folder.markdeleted](https://dev.1c-bitrix.ru/
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "6048";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
FolderID = "5052";
|
||||
|
||||
Result = OPI_Bitrix24.MarkFolderAsDeleted(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MarkFolderAsDeleted(URL, FolderID, Token);
|
||||
```
|
||||
|
@ -28,17 +28,17 @@ Method at API documentation: [disk.folder.moveto](https://dev.1c-bitrix.ru/rest_
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
DestinationID = "6046";
|
||||
FolderID = "6052";
|
||||
DestinationID = "5050";
|
||||
FolderID = "5056";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
|
||||
Result = OPI_Bitrix24.MoveFolder(URL, FolderID, DestinationID);
|
||||
|
||||
FolderID = "6050";
|
||||
FolderID = "5054";
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.MoveFolder(URL, FolderID, DestinationID, Token);
|
||||
|
||||
|
@ -31,14 +31,14 @@ Method at API documentation: [disk.folder.rename](https://dev.1c-bitrix.ru/rest_
|
||||
Name = "New catalog";
|
||||
Filename2 = "New folder 2";
|
||||
|
||||
FolderID2 = "6046";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID2 = "5050";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
|
||||
Result = OPI_Bitrix24.RenameFolder(URL, FolderID2, Filename2);
|
||||
|
||||
FolderID = "6048";
|
||||
FolderID = "5052";
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.RenameFolder(URL, FolderID, Name, Token);
|
||||
```
|
||||
|
@ -27,13 +27,13 @@ Method at API documentation: [disk.folder.restore](https://dev.1c-bitrix.ru/rest
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FolderID = "6048";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
FolderID = "5052";
|
||||
|
||||
Result = OPI_Bitrix24.RestoreFolder(URL, FolderID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.RestoreFolder(URL, FolderID, Token);
|
||||
```
|
||||
|
@ -29,8 +29,8 @@ Method at API documentation: [im.chat.user.add](https://dev.1c-bitrix.ru/learnin
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "522";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
ChatID = "454";
|
||||
|
||||
UserIDs = New Array;
|
||||
UserIDs.Add(10);
|
||||
@ -39,8 +39,8 @@ Method at API documentation: [im.chat.user.add](https://dev.1c-bitrix.ru/learnin
|
||||
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserIDs);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
ChatID = "524";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "456";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserID, True, Token);
|
||||
|
@ -30,16 +30,16 @@ Method at API documentation: [im.chat.updateTitle](https://dev.1c-bitrix.ru/lear
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "522";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
ChatID = "454";
|
||||
|
||||
Color = "AZURE";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatColor(URL, ChatID, Color);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
ChatID = "524";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "456";
|
||||
|
||||
Color = "PURPLE";
|
||||
|
||||
|
@ -28,16 +28,16 @@ Method at API documentation: [im.chat.setOwner](https://dev.1c-bitrix.ru/learnin
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "522";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
ChatID = "454";
|
||||
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
ChatID = "524";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "456";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID, Token);
|
||||
```
|
||||
|
@ -28,16 +28,16 @@ Method at API documentation: [im.chat.updateAvatar](https://dev.1c-bitrix.ru/lea
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "522";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
ChatID = "454";
|
||||
|
||||
Image = "https://openintegrations.dev/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 = "7a63bc66006e9f06006b12e400000001000...";
|
||||
ChatID = "524";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "456";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image, Token);
|
||||
```
|
||||
|
@ -28,16 +28,16 @@ Method at API documentation: [im.chat.updateTitle](https://dev.1c-bitrix.ru/lear
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "522";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
ChatID = "454";
|
||||
|
||||
Title = "New chat title";
|
||||
|
||||
Result = OPI_Bitrix24.ChangeChatTitle(URL, ChatID, Title);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
ChatID = "524";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "456";
|
||||
|
||||
Title = "Another title";
|
||||
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [im.chat.add](https://dev.1c-bitrix.ru/learning/cou
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
Image = "https://openintegrations.dev/test_data/picture.jpg";
|
||||
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
|
||||
OPI_TypeConversion.GetBinaryData(Image);
|
||||
|
||||
B64Image = GetBase64StringFromBinaryData(Image);
|
||||
@ -46,12 +46,12 @@ Method at API documentation: [im.chat.add](https://dev.1c-bitrix.ru/learning/cou
|
||||
ChatStructure.Insert("AVATAR" , B64Image);
|
||||
ChatStructure.Insert("OWNER_ID" , 1);
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
|
||||
Result = OPI_Bitrix24.CreateChat(URL, ChatStructure);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
|
||||
ChatStructure = New Structure;
|
||||
ChatStructure.Insert("TYPE" , "CHAT");
|
||||
|
@ -28,16 +28,16 @@ Method at API documentation: [im.chat.user.delete](https://dev.1c-bitrix.ru/lear
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "522";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
ChatID = "454";
|
||||
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
ChatID = "524";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "456";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID, Token);
|
||||
```
|
||||
|
@ -27,14 +27,14 @@ Method at API documentation: [im.chat.mute](https://dev.1c-bitrix.ru/learning/co
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "522";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
ChatID = "454";
|
||||
|
||||
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
ChatID = "524";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "456";
|
||||
|
||||
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID, Token);
|
||||
```
|
||||
|
@ -27,14 +27,14 @@ Method at API documentation: [im.chat.mute](https://dev.1c-bitrix.ru/learning/co
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "522";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
ChatID = "454";
|
||||
|
||||
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
ChatID = "524";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "456";
|
||||
|
||||
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID, Token);
|
||||
```
|
||||
|
@ -27,14 +27,14 @@ Method at API documentation: [im.disk.folder.get](https://dev.1c-bitrix.ru/learn
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "522";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
ChatID = "454";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
ChatID = "524";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "456";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID, Token);
|
||||
```
|
||||
|
@ -27,13 +27,13 @@ Method at API documentation: [im.dialog.users.list](https://dev.1c-bitrix.ru/lea
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "chat" + "522";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
ChatID = "chat" + "454";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMembersList(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMembersList(URL, UserID, Token);
|
||||
|
@ -29,13 +29,13 @@ Method at API documentation: [im.dialog.messages.get](https://dev.1c-bitrix.ru/l
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
ChatID = "chat4";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMessagesList(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMessagesList(URL, UserID, , 0, Token);
|
||||
|
@ -27,14 +27,14 @@ Method at API documentation: [im.chat.user.list](https://dev.1c-bitrix.ru/learni
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "522";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
ChatID = "454";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
ChatID = "524";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "456";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID, Token);
|
||||
```
|
||||
|
@ -27,13 +27,13 @@ Method at API documentation: [im.dialog.get](https://dev.1c-bitrix.ru/learning/c
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "chat" + "522";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
ChatID = "chat" + "454";
|
||||
|
||||
Result = OPI_Bitrix24.GetDialog(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.GetDialog(URL, UserID, Token);
|
||||
|
@ -26,12 +26,12 @@ Method at API documentation: [im.user.status.get](https://dev.1c-bitrix.ru/learn
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
|
||||
Result = OPI_Bitrix24.GetUserStatus(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetUserStatus(URL, Token);
|
||||
```
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [im.user.list.get ](https://dev.1c-bitrix.ru/learni
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
ArrayOfUsers = New Array;
|
||||
|
||||
ArrayOfUsers.Add(1);
|
||||
@ -36,7 +36,7 @@ Method at API documentation: [im.user.list.get ](https://dev.1c-bitrix.ru/learni
|
||||
Result = OPI_Bitrix24.GetUsers(URL, ArrayOfUsers);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
UserIDs = 10;
|
||||
|
||||
Result = OPI_Bitrix24.GetUsers(URL, UserIDs, Token);
|
||||
|
@ -27,14 +27,14 @@ Method at API documentation: [im.chat.leave](https://dev.1c-bitrix.ru/learning/c
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "522";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
ChatID = "454";
|
||||
|
||||
Result = OPI_Bitrix24.LeaveChat(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
ChatID = "524";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
ChatID = "456";
|
||||
|
||||
Result = OPI_Bitrix24.LeaveChat(URL, ChatID, Token);
|
||||
```
|
||||
|
@ -26,12 +26,12 @@ Method at API documentation: [im.dialog.read.all](https://dev.1c-bitrix.ru/learn
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
|
||||
Result = OPI_Bitrix24.ReadAll(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.ReadAll(URL, Token);
|
||||
```
|
||||
|
@ -27,13 +27,13 @@ Method at API documentation: [im.dialog.writing](https://dev.1c-bitrix.ru/learni
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
ChatID = "chat" + "522";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
ChatID = "chat" + "454";
|
||||
|
||||
Result = OPI_Bitrix24.SendWritingNotification(URL, ChatID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
UserID = 10;
|
||||
|
||||
Result = OPI_Bitrix24.SendWritingNotification(URL, UserID, Token);
|
||||
|
@ -27,13 +27,13 @@ Method at API documentation: [im.user.status.set](https://dev.1c-bitrix.ru/learn
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
Status = "dnd";
|
||||
|
||||
Result = OPI_Bitrix24.SetUserStatus(URL, Status);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
Status = "away";
|
||||
|
||||
Result = OPI_Bitrix24.SetUserStatus(URL, Status, Token);
|
||||
|
@ -28,7 +28,7 @@ Method at API documentation: [task.commentitem.add](https://dev.1c-bitrix.ru/res
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
TaskID = "1258";
|
||||
|
||||
Text = "Task impossible, let's split up";
|
||||
@ -36,7 +36,7 @@ Method at API documentation: [task.commentitem.add](https://dev.1c-bitrix.ru/res
|
||||
Result = OPI_Bitrix24.AddTaskComment(URL, TaskID, Text);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Text = "Task uninpossible, don't split up";
|
||||
|
||||
|
@ -27,14 +27,14 @@ Method at API documentation: [tasks.task.result.addFromComment](https://dev.1c-b
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
CommentID = "3402";
|
||||
|
||||
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
CommentID = "3404";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
CommentID = "2942";
|
||||
|
||||
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID, Token);
|
||||
```
|
||||
|
@ -27,14 +27,14 @@ Method at API documentation: [tasks.task.result.deleteFromComment](https://dev.1
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
CommentID = "3402";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
CommentID = "3404";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
CommentID = "2942";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID, Token);
|
||||
```
|
||||
|
@ -28,15 +28,15 @@ Method at API documentation: [task.commentitem.delete](https://dev.1c-bitrix.ru/
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
TaskID = "1258";
|
||||
CommentID = "3402";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
CommentID = "3404";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
CommentID = "2942";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID, Token);
|
||||
```
|
||||
|
@ -27,13 +27,13 @@ Method at API documentation: [tasks.task.result.list](https://dev.1c-bitrix.ru/r
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
TaskID = "1258";
|
||||
|
||||
Result = OPI_Bitrix24.GetResultsList(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetResultsList(URL, TaskID, Token);
|
||||
```
|
||||
|
@ -28,15 +28,15 @@ Method at API documentation: [task.commentitem.get](https://dev.1c-bitrix.ru/res
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
CommentID = "3402";
|
||||
TaskID = "1258";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
CommentID = "3404";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
CommentID = "2942";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID, Token);
|
||||
```
|
||||
|
@ -27,13 +27,13 @@ Method at API documentation: [task.commentitem.getlist](https://dev.1c-bitrix.ru
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
TaskID = "1258";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID, Token);
|
||||
```
|
||||
|
@ -29,7 +29,7 @@ Method at API documentation: [task.commentitem.update](https://dev.1c-bitrix.ru/
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
TaskID = "1258";
|
||||
CommentID = "3402";
|
||||
|
||||
@ -38,8 +38,8 @@ Method at API documentation: [task.commentitem.update](https://dev.1c-bitrix.ru/
|
||||
Result = OPI_Bitrix24.UpdateTaskComment(URL, TaskID, CommentID, Text);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
CommentID = "3404";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
CommentID = "2942";
|
||||
|
||||
Text = "The task has been changed, let's split up";
|
||||
|
||||
|
@ -31,7 +31,7 @@ Method at API documentation: [task.item.userfield.add](https://dev.1c-bitrix.ru/
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
|
||||
Type = "date";
|
||||
Name = "BIRTHDAY_FIELD";
|
||||
@ -39,7 +39,7 @@ Method at API documentation: [task.item.userfield.add](https://dev.1c-bitrix.ru/
|
||||
Result = OPI_Bitrix24.AddCustomTaskField(URL, Type, Name);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Type = "string";
|
||||
Name = "TEXT_FIELD";
|
||||
|
@ -27,14 +27,14 @@ Method at API documentation: [task.item.userfield.delete](https://dev.1c-bitrix.
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FieldID = "255";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
FieldID = "259";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
FieldID = "257";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
FieldID = "261";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID, );
|
||||
```
|
||||
|
@ -27,14 +27,14 @@ Method at API documentation: [task.item.userfield.get](https://dev.1c-bitrix.ru/
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
FieldID = "255";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
FieldID = "259";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
FieldID = "257";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
FieldID = "261";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID, );
|
||||
```
|
||||
|
@ -26,12 +26,12 @@ Method at API documentation: [task.item.userfield.getlist](https://dev.1c-bitrix
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
|
||||
```
|
||||
|
@ -30,17 +30,17 @@ Method at API documentation: [task.item.userfield.update](https://dev.1c-bitrix.
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
|
||||
|
||||
FieldID = "255";
|
||||
FieldID = "259";
|
||||
Title = "New title";
|
||||
|
||||
Result = OPI_Bitrix24.UpdateCustomTaskField(URL, FieldID, , Title);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "7a63bc66006e9f06006b12e400000001000...";
|
||||
Token = "c03fa966006e9f06006b12e400000001000...";
|
||||
|
||||
FieldID = "257";
|
||||
FieldID = "261";
|
||||
ExternalID = "NEW_TEXT_FIELD";
|
||||
Signature = New Structure("en,ru", "Updated field", "Izmenennoe pole");
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user