You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-10-08 22:51:57 +02:00
Пересборка доков
This commit is contained in:
1
docs/en/cli/Ozon/GetAvailablePromoProducts.txt
Normal file
1
docs/en/cli/Ozon/GetAvailablePromoProducts.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
oint ozon GetAvailablePromoProducts --clientid "2128753" --apikey "7cc90d26-33e4-499b..." --actionid %actionid% --offset %offset%
|
1
docs/en/cli/Ozon/GetCurrentPromoProducts.txt
Normal file
1
docs/en/cli/Ozon/GetCurrentPromoProducts.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
oint ozon GetCurrentPromoProducts --clientid "2128753" --apikey "7cc90d26-33e4-499b..." --actionid %actionid% --offset %offset%
|
1
docs/en/cli/Ozon/GetDiscountInformation.txt
Normal file
1
docs/en/cli/Ozon/GetDiscountInformation.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
oint ozon GetDiscountInformation --clientid "2128753" --apikey "7cc90d26-33e4-499b..." --sku %sku%
|
1
docs/en/cli/Ozon/GetProductPriceStructure.txt
Normal file
1
docs/en/cli/Ozon/GetProductPriceStructure.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
oint ozon GetProductPriceStructure --empty %empty%
|
1
docs/en/cli/Ozon/GetProductStocksStructure.txt
Normal file
1
docs/en/cli/Ozon/GetProductStocksStructure.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
oint ozon GetProductStocksStructure --empty %empty%
|
1
docs/en/cli/Ozon/GetProductsPrices.txt
Normal file
1
docs/en/cli/Ozon/GetProductsPrices.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
oint ozon GetProductsPrices --clientid "2128753" --apikey "7cc90d26-33e4-499b..." --filter %filter% --last %last%
|
1
docs/en/cli/Ozon/GetProductsStocks.txt
Normal file
1
docs/en/cli/Ozon/GetProductsStocks.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
oint ozon GetProductsStocks --clientid "2128753" --apikey "7cc90d26-33e4-499b..." --filter %filter% --last %last%
|
1
docs/en/cli/Ozon/GetPromotionsList.txt
Normal file
1
docs/en/cli/Ozon/GetPromotionsList.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
oint ozon GetPromotionsList --clientid "2128753" --apikey "7cc90d26-33e4-499b..."
|
1
docs/en/cli/Ozon/GetWarehousesList.txt
Normal file
1
docs/en/cli/Ozon/GetWarehousesList.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
oint ozon GetWarehousesList --clientid "2128753" --apikey "7cc90d26-33e4-499b..."
|
1
docs/en/cli/Ozon/SetProductDiscount.txt
Normal file
1
docs/en/cli/Ozon/SetProductDiscount.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
oint ozon SetProductDiscount --clientid "2128753" --apikey "7cc90d26-33e4-499b..." --productid %productid% --discount %discount%
|
1
docs/en/cli/Ozon/UpdateProductsPrices.txt
Normal file
1
docs/en/cli/Ozon/UpdateProductsPrices.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
oint ozon UpdateProductsPrices --clientid "2128753" --apikey "7cc90d26-33e4-499b..." --prices %prices%
|
1
docs/en/cli/Ozon/UpdateProductsStocks.txt
Normal file
1
docs/en/cli/Ozon/UpdateProductsStocks.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
oint ozon UpdateProductsStocks --clientid "2128753" --apikey "7cc90d26-33e4-499b..." --stocks %stocks%
|
@@ -28,7 +28,7 @@ Method at API documentation: [disk.folder.addsubfolder](https://dev.1c-bitrix.ru
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
FolderID = "6880";
|
FolderID = "7586";
|
||||||
Name = "New subfolder";
|
Name = "New subfolder";
|
||||||
Filename2 = "New subfolder 2";
|
Filename2 = "New subfolder 2";
|
||||||
|
|
||||||
@@ -37,7 +37,7 @@ Method at API documentation: [disk.folder.addsubfolder](https://dev.1c-bitrix.ru
|
|||||||
Result = OPI_Bitrix24.CreateSubfolder(URL, FolderID, Filename2);
|
Result = OPI_Bitrix24.CreateSubfolder(URL, FolderID, Filename2);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.CreateSubfolder(URL, FolderID, Name, Token);
|
Result = OPI_Bitrix24.CreateSubfolder(URL, FolderID, Name, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,13 +28,13 @@ Method at API documentation: [disk.folder.deletetree](https://dev.1c-bitrix.ru/r
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
FolderID = "6878";
|
FolderID = "7584";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID);
|
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
FolderID = "6880";
|
FolderID = "7586";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID, Token);
|
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,12 +28,12 @@ Method at API documentation: [disk.folder.getExternalLink](https://dev.1c-bitrix
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
FolderID = "6880";
|
FolderID = "7586";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID);
|
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID, Token);
|
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -32,7 +32,7 @@ Method at API documentation: [disk.folder.getfields](https://dev.1c-bitrix.ru/re
|
|||||||
Result = OPI_Bitrix24.GetFolderFilterStructure(URL);
|
Result = OPI_Bitrix24.GetFolderFilterStructure(URL);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetFolderFilterStructure(URL, True, Token);
|
Result = OPI_Bitrix24.GetFolderFilterStructure(URL, True, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,12 +28,12 @@ Method at API documentation: [disk.folder.get](https://dev.1c-bitrix.ru/rest_hel
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
FolderID = "6880";
|
FolderID = "7586";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID);
|
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID, Token);
|
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -29,12 +29,12 @@ Method at API documentation: [disk.folder.getchildren](https://dev.1c-bitrix.ru/
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
FolderID = "6880";
|
FolderID = "7586";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID);
|
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID, , Token);
|
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"
|
```bsl title="Code example"
|
||||||
DestinationID = "6882";
|
DestinationID = "7588";
|
||||||
FolderID = "6884";
|
FolderID = "7590";
|
||||||
|
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.MakeFolderCopy(URL, FolderID, DestinationID);
|
Result = OPI_Bitrix24.MakeFolderCopy(URL, FolderID, DestinationID);
|
||||||
|
|
||||||
DestinationID = "6884";
|
DestinationID = "7590";
|
||||||
FolderID = "6882";
|
FolderID = "7588";
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.MakeFolderCopy(URL, FolderID, DestinationID, Token);
|
Result = OPI_Bitrix24.MakeFolderCopy(URL, FolderID, DestinationID, Token);
|
||||||
|
|
||||||
|
@@ -28,12 +28,12 @@ Method at API documentation: [disk.folder.markdeleted](https://dev.1c-bitrix.ru/
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
FolderID = "6880";
|
FolderID = "7586";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.MarkFolderAsDeleted(URL, FolderID);
|
Result = OPI_Bitrix24.MarkFolderAsDeleted(URL, FolderID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.MarkFolderAsDeleted(URL, FolderID, Token);
|
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"
|
```bsl title="Code example"
|
||||||
DestinationID = "6878";
|
DestinationID = "7584";
|
||||||
FolderID = "6884";
|
FolderID = "7590";
|
||||||
|
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.MoveFolder(URL, FolderID, DestinationID);
|
Result = OPI_Bitrix24.MoveFolder(URL, FolderID, DestinationID);
|
||||||
|
|
||||||
FolderID = "6882";
|
FolderID = "7588";
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.MoveFolder(URL, FolderID, DestinationID, Token);
|
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";
|
Name = "New catalog";
|
||||||
Filename2 = "New folder 2";
|
Filename2 = "New folder 2";
|
||||||
|
|
||||||
FolderID2 = "6878";
|
FolderID2 = "7584";
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.RenameFolder(URL, FolderID2, Filename2);
|
Result = OPI_Bitrix24.RenameFolder(URL, FolderID2, Filename2);
|
||||||
|
|
||||||
FolderID = "6880";
|
FolderID = "7586";
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.RenameFolder(URL, FolderID, Name, Token);
|
Result = OPI_Bitrix24.RenameFolder(URL, FolderID, Name, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,12 +28,12 @@ Method at API documentation: [disk.folder.restore](https://dev.1c-bitrix.ru/rest
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
FolderID = "6880";
|
FolderID = "7586";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.RestoreFolder(URL, FolderID);
|
Result = OPI_Bitrix24.RestoreFolder(URL, FolderID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.RestoreFolder(URL, FolderID, Token);
|
Result = OPI_Bitrix24.RestoreFolder(URL, FolderID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -30,7 +30,7 @@ Method at API documentation: [im.chat.user.add](https://dev.1c-bitrix.ru/learnin
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
ChatID = "578";
|
ChatID = "642";
|
||||||
|
|
||||||
UserIDs = New Array;
|
UserIDs = New Array;
|
||||||
UserIDs.Add(10);
|
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);
|
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserIDs);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
ChatID = "580";
|
ChatID = "644";
|
||||||
UserID = 10;
|
UserID = 10;
|
||||||
|
|
||||||
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserID, True, Token);
|
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserID, True, Token);
|
||||||
|
@@ -31,15 +31,15 @@ Method at API documentation: [im.chat.updateTitle](https://dev.1c-bitrix.ru/lear
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
ChatID = "578";
|
ChatID = "642";
|
||||||
|
|
||||||
Color = "AZURE";
|
Color = "AZURE";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.ChangeChatColor(URL, ChatID, Color);
|
Result = OPI_Bitrix24.ChangeChatColor(URL, ChatID, Color);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
ChatID = "580";
|
ChatID = "644";
|
||||||
|
|
||||||
Color = "PURPLE";
|
Color = "PURPLE";
|
||||||
|
|
||||||
|
@@ -29,15 +29,15 @@ Method at API documentation: [im.chat.setOwner](https://dev.1c-bitrix.ru/learnin
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
ChatID = "578";
|
ChatID = "642";
|
||||||
|
|
||||||
UserID = 10;
|
UserID = 10;
|
||||||
|
|
||||||
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID);
|
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
ChatID = "580";
|
ChatID = "644";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID, Token);
|
Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -29,15 +29,15 @@ Method at API documentation: [im.chat.updateAvatar](https://dev.1c-bitrix.ru/lea
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
ChatID = "578";
|
ChatID = "642";
|
||||||
|
|
||||||
Image = "https://openintegrations.dev/test_data/picture2.jpg";
|
Image = "https://openintegrations.dev/test_data/picture2.jpg";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image);
|
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
ChatID = "580";
|
ChatID = "644";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image, Token);
|
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image, Token);
|
||||||
```
|
```
|
||||||
|
@@ -29,15 +29,15 @@ Method at API documentation: [im.chat.updateTitle](https://dev.1c-bitrix.ru/lear
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
ChatID = "578";
|
ChatID = "642";
|
||||||
|
|
||||||
Title = "New chat title";
|
Title = "New chat title";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.ChangeChatTitle(URL, ChatID, Title);
|
Result = OPI_Bitrix24.ChangeChatTitle(URL, ChatID, Title);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
ChatID = "580";
|
ChatID = "644";
|
||||||
|
|
||||||
Title = "Another title";
|
Title = "Another title";
|
||||||
|
|
||||||
|
@@ -51,7 +51,7 @@ Method at API documentation: [im.chat.add](https://dev.1c-bitrix.ru/learning/cou
|
|||||||
Result = OPI_Bitrix24.CreateChat(URL, ChatStructure);
|
Result = OPI_Bitrix24.CreateChat(URL, ChatStructure);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
ChatStructure = New Structure;
|
ChatStructure = New Structure;
|
||||||
ChatStructure.Insert("TYPE" , "CHAT");
|
ChatStructure.Insert("TYPE" , "CHAT");
|
||||||
|
@@ -29,15 +29,15 @@ Method at API documentation: [im.chat.user.delete](https://dev.1c-bitrix.ru/lear
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
ChatID = "578";
|
ChatID = "642";
|
||||||
|
|
||||||
UserID = 10;
|
UserID = 10;
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID);
|
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
ChatID = "580";
|
ChatID = "644";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID, Token);
|
Result = OPI_Bitrix24.DeleteUserFromChat(URL, ChatID, UserID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,13 +28,13 @@ Method at API documentation: [im.chat.mute](https://dev.1c-bitrix.ru/learning/co
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
ChatID = "578";
|
ChatID = "642";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID);
|
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
ChatID = "580";
|
ChatID = "644";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID, Token);
|
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,13 +28,13 @@ Method at API documentation: [im.chat.mute](https://dev.1c-bitrix.ru/learning/co
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
ChatID = "578";
|
ChatID = "642";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID);
|
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
ChatID = "580";
|
ChatID = "644";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID, Token);
|
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,13 +28,13 @@ Method at API documentation: [im.disk.folder.get](https://dev.1c-bitrix.ru/learn
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
ChatID = "578";
|
ChatID = "642";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID);
|
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
ChatID = "580";
|
ChatID = "644";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID, Token);
|
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,12 +28,12 @@ Method at API documentation: [im.dialog.users.list](https://dev.1c-bitrix.ru/lea
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
ChatID = "chat" + "578";
|
ChatID = "chat" + "642";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetChatMembersList(URL, ChatID);
|
Result = OPI_Bitrix24.GetChatMembersList(URL, ChatID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
UserID = 10;
|
UserID = 10;
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetChatMembersList(URL, UserID, Token);
|
Result = OPI_Bitrix24.GetChatMembersList(URL, UserID, Token);
|
||||||
|
@@ -35,7 +35,7 @@ Method at API documentation: [im.dialog.messages.get](https://dev.1c-bitrix.ru/l
|
|||||||
Result = OPI_Bitrix24.GetChatMessagesList(URL, ChatID);
|
Result = OPI_Bitrix24.GetChatMessagesList(URL, ChatID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
UserID = 10;
|
UserID = 10;
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetChatMessagesList(URL, UserID, , 0, Token);
|
Result = OPI_Bitrix24.GetChatMessagesList(URL, UserID, , 0, Token);
|
||||||
|
@@ -28,13 +28,13 @@ Method at API documentation: [im.chat.user.list](https://dev.1c-bitrix.ru/learni
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
ChatID = "578";
|
ChatID = "642";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID);
|
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
ChatID = "580";
|
ChatID = "644";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID, Token);
|
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,12 +28,12 @@ Method at API documentation: [im.dialog.get](https://dev.1c-bitrix.ru/learning/c
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
ChatID = "chat" + "578";
|
ChatID = "chat" + "642";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetDialog(URL, ChatID);
|
Result = OPI_Bitrix24.GetDialog(URL, ChatID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
UserID = 10;
|
UserID = 10;
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetDialog(URL, UserID, Token);
|
Result = OPI_Bitrix24.GetDialog(URL, UserID, Token);
|
||||||
|
@@ -31,7 +31,7 @@ Method at API documentation: [im.user.status.get](https://dev.1c-bitrix.ru/learn
|
|||||||
Result = OPI_Bitrix24.GetUserStatus(URL);
|
Result = OPI_Bitrix24.GetUserStatus(URL);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetUserStatus(URL, Token);
|
Result = OPI_Bitrix24.GetUserStatus(URL, Token);
|
||||||
```
|
```
|
||||||
|
@@ -36,7 +36,7 @@ Method at API documentation: [im.user.list.get ](https://dev.1c-bitrix.ru/learni
|
|||||||
Result = OPI_Bitrix24.GetUsers(URL, ArrayOfUsers);
|
Result = OPI_Bitrix24.GetUsers(URL, ArrayOfUsers);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
UserIDs = 10;
|
UserIDs = 10;
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetUsers(URL, UserIDs, Token);
|
Result = OPI_Bitrix24.GetUsers(URL, UserIDs, Token);
|
||||||
|
@@ -28,13 +28,13 @@ Method at API documentation: [im.chat.leave](https://dev.1c-bitrix.ru/learning/c
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
ChatID = "578";
|
ChatID = "642";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.LeaveChat(URL, ChatID);
|
Result = OPI_Bitrix24.LeaveChat(URL, ChatID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
ChatID = "580";
|
ChatID = "644";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.LeaveChat(URL, ChatID, Token);
|
Result = OPI_Bitrix24.LeaveChat(URL, ChatID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -31,7 +31,7 @@ Method at API documentation: [im.dialog.read.all](https://dev.1c-bitrix.ru/learn
|
|||||||
Result = OPI_Bitrix24.ReadAll(URL);
|
Result = OPI_Bitrix24.ReadAll(URL);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.ReadAll(URL, Token);
|
Result = OPI_Bitrix24.ReadAll(URL, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,12 +28,12 @@ Method at API documentation: [im.dialog.writing](https://dev.1c-bitrix.ru/learni
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
ChatID = "chat" + "578";
|
ChatID = "chat" + "642";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.SendWritingNotification(URL, ChatID);
|
Result = OPI_Bitrix24.SendWritingNotification(URL, ChatID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
UserID = 10;
|
UserID = 10;
|
||||||
|
|
||||||
Result = OPI_Bitrix24.SendWritingNotification(URL, UserID, Token);
|
Result = OPI_Bitrix24.SendWritingNotification(URL, UserID, Token);
|
||||||
|
@@ -33,7 +33,7 @@ Method at API documentation: [im.user.status.set](https://dev.1c-bitrix.ru/learn
|
|||||||
Result = OPI_Bitrix24.SetUserStatus(URL, Status);
|
Result = OPI_Bitrix24.SetUserStatus(URL, Status);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
Status = "away";
|
Status = "away";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.SetUserStatus(URL, Status, Token);
|
Result = OPI_Bitrix24.SetUserStatus(URL, Status, Token);
|
||||||
|
@@ -29,14 +29,14 @@ Method at API documentation: [task.commentitem.add](https://dev.1c-bitrix.ru/res
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
TaskID = "1398";
|
TaskID = "1518";
|
||||||
|
|
||||||
Text = "Task impossible, let's split up";
|
Text = "Task impossible, let's split up";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.AddTaskComment(URL, TaskID, Text);
|
Result = OPI_Bitrix24.AddTaskComment(URL, TaskID, Text);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Text = "Task uninpossible, don't split up";
|
Text = "Task uninpossible, don't split up";
|
||||||
|
|
||||||
|
@@ -28,13 +28,13 @@ Method at API documentation: [tasks.task.result.addFromComment](https://dev.1c-b
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
CommentID = "3710";
|
CommentID = "3974";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID);
|
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
CommentID = "3712";
|
CommentID = "3976";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID, Token);
|
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,13 +28,13 @@ Method at API documentation: [tasks.task.result.deleteFromComment](https://dev.1
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
CommentID = "3710";
|
CommentID = "3974";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID);
|
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
CommentID = "3712";
|
CommentID = "3976";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID, Token);
|
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -29,14 +29,14 @@ Method at API documentation: [task.commentitem.delete](https://dev.1c-bitrix.ru/
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
TaskID = "1398";
|
TaskID = "1518";
|
||||||
CommentID = "3710";
|
CommentID = "3974";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID);
|
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
CommentID = "3712";
|
CommentID = "3976";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID, Token);
|
Result = OPI_Bitrix24.DeleteTaskComment(URL, TaskID, CommentID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,12 +28,12 @@ Method at API documentation: [tasks.task.result.list](https://dev.1c-bitrix.ru/r
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
TaskID = "1398";
|
TaskID = "1518";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetResultsList(URL, TaskID);
|
Result = OPI_Bitrix24.GetResultsList(URL, TaskID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetResultsList(URL, TaskID, Token);
|
Result = OPI_Bitrix24.GetResultsList(URL, TaskID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -29,14 +29,14 @@ Method at API documentation: [task.commentitem.get](https://dev.1c-bitrix.ru/res
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
CommentID = "3710";
|
CommentID = "3974";
|
||||||
TaskID = "1398";
|
TaskID = "1518";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID);
|
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
CommentID = "3712";
|
CommentID = "3976";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID, Token);
|
Result = OPI_Bitrix24.GetTaskComment(URL, TaskID, CommentID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,12 +28,12 @@ Method at API documentation: [task.commentitem.getlist](https://dev.1c-bitrix.ru
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
TaskID = "1398";
|
TaskID = "1518";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID);
|
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID, Token);
|
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -30,16 +30,16 @@ Method at API documentation: [task.commentitem.update](https://dev.1c-bitrix.ru/
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
TaskID = "1398";
|
TaskID = "1518";
|
||||||
CommentID = "3710";
|
CommentID = "3974";
|
||||||
|
|
||||||
Text = "The task has been changed, do not split up";
|
Text = "The task has been changed, do not split up";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.UpdateTaskComment(URL, TaskID, CommentID, Text);
|
Result = OPI_Bitrix24.UpdateTaskComment(URL, TaskID, CommentID, Text);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
CommentID = "3712";
|
CommentID = "3976";
|
||||||
|
|
||||||
Text = "The task has been changed, let's split up";
|
Text = "The task has been changed, let's split up";
|
||||||
|
|
||||||
|
@@ -39,7 +39,7 @@ Method at API documentation: [task.item.userfield.add](https://dev.1c-bitrix.ru/
|
|||||||
Result = OPI_Bitrix24.AddCustomTaskField(URL, Type, Name);
|
Result = OPI_Bitrix24.AddCustomTaskField(URL, Type, Name);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Type = "string";
|
Type = "string";
|
||||||
Name = "TEXT_FIELD";
|
Name = "TEXT_FIELD";
|
||||||
|
@@ -33,7 +33,7 @@ Method at API documentation: [task.item.userfield.delete](https://dev.1c-bitrix.
|
|||||||
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID);
|
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
FieldID = "257";
|
FieldID = "257";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID, );
|
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID, );
|
||||||
|
@@ -33,7 +33,7 @@ Method at API documentation: [task.item.userfield.get](https://dev.1c-bitrix.ru/
|
|||||||
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID);
|
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
FieldID = "257";
|
FieldID = "257";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID, );
|
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID, );
|
||||||
|
@@ -31,7 +31,7 @@ Method at API documentation: [task.item.userfield.getlist](https://dev.1c-bitrix
|
|||||||
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
|
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
|
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
|
||||||
```
|
```
|
||||||
|
@@ -38,7 +38,7 @@ Method at API documentation: [task.item.userfield.update](https://dev.1c-bitrix.
|
|||||||
Result = OPI_Bitrix24.UpdateCustomTaskField(URL, FieldID, , Title);
|
Result = OPI_Bitrix24.UpdateCustomTaskField(URL, FieldID, , Title);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
FieldID = "257";
|
FieldID = "257";
|
||||||
ExternalID = "NEW_TEXT_FIELD";
|
ExternalID = "NEW_TEXT_FIELD";
|
||||||
|
@@ -50,7 +50,7 @@ Method at API documentation: [crm.deal.add](https://dev.1c-bitrix.ru/rest_help/c
|
|||||||
FieldsStructure.Insert("CLOSEDATE", "2031-01-01");
|
FieldsStructure.Insert("CLOSEDATE", "2031-01-01");
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.CreateDeal(URL, FieldsStructure, Token);
|
Result = OPI_Bitrix24.CreateDeal(URL, FieldsStructure, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,13 +28,13 @@ Method at API documentation: [crm.deal.delete](https://dev.1c-bitrix.ru/rest_hel
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
DealID = "";
|
DealID = "80";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DeleteDeal(URL, DealID);
|
Result = OPI_Bitrix24.DeleteDeal(URL, DealID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
DealID = "";
|
DealID = "82";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DeleteDeal(URL, DealID, Token);
|
Result = OPI_Bitrix24.DeleteDeal(URL, DealID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -31,7 +31,7 @@ Method at API documentation: [crm.deal.fields](https://dev.1c-bitrix.ru/rest_hel
|
|||||||
Result = OPI_Bitrix24.GetDealStructure(URL);
|
Result = OPI_Bitrix24.GetDealStructure(URL);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetDealStructure(URL, Token);
|
Result = OPI_Bitrix24.GetDealStructure(URL, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,13 +28,13 @@ Method at API documentation: [crm.deal.get](https://dev.1c-bitrix.ru/rest_help/c
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
DealID = "";
|
DealID = "80";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetDeal(URL, DealID);
|
Result = OPI_Bitrix24.GetDeal(URL, DealID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
DealID = "";
|
DealID = "80";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetDeal(URL, DealID, Token);
|
Result = OPI_Bitrix24.GetDeal(URL, DealID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -33,7 +33,7 @@ Method at API documentation: [crm.deal.list](https://dev.1c-bitrix.ru/rest_help/
|
|||||||
Result = OPI_Bitrix24.GetDealsList(URL);
|
Result = OPI_Bitrix24.GetDealsList(URL);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Filter = New Structure;
|
Filter = New Structure;
|
||||||
Filter.Insert("TITLE" , "Sale in RUB");
|
Filter.Insert("TITLE" , "Sale in RUB");
|
||||||
|
@@ -35,7 +35,7 @@ dev.1c-bitrix.ru/rest_help/crm/cdeals/crm_deal_update.php)
|
|||||||
FieldsStructure.Insert("OPPORTUNITY" , 50000);
|
FieldsStructure.Insert("OPPORTUNITY" , 50000);
|
||||||
|
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
DealID = "";
|
DealID = "80";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.UpdateDeal(URL, DealID, FieldsStructure);
|
Result = OPI_Bitrix24.UpdateDeal(URL, DealID, FieldsStructure);
|
||||||
|
|
||||||
@@ -43,8 +43,8 @@ dev.1c-bitrix.ru/rest_help/crm/cdeals/crm_deal_update.php)
|
|||||||
FieldsStructure.Insert("BEGINDATE", "2025-01-01");
|
FieldsStructure.Insert("BEGINDATE", "2025-01-01");
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
DealID = "";
|
DealID = "82";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.UpdateDeal(URL, DealID, FieldsStructure, Token);
|
Result = OPI_Bitrix24.UpdateDeal(URL, DealID, FieldsStructure, Token);
|
||||||
```
|
```
|
||||||
|
@@ -37,10 +37,10 @@ Method at API documentation: [department.add](https://dev.1c-bitrix.ru/rest_help
|
|||||||
Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID);
|
Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Name = "Subordinate department";
|
Name = "Subordinate department";
|
||||||
ParentID = "196";
|
ParentID = "246";
|
||||||
HeadID = 1;
|
HeadID = 1;
|
||||||
|
|
||||||
Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID, HeadID, Token);
|
Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID, HeadID, Token);
|
||||||
|
@@ -28,13 +28,13 @@ Method at API documentation: [department.delete](https://dev.1c-bitrix.ru/rest_h
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
DepartmentID = "198";
|
DepartmentID = "248";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DeleteDepartment(URL, DepartmentID);
|
Result = OPI_Bitrix24.DeleteDepartment(URL, DepartmentID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
DepartmentID = "196";
|
DepartmentID = "246";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DeleteDepartment(URL, DepartmentID, Token);
|
Result = OPI_Bitrix24.DeleteDepartment(URL, DepartmentID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -31,12 +31,12 @@ Method at API documentation: [department.get](https://dev.1c-bitrix.ru/rest_help
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
DepartmentID = "198";
|
DepartmentID = "248";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetDepartments(URL, DepartmentID);
|
Result = OPI_Bitrix24.GetDepartments(URL, DepartmentID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
HeadID = 1;
|
HeadID = 1;
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetDepartments(URL, , , , HeadID, Token);
|
Result = OPI_Bitrix24.GetDepartments(URL, , , , HeadID, Token);
|
||||||
|
@@ -32,15 +32,15 @@ Method at API documentation: [department.update](https://dev.1c-bitrix.ru/rest_h
|
|||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
|
|
||||||
DepartmentID = "196";
|
DepartmentID = "246";
|
||||||
ParentID = 7;
|
ParentID = 7;
|
||||||
|
|
||||||
Result = OPI_Bitrix24.UpdateDepartment(URL, DepartmentID, , ParentID);
|
Result = OPI_Bitrix24.UpdateDepartment(URL, DepartmentID, , ParentID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
DepartmentID = "198";
|
DepartmentID = "248";
|
||||||
Name = "New department";
|
Name = "New department";
|
||||||
ParentID = 1;
|
ParentID = 1;
|
||||||
HeadID = 10;
|
HeadID = 10;
|
||||||
|
@@ -29,14 +29,14 @@ Method at API documentation: [log.blogcomment.add](https://dev.1c-bitrix.ru/rest
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
Text = "Comment for post";
|
Text = "Comment for post";
|
||||||
PostID = "560";
|
PostID = "604";
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text);
|
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text);
|
||||||
|
|
||||||
Text = "Another comment";
|
Text = "Another comment";
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text, Token);
|
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text, Token);
|
||||||
```
|
```
|
||||||
|
@@ -29,13 +29,13 @@ Method at API documentation: [log.blogpost.share](https://dev.1c-bitrix.ru/rest_
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
Visibility = "UA";
|
Visibility = "UA";
|
||||||
PostID = "560";
|
PostID = "604";
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility);
|
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility, Token);
|
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility, Token);
|
||||||
```
|
```
|
||||||
|
@@ -45,7 +45,7 @@ Method at API documentation: [log.blogpost.add](https://dev.1c-bitrix.ru/rest_he
|
|||||||
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, True);
|
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, True);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, , Token);
|
Result = OPI_Bitrix24.CreatePost(URL, Text, , Files, Title, , Token);
|
||||||
```
|
```
|
||||||
|
@@ -27,14 +27,14 @@ Method at API documentation: [log.blogpost.delete](https://dev.1c-bitrix.ru/rest
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
PostID = "558";
|
PostID = "602";
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DeletePost(URL, PostID);
|
Result = OPI_Bitrix24.DeletePost(URL, PostID);
|
||||||
|
|
||||||
PostID = "560";
|
PostID = "604";
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DeletePost(URL, PostID, Token);
|
Result = OPI_Bitrix24.DeletePost(URL, PostID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -27,13 +27,13 @@ Method at API documentation: [log.blogpost.getusers.important](https://dev.1c-bi
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
PostID = "558";
|
PostID = "602";
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID);
|
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID, Token);
|
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,13 +28,13 @@ Method at API documentation: [log.blogpost.get](https://dev.1c-bitrix.ru/rest_he
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
PostID = "560";
|
PostID = "604";
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetPosts(URL, PostID);
|
Result = OPI_Bitrix24.GetPosts(URL, PostID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetPosts(URL, PostID, , Token);
|
Result = OPI_Bitrix24.GetPosts(URL, PostID, , Token);
|
||||||
```
|
```
|
||||||
|
@@ -34,7 +34,7 @@ Method at API documentation: [log.blogpost.update](https://dev.1c-bitrix.ru/rest
|
|||||||
Text = "New post text";
|
Text = "New post text";
|
||||||
Title = "New post title";
|
Title = "New post title";
|
||||||
Image1 = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
Image1 = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
|
||||||
PostID = "560";
|
PostID = "604";
|
||||||
|
|
||||||
Files = New Map;
|
Files = New Map;
|
||||||
Files.Insert("1.png", Image1);
|
Files.Insert("1.png", Image1);
|
||||||
@@ -44,8 +44,8 @@ Method at API documentation: [log.blogpost.update](https://dev.1c-bitrix.ru/rest
|
|||||||
Result = OPI_Bitrix24.UpdatePost(URL, PostID, Text, , Files, Title);
|
Result = OPI_Bitrix24.UpdatePost(URL, PostID, Text, , Files, Title);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
PostID = "558";
|
PostID = "602";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.UpdatePost(URL, PostID, Text, , Files, Title, Token);
|
Result = OPI_Bitrix24.UpdatePost(URL, PostID, Text, , Files, Title, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,13 +28,13 @@ Method at API documentation: [disk.file.delete](https://dev.1c-bitrix.ru/rest_he
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
FileID = "6872";
|
FileID = "7578";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DeleteFile(URL, FileID);
|
Result = OPI_Bitrix24.DeleteFile(URL, FileID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
FileID = "6874";
|
FileID = "7580";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DeleteFile(URL, FileID, Token);
|
Result = OPI_Bitrix24.DeleteFile(URL, FileID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -30,12 +30,12 @@ The method has suddenly disappeared from the API on the cloud Bitrix24 where it
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
FileID = "6874";
|
FileID = "7580";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID);
|
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID, Token);
|
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,12 +28,12 @@ Method at API documentation: [disk.file.get](https://dev.1c-bitrix.ru/rest_help/
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
FileID = "6874";
|
FileID = "7580";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetFileInformation(URL, FileID);
|
Result = OPI_Bitrix24.GetFileInformation(URL, FileID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetFileInformation(URL, FileID, Token);
|
Result = OPI_Bitrix24.GetFileInformation(URL, FileID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,17 +28,17 @@ Method at API documentation: [disk.file.copyto](https://dev.1c-bitrix.ru/rest_he
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
FolderID = "6878";
|
FolderID = "7584";
|
||||||
FileID = "6874";
|
FileID = "7580";
|
||||||
|
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.MakeCopyFile(URL, FileID, FolderID);
|
Result = OPI_Bitrix24.MakeCopyFile(URL, FileID, FolderID);
|
||||||
|
|
||||||
FolderID = "6880";
|
FolderID = "7586";
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.MakeCopyFile(URL, FileID, FolderID, Token);
|
Result = OPI_Bitrix24.MakeCopyFile(URL, FileID, FolderID, Token);
|
||||||
|
|
||||||
|
@@ -28,12 +28,12 @@ Method at API documentation: [disk.file.markdeleted](https://dev.1c-bitrix.ru/re
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
FileID = "6874";
|
FileID = "7580";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.MarkFileAsDeleted(URL, FileID);
|
Result = OPI_Bitrix24.MarkFileAsDeleted(URL, FileID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.MarkFileAsDeleted(URL, FileID, Token);
|
Result = OPI_Bitrix24.MarkFileAsDeleted(URL, FileID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,17 +28,17 @@ Method at API documentation: [disk.file.moveto](https://dev.1c-bitrix.ru/rest_he
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
FolderID = "6882";
|
FolderID = "7588";
|
||||||
FileID = "6874";
|
FileID = "7580";
|
||||||
|
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.MoveFileToFolder(URL, FileID, FolderID);
|
Result = OPI_Bitrix24.MoveFileToFolder(URL, FileID, FolderID);
|
||||||
|
|
||||||
FolderID = "6884";
|
FolderID = "7590";
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.MoveFileToFolder(URL, FileID, FolderID, Token);
|
Result = OPI_Bitrix24.MoveFileToFolder(URL, FileID, FolderID, Token);
|
||||||
|
|
||||||
|
@@ -31,14 +31,14 @@ Method at API documentation: [disk.file.rename](https://dev.1c-bitrix.ru/rest_he
|
|||||||
Name = "New file name.jpg";
|
Name = "New file name.jpg";
|
||||||
Filename2 = "New file name 2.jpg";
|
Filename2 = "New file name 2.jpg";
|
||||||
|
|
||||||
FileID2 = "6872";
|
FileID2 = "7578";
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.RenameFile(URL, FileID2, Filename2);
|
Result = OPI_Bitrix24.RenameFile(URL, FileID2, Filename2);
|
||||||
|
|
||||||
FileID = "6874";
|
FileID = "7580";
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.RenameFile(URL, FileID, Name, Token);
|
Result = OPI_Bitrix24.RenameFile(URL, FileID, Name, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,12 +28,12 @@ Method at API documentation: [disk.file.restore](https://dev.1c-bitrix.ru/rest_h
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
FileID = "6874";
|
FileID = "7580";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.RestoreFile(URL, FileID);
|
Result = OPI_Bitrix24.RestoreFile(URL, FileID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.RestoreFile(URL, FileID, Token);
|
Result = OPI_Bitrix24.RestoreFile(URL, FileID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -35,14 +35,14 @@ Method at API documentation: [disk.folder.uploadfile](https://dev.1c-bitrix.ru/r
|
|||||||
Image2 = "https://openintegrations.dev/test_data/picture.jpg"; // Local path, URL or Binary Data
|
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
|
Image = "https://openintegrations.dev/test_data/picture2.jpg"; // Local path, URL or Binary Data
|
||||||
|
|
||||||
DestinationID = "6880";
|
DestinationID = "7586";
|
||||||
|
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.UploadFileToFolder(URL, Filename2, Image2, DestinationID);
|
Result = OPI_Bitrix24.UploadFileToFolder(URL, Filename2, Image2, DestinationID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.UploadFileToFolder(URL, Name, Image, DestinationID, Token);
|
Result = OPI_Bitrix24.UploadFileToFolder(URL, Name, Image, DestinationID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -43,7 +43,7 @@ Method at API documentation: [disk.storage.uploadfile](https://dev.1c-bitrix.ru/
|
|||||||
Result = OPI_Bitrix24.UploadFileToStorage(URL, Filename2, Image2, DestinationID);
|
Result = OPI_Bitrix24.UploadFileToStorage(URL, Filename2, Image2, DestinationID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.UploadFileToStorage(URL, Name, Image, DestinationID, , Token);
|
Result = OPI_Bitrix24.UploadFileToStorage(URL, Name, Image, DestinationID, , Token);
|
||||||
```
|
```
|
||||||
|
@@ -44,7 +44,7 @@ Method at API documentation: [task.stages.add](https://dev.1c-bitrix.ru/rest_hel
|
|||||||
Color = "0026FF";
|
Color = "0026FF";
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, PrevStageID, , True, Token);
|
Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, PrevStageID, , True, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,16 +28,16 @@ Method at API documentation: [task.stages.delete](https://dev.1c-bitrix.ru/rest_
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
StageID = "446";
|
StageID = "498";
|
||||||
|
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID, True);
|
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID, True);
|
||||||
|
|
||||||
StageID = "448";
|
StageID = "500";
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID, , Token);
|
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID, , Token);
|
||||||
```
|
```
|
||||||
|
@@ -33,7 +33,7 @@ Method at API documentation: [task.stages.get](https://dev.1c-bitrix.ru/rest_hel
|
|||||||
Result = OPI_Bitrix24.GetKanbanStages(URL, , True);
|
Result = OPI_Bitrix24.GetKanbanStages(URL, , True);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetKanbanStages(URL, , , Token);
|
Result = OPI_Bitrix24.GetKanbanStages(URL, , , Token);
|
||||||
```
|
```
|
||||||
|
@@ -30,17 +30,17 @@ Method at API documentation: [task.stages.movetask](https://dev.1c-bitrix.ru/res
|
|||||||
|
|
||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
TaskID = "1400";
|
TaskID = "1522";
|
||||||
StageID = "446";
|
StageID = "498";
|
||||||
|
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.MoveTaskToKanbanStage(URL, TaskID, StageID);
|
Result = OPI_Bitrix24.MoveTaskToKanbanStage(URL, TaskID, StageID);
|
||||||
|
|
||||||
StageID = "448";
|
StageID = "500";
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.MoveTaskToKanbanStage(URL, TaskID, StageID, , , Token);
|
Result = OPI_Bitrix24.MoveTaskToKanbanStage(URL, TaskID, StageID, , , Token);
|
||||||
```
|
```
|
||||||
|
@@ -33,7 +33,7 @@ Method at API documentation: [task.stages.update](https://dev.1c-bitrix.ru/rest_
|
|||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
Name = "New stage name";
|
Name = "New stage name";
|
||||||
Color = "000000";
|
Color = "000000";
|
||||||
StageID = "446";
|
StageID = "498";
|
||||||
|
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
|
|
||||||
@@ -41,10 +41,10 @@ Method at API documentation: [task.stages.update](https://dev.1c-bitrix.ru/rest_
|
|||||||
|
|
||||||
Name = "New stage name 2";
|
Name = "New stage name 2";
|
||||||
Color = "000000";
|
Color = "000000";
|
||||||
StageID = "448";
|
StageID = "500";
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.UpdateKanbansStage(URL, Name, StageID, Color, 6, True, Token);
|
Result = OPI_Bitrix24.UpdateKanbansStage(URL, Name, StageID, Color, 6, True, Token);
|
||||||
```
|
```
|
||||||
|
@@ -51,7 +51,7 @@ Method at API documentation: [crm.lead.add](https://dev.1c-bitrix.ru/rest_help/c
|
|||||||
FieldsStructure.Insert("LAST_NAME" , "Ivanov");
|
FieldsStructure.Insert("LAST_NAME" , "Ivanov");
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.CreateLead(URL, FieldsStructure, Token);
|
Result = OPI_Bitrix24.CreateLead(URL, FieldsStructure, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,13 +28,13 @@ Method at API documentation: [crm.lead.delete](https://dev.1c-bitrix.ru/rest_hel
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
LeadID = "24";
|
LeadID = "48";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DeleteLead(URL, LeadID);
|
Result = OPI_Bitrix24.DeleteLead(URL, LeadID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
LeadID = "26";
|
LeadID = "50";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DeleteLead(URL, LeadID, Token);
|
Result = OPI_Bitrix24.DeleteLead(URL, LeadID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -31,7 +31,7 @@ Method at API documentation: [crm.lead.fields](https://dev.1c-bitrix.ru/rest_hel
|
|||||||
Result = OPI_Bitrix24.GetLeadStructure(URL);
|
Result = OPI_Bitrix24.GetLeadStructure(URL);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetLeadStructure(URL, Token);
|
Result = OPI_Bitrix24.GetLeadStructure(URL, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,13 +28,13 @@ Method at API documentation: [crm.lead.get](https://dev.1c-bitrix.ru/rest_help/c
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
LeadID = "24";
|
LeadID = "48";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetLead(URL, LeadID);
|
Result = OPI_Bitrix24.GetLead(URL, LeadID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
LeadID = "26";
|
LeadID = "50";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.GetLead(URL, LeadID, Token);
|
Result = OPI_Bitrix24.GetLead(URL, LeadID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -33,7 +33,7 @@ Method at API documentation: [crm.lead.list](https://dev.1c-bitrix.ru/rest_help/
|
|||||||
Result = OPI_Bitrix24.GetLeadsList(URL);
|
Result = OPI_Bitrix24.GetLeadsList(URL);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
|
|
||||||
Filter = New Structure;
|
Filter = New Structure;
|
||||||
Filter.Insert("TITLE" , "MegaClient");
|
Filter.Insert("TITLE" , "MegaClient");
|
||||||
|
@@ -34,7 +34,7 @@ Method at API documentation: [crm.lead.update](https://dev.1c-bitrix.ru/rest_hel
|
|||||||
FieldsStructure.Insert("TITLE" , "SuperClient");
|
FieldsStructure.Insert("TITLE" , "SuperClient");
|
||||||
|
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
LeadID = "24";
|
LeadID = "48";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.UpdateLead(URL, LeadID, FieldsStructure);
|
Result = OPI_Bitrix24.UpdateLead(URL, LeadID, FieldsStructure);
|
||||||
|
|
||||||
@@ -42,8 +42,8 @@ Method at API documentation: [crm.lead.update](https://dev.1c-bitrix.ru/rest_hel
|
|||||||
FieldsStructure.Insert("LAST_NAME" , "Evgeniev");
|
FieldsStructure.Insert("LAST_NAME" , "Evgeniev");
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
LeadID = "26";
|
LeadID = "50";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.UpdateLead(URL, LeadID, FieldsStructure, Token);
|
Result = OPI_Bitrix24.UpdateLead(URL, LeadID, FieldsStructure, Token);
|
||||||
```
|
```
|
||||||
|
@@ -28,13 +28,13 @@ Method at API documentation: [im.message.delete](https://dev.1c-bitrix.ru/learni
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
MessageID = "10602";
|
MessageID = "11572";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID);
|
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
MessageID = "10604";
|
MessageID = "11574";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID, Token);
|
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -30,15 +30,15 @@ Method at API documentation: [im.message.update](https://dev.1c-bitrix.ru/learni
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
MessageID = "10602";
|
MessageID = "11572";
|
||||||
|
|
||||||
Text = "New message text";
|
Text = "New message text";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.EditMessage(URL, MessageID, Text);
|
Result = OPI_Bitrix24.EditMessage(URL, MessageID, Text);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
MessageID = "10604";
|
MessageID = "11574";
|
||||||
|
|
||||||
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";
|
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";
|
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
|
||||||
|
@@ -29,15 +29,15 @@ Method at API documentation: [im.dialog.read](https://dev.1c-bitrix.ru/learning/
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
ChatID = "chat" + "578";
|
ChatID = "chat" + "642";
|
||||||
MessageID = "10602";
|
MessageID = "11572";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.MarkMessageAsReaded(URL, ChatID, MessageID);
|
Result = OPI_Bitrix24.MarkMessageAsReaded(URL, ChatID, MessageID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
UserID = 10;
|
UserID = 10;
|
||||||
MessageID = "10604";
|
MessageID = "11574";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.MarkMessageAsReaded(URL, UserID, MessageID, Token);
|
Result = OPI_Bitrix24.MarkMessageAsReaded(URL, UserID, MessageID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -29,15 +29,15 @@ Method at API documentation: [im.dialog.unread](https://dev.1c-bitrix.ru/learnin
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
ChatID = "chat" + "578";
|
ChatID = "chat" + "642";
|
||||||
MessageID = "10602";
|
MessageID = "11572";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.MarkMessageAsUnreaded(URL, ChatID, MessageID);
|
Result = OPI_Bitrix24.MarkMessageAsUnreaded(URL, ChatID, MessageID);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
UserID = 10;
|
UserID = 10;
|
||||||
MessageID = "10604";
|
MessageID = "11574";
|
||||||
|
|
||||||
Result = OPI_Bitrix24.MarkMessageAsUnreaded(URL, UserID, MessageID, Token);
|
Result = OPI_Bitrix24.MarkMessageAsUnreaded(URL, UserID, MessageID, Token);
|
||||||
```
|
```
|
||||||
|
@@ -30,7 +30,7 @@ Method at API documentation: [im.disk.file.commit](https://dev.1c-bitrix.ru/lear
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
ChatID = "578";
|
ChatID = "642";
|
||||||
File = "https://openintegrations.dev/test_data/document.docx"; // Binary Data, URL or path to file
|
File = "https://openintegrations.dev/test_data/document.docx"; // Binary Data, URL or path to file
|
||||||
Description = "Very important file";
|
Description = "Very important file";
|
||||||
|
|
||||||
@@ -43,8 +43,8 @@ Method at API documentation: [im.disk.file.commit](https://dev.1c-bitrix.ru/lear
|
|||||||
Result = OPI_Bitrix24.SendFile(URL, ChatID, FileID, Description);
|
Result = OPI_Bitrix24.SendFile(URL, ChatID, FileID, Description);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
ChatID = "580";
|
ChatID = "644";
|
||||||
|
|
||||||
Directory = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID, Token);
|
Directory = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID, Token);
|
||||||
FolderID = Directory["result"]["ID"];
|
FolderID = Directory["result"]["ID"];
|
||||||
|
@@ -30,7 +30,7 @@ Method at API documentation: [im.message.add](https://dev.1c-bitrix.ru/learning/
|
|||||||
|
|
||||||
```bsl title="Code example"
|
```bsl title="Code example"
|
||||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
||||||
ChatID = "chat" + "578";
|
ChatID = "chat" + "642";
|
||||||
Text = "Message text";
|
Text = "Message text";
|
||||||
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";
|
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";
|
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
|
||||||
@@ -42,7 +42,7 @@ Method at API documentation: [im.message.add](https://dev.1c-bitrix.ru/learning/
|
|||||||
Result = OPI_Bitrix24.SendMessage(URL, ChatID, Text, Attachments);
|
Result = OPI_Bitrix24.SendMessage(URL, ChatID, Text, Attachments);
|
||||||
|
|
||||||
URL = "b24-ar17wx.bitrix24.by";
|
URL = "b24-ar17wx.bitrix24.by";
|
||||||
Token = "6476c766006e9f06006b12e400000001000...";
|
Token = "b529cb66006e9f06006b12e400000001000...";
|
||||||
UserID = 10;
|
UserID = 10;
|
||||||
|
|
||||||
Result = OPI_Bitrix24.SendMessage(URL, UserID, Text, , Token);
|
Result = OPI_Bitrix24.SendMessage(URL, UserID, Text, , Token);
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user