mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-11-24 08:52:18 +02:00
Обновление документации
This commit is contained in:
parent
b62cc856e2
commit
7b2eade946
47
.github/workflows/docs_examples.yml
vendored
47
.github/workflows/docs_examples.yml
vendored
@ -1,47 +0,0 @@
|
||||
name: Документация | Распарсить тесты в примеры кода
|
||||
|
||||
# Controls when the workflow will run
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
Convert:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: write
|
||||
contents: write
|
||||
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
token: ${{secrets.TOKEN}}
|
||||
|
||||
- name: Расшифровать тестовые данные
|
||||
run: gpg --quiet --batch --yes --decrypt --passphrase="$ENC_JSON" --output ./data.json ./data.json.gpg
|
||||
env:
|
||||
ENC_JSON: ${{ secrets.ENC_JSON }}
|
||||
|
||||
- uses: otymko/setup-onescript@v1.4
|
||||
with:
|
||||
version: 1.9.0
|
||||
|
||||
- name: Установить osparser
|
||||
run: |
|
||||
opm install osparser
|
||||
|
||||
- name: Выполнить скрипт парсинга тестов
|
||||
run: oscript ./.github/workflows/os/docs_examples.os
|
||||
|
||||
- name: Удалить расшифрованный файл
|
||||
continue-on-error: false
|
||||
|
||||
run: rm -f ./data.json
|
||||
|
||||
- uses: stefanzweifel/git-auto-commit-action@v5
|
||||
with:
|
||||
commit_user_name: Vitaly the Alpaca (bot)
|
||||
commit_user_email: vitaly.the.alpaca@gmail.com
|
||||
commit_author: Vitaly the Alpaca <vitaly.the.alpaca@gmail.com>
|
||||
commit_message: Создание примеров кода документации на основе тестов
|
@ -32,7 +32,7 @@ Method at API documentation: [disk.folder.addsubfolder](https://dev.1c-bitrix.ru
|
||||
Name = "New subfolder";
|
||||
Filename2 = "New subfolder 2";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.CreateSubfolder(URL, FolderID, Filename2);
|
||||
|
||||
|
@ -27,7 +27,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
FolderID = "5014";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFolder(URL, FolderID);
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [disk.folder.getExternalLink](https://dev.1c-bitrix
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
FolderID = "5016";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID);
|
||||
|
@ -27,7 +27,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderFilterStructure(URL);
|
||||
|
||||
|
@ -27,7 +27,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
FolderID = "5016";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID);
|
||||
|
@ -28,7 +28,7 @@ Method at API documentation: [disk.folder.getchildren](https://dev.1c-bitrix.ru/
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
FolderID = "5016";
|
||||
|
||||
Result = OPI_Bitrix24.GetFolderItems(URL, FolderID);
|
||||
|
@ -31,7 +31,7 @@ Method at API documentation: [disk.folder.copyto](https://dev.1c-bitrix.ru/rest_
|
||||
DestinationID = "5018";
|
||||
FolderID = "5020";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.MakeFolderCopy(URL, FolderID, DestinationID);
|
||||
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [disk.folder.markdeleted](https://dev.1c-bitrix.ru/
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
FolderID = "5016";
|
||||
|
||||
Result = OPI_Bitrix24.MarkFolderAsDeleted(URL, FolderID);
|
||||
|
@ -31,7 +31,7 @@ Method at API documentation: [disk.folder.moveto](https://dev.1c-bitrix.ru/rest_
|
||||
DestinationID = "5014";
|
||||
FolderID = "5020";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.MoveFolder(URL, FolderID, DestinationID);
|
||||
|
||||
|
@ -32,7 +32,7 @@ Method at API documentation: [disk.folder.rename](https://dev.1c-bitrix.ru/rest_
|
||||
Filename2 = "New folder 2";
|
||||
|
||||
FolderID2 = "5014";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.RenameFolder(URL, FolderID2, Filename2);
|
||||
|
||||
|
@ -27,7 +27,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
FolderID = "5016";
|
||||
|
||||
Result = OPI_Bitrix24.RestoreFolder(URL, FolderID);
|
||||
|
@ -29,7 +29,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
ChatID = "450";
|
||||
|
||||
UserIDs = New Array;
|
||||
|
@ -30,7 +30,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
ChatID = "450";
|
||||
|
||||
Color = "AZURE";
|
||||
|
@ -28,7 +28,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
ChatID = "450";
|
||||
|
||||
UserID = 10;
|
||||
|
@ -28,7 +28,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
ChatID = "450";
|
||||
|
||||
Image = "https://openintegrations.dev/test_data/picture2.jpg";
|
||||
|
@ -28,7 +28,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
ChatID = "450";
|
||||
|
||||
Title = "New chat title";
|
||||
|
@ -46,7 +46,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.CreateChat(URL, ChatStructure);
|
||||
|
||||
|
@ -28,7 +28,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
ChatID = "450";
|
||||
|
||||
UserID = 10;
|
||||
|
@ -27,7 +27,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
ChatID = "450";
|
||||
|
||||
Result = OPI_Bitrix24.DisableChatNotifications(URL, ChatID);
|
||||
|
@ -27,7 +27,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
ChatID = "450";
|
||||
|
||||
Result = OPI_Bitrix24.EnableChatNotifications(URL, ChatID);
|
||||
|
@ -27,7 +27,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
ChatID = "450";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID);
|
||||
|
@ -27,7 +27,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
ChatID = "chat" + "450";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMembersList(URL, ChatID);
|
||||
|
@ -29,7 +29,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
ChatID = "chat4";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatMessagesList(URL, ChatID);
|
||||
|
@ -27,7 +27,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
ChatID = "450";
|
||||
|
||||
Result = OPI_Bitrix24.GetChatUsers(URL, ChatID);
|
||||
|
@ -27,7 +27,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
ChatID = "chat" + "450";
|
||||
|
||||
Result = OPI_Bitrix24.GetDialog(URL, ChatID);
|
||||
|
@ -26,7 +26,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.GetUserStatus(URL);
|
||||
|
||||
|
@ -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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
ArrayOfUsers = New Array;
|
||||
|
||||
ArrayOfUsers.Add(1);
|
||||
|
@ -27,7 +27,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
ChatID = "450";
|
||||
|
||||
Result = OPI_Bitrix24.LeaveChat(URL, ChatID);
|
||||
|
@ -26,7 +26,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.ReadAll(URL);
|
||||
|
||||
|
@ -27,7 +27,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
ChatID = "chat" + "450";
|
||||
|
||||
Result = OPI_Bitrix24.SendWritingNotification(URL, ChatID);
|
||||
|
@ -27,7 +27,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
Status = "dnd";
|
||||
|
||||
Result = OPI_Bitrix24.SetUserStatus(URL, Status);
|
||||
|
@ -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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
TaskID = "1082";
|
||||
|
||||
Text = "Task impossible, let's split up";
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [tasks.task.result.addFromComment](https://dev.1c-b
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
CommentID = "2932";
|
||||
|
||||
Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID);
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [tasks.task.result.deleteFromComment](https://dev.1
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
CommentID = "2932";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID);
|
||||
|
@ -28,7 +28,7 @@ Method at API documentation: [task.commentitem.delete](https://dev.1c-bitrix.ru/
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
TaskID = "1082";
|
||||
CommentID = "2932";
|
||||
|
||||
|
@ -27,7 +27,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
TaskID = "1082";
|
||||
|
||||
Result = OPI_Bitrix24.GetResultsList(URL, TaskID);
|
||||
|
@ -28,7 +28,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
CommentID = "2932";
|
||||
TaskID = "1082";
|
||||
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [task.commentitem.getlist](https://dev.1c-bitrix.ru
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
TaskID = "1082";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID);
|
||||
|
@ -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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
TaskID = "1082";
|
||||
CommentID = "2932";
|
||||
|
||||
|
@ -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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Type = "date";
|
||||
Name = "BIRTHDAY_FIELD";
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [task.item.userfield.delete](https://dev.1c-bitrix.
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
FieldID = "255";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteCustomTaskField(URL, FieldID);
|
||||
|
@ -27,7 +27,7 @@ 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/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
FieldID = "255";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskField(URL, FieldID);
|
||||
|
@ -26,7 +26,7 @@ Method at API documentation: [task.item.userfield.getlist](https://dev.1c-bitrix
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.GetCustomTaskFieldsList(URL);
|
||||
|
||||
|
@ -30,7 +30,7 @@ Method at API documentation: [task.item.userfield.update](https://dev.1c-bitrix.
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
FieldID = "255";
|
||||
Title = "New title";
|
||||
|
@ -29,7 +29,7 @@ Method at API documentation: [department.add](https://dev.1c-bitrix.ru/rest_help
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Name = "Main department";
|
||||
ParentID = 1;
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [department.delete](https://dev.1c-bitrix.ru/rest_h
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
DepartmentID = "70";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteDepartment(URL, DepartmentID);
|
||||
|
@ -30,7 +30,7 @@ Method at API documentation: [department.get](https://dev.1c-bitrix.ru/rest_help
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
DepartmentID = "70";
|
||||
|
||||
Result = OPI_Bitrix24.GetDepartments(URL, DepartmentID);
|
||||
|
@ -30,7 +30,7 @@ Method at API documentation: [department.update](https://dev.1c-bitrix.ru/rest_h
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
DepartmentID = "68";
|
||||
ParentID = 7;
|
||||
|
@ -30,7 +30,7 @@ Method at API documentation: [log.blogcomment.add](https://dev.1c-bitrix.ru/rest
|
||||
```bsl title="Code example"
|
||||
Text = "Comment for post";
|
||||
PostID = "440";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text);
|
||||
|
||||
|
@ -30,7 +30,7 @@ Method at API documentation: [log.blogpost.share](https://dev.1c-bitrix.ru/rest_
|
||||
```bsl title="Code example"
|
||||
Visibility = "UA";
|
||||
PostID = "440";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility);
|
||||
|
||||
|
@ -40,7 +40,7 @@ Method at API documentation: [log.blogpost.add](https://dev.1c-bitrix.ru/rest_he
|
||||
Files.Insert("1.png", Image1);
|
||||
Files.Insert("2.png", Image2);
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.CreatePost(URL, Text,, Files, Title, True);
|
||||
|
||||
|
@ -28,7 +28,7 @@ Method at API documentation: [log.blogpost.delete](https://dev.1c-bitrix.ru/rest
|
||||
|
||||
```bsl title="Code example"
|
||||
PostID = "438";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.DeletePost(URL, PostID);
|
||||
|
||||
|
@ -28,7 +28,7 @@ Method at API documentation: [log.blogpost.getusers.important](https://dev.1c-bi
|
||||
|
||||
```bsl title="Code example"
|
||||
PostID = "438";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID);
|
||||
|
||||
|
@ -29,7 +29,7 @@ Method at API documentation: [log.blogpost.get](https://dev.1c-bitrix.ru/rest_he
|
||||
|
||||
```bsl title="Code example"
|
||||
PostID = "440";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.GetPosts(URL, PostID);
|
||||
|
||||
|
@ -39,7 +39,7 @@ Method at API documentation: [log.blogpost.update](https://dev.1c-bitrix.ru/rest
|
||||
Files = New Map;
|
||||
Files.Insert("1.png", Image1);
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.UpdatePost(URL, PostID, Text,, Files, Title);
|
||||
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [disk.file.delete](https://dev.1c-bitrix.ru/rest_he
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
FileID = "5008";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteFile(URL, FileID);
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [disk.file.getExternalLink](https://dev.1c-bitrix.r
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
FileID = "5010";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID);
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [disk.file.get](https://dev.1c-bitrix.ru/rest_help/
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
FileID = "5010";
|
||||
|
||||
Result = OPI_Bitrix24.GetFileInformation(URL, FileID);
|
||||
|
@ -31,7 +31,7 @@ Method at API documentation: [disk.file.copyto](https://dev.1c-bitrix.ru/rest_he
|
||||
FolderID = "5014";
|
||||
FileID = "5010";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.MakeFileCopy(URL, FileID, FolderID);
|
||||
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [disk.file.markdeleted](https://dev.1c-bitrix.ru/re
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
FileID = "5010";
|
||||
|
||||
Result = OPI_Bitrix24.MarkFileAsDeleted(URL, FileID);
|
||||
|
@ -31,7 +31,7 @@ Method at API documentation: [disk.file.moveto](https://dev.1c-bitrix.ru/rest_he
|
||||
FolderID = "5018";
|
||||
FileID = "5010";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.MoveFileToFolder(URL, FileID, FolderID);
|
||||
|
||||
|
@ -32,7 +32,7 @@ Method at API documentation: [disk.file.rename](https://dev.1c-bitrix.ru/rest_he
|
||||
Filename2 = "New file name 2.jpg";
|
||||
|
||||
FileID2 = "5008";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.RenameFile(URL, FileID2, Filename2);
|
||||
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [disk.file.restore](https://dev.1c-bitrix.ru/rest_h
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
FileID = "5010";
|
||||
|
||||
Result = OPI_Bitrix24.RestoreFile(URL, FileID);
|
||||
|
@ -37,7 +37,7 @@ Method at API documentation: [disk.folder.uploadfile](https://dev.1c-bitrix.ru/r
|
||||
|
||||
DestinationID = "5016";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.UploadFileToFolder(URL, Filename2, Image2, DestinationID);
|
||||
|
||||
|
@ -38,7 +38,7 @@ Method at API documentation: [disk.storage.uploadfile](https://dev.1c-bitrix.ru/
|
||||
|
||||
DestinationID = 3;
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.UploadFileToStorage(URL, Filename2, Image2, DestinationID);
|
||||
|
||||
|
@ -34,7 +34,7 @@ Method at API documentation: [task.stages.add](https://dev.1c-bitrix.ru/rest_hel
|
||||
Name = "New stage";
|
||||
Color = "0026FF";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, 6);
|
||||
|
||||
|
@ -30,7 +30,7 @@ Method at API documentation: [task.stages.delete](https://dev.1c-bitrix.ru/rest_
|
||||
```bsl title="Code example"
|
||||
StageID = "318";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteKanbanStage(URL, StageID, True);
|
||||
|
||||
|
@ -28,7 +28,7 @@ Method at API documentation: [task.stages.get](https://dev.1c-bitrix.ru/rest_hel
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.GetKanbanStages(URL,, True);
|
||||
|
||||
|
@ -33,7 +33,7 @@ Method at API documentation: [task.stages.movetask](https://dev.1c-bitrix.ru/res
|
||||
TaskID = "1086";
|
||||
StageID = "318";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.MoveTaskToKanbanStage(URL, TaskID, StageID);
|
||||
|
||||
|
@ -35,7 +35,7 @@ Method at API documentation: [task.stages.update](https://dev.1c-bitrix.ru/rest_
|
||||
Color = "000000";
|
||||
StageID = "318";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.UpdateKanbansStage(URL, Name, StageID, Color);
|
||||
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [im.message.delete](https://dev.1c-bitrix.ru/learni
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
MessageID = "8682";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteMessage(URL, MessageID);
|
||||
|
@ -29,7 +29,7 @@ Method at API documentation: [im.message.update](https://dev.1c-bitrix.ru/learni
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
MessageID = "8682";
|
||||
|
||||
Text = "New message text";
|
||||
|
@ -28,7 +28,7 @@ Method at API documentation: [im.dialog.read](https://dev.1c-bitrix.ru/learning/
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
ChatID = "chat" + "450";
|
||||
MessageID = "8682";
|
||||
|
||||
|
@ -28,7 +28,7 @@ Method at API documentation: [im.dialog.unread](https://dev.1c-bitrix.ru/learnin
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
ChatID = "chat" + "450";
|
||||
MessageID = "8682";
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
sidebar_position: 5
|
||||
---
|
||||
|
||||
# SendFile
|
||||
# Send file
|
||||
Send disk file to chat
|
||||
|
||||
|
||||
@ -29,7 +29,7 @@ Method at API documentation: [im.disk.file.commit](https://dev.1c-bitrix.ru/lear
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
ChatID = "450";
|
||||
File = "https://openintegrations.dev/test_data/document.docx"; // Binary Data, URL or path to file
|
||||
Description = "Very important file";
|
||||
|
@ -29,7 +29,7 @@ Method at API documentation: [im.message.add](https://dev.1c-bitrix.ru/learning/
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
ChatID = "chat" + "450";
|
||||
Text = "Message text";
|
||||
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [im.message.like](https://dev.1c-bitrix.ru/learning
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
MessageID = "8682";
|
||||
|
||||
Result = OPI_Bitrix24.SetMessageReaction(URL, MessageID);
|
||||
|
@ -32,7 +32,7 @@ Method at API documentation: [im.notify.personal.add](https://dev.1c-bitrix.ru/l
|
||||
```bsl title="Code example"
|
||||
UserID = 1;
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
Text = "Message text";
|
||||
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";
|
||||
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
|
||||
|
@ -32,7 +32,7 @@ Method at API documentation: [im.notify.system.add](https://dev.1c-bitrix.ru/lea
|
||||
```bsl title="Code example"
|
||||
UserID = 1;
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
Text = "Message text";
|
||||
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";
|
||||
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [im.notify.delete](https://dev.1c-bitrix.ru/learnin
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
NotificationID = "8690";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteNotification(URL, NotificationID);
|
||||
|
@ -26,7 +26,7 @@ Method at API documentation: [server_time](https://dev.1c-bitrix.ru/rest_help/ge
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.ServerTime(URL);
|
||||
|
||||
|
@ -32,7 +32,7 @@ Method at API documentation: [disk.storage.addfolder](https://dev.1c-bitrix.ru/r
|
||||
Name = "New catalog";
|
||||
Filename2 = "New folder 2";
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.CreateStorageFolder(URL, StorageID, Filename2);
|
||||
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [disk.storage.getchildren](https://dev.1c-bitrix.ru
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
StorageID = 3;
|
||||
|
||||
Result = OPI_Bitrix24.GetStorageObjects(URL, StorageID);
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [disk.storage.get](https://dev.1c-bitrix.ru/rest_he
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
StorageID = 3;
|
||||
|
||||
Result = OPI_Bitrix24.GetStorage(URL, StorageID);
|
||||
|
@ -26,7 +26,7 @@ Method at API documentation: [disk.storage.getlist](https://dev.1c-bitrix.ru/res
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
Result = OPI_Bitrix24.GetStoragesList(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
|
@ -29,7 +29,7 @@ Method at API documentation: [task.checklistitem.add](https://dev.1c-bitrix.ru/r
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
TaskID = "1078";
|
||||
|
||||
Text = "Checklist element";
|
||||
|
@ -28,7 +28,7 @@ Method at API documentation: [task.checklistitem.complete](https://dev.1c-bitrix
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
TaskID = "1078";
|
||||
ElementID = "396";
|
||||
|
||||
|
@ -28,7 +28,7 @@ Method at API documentation: [task.checklistitem.delete](https://dev.1c-bitrix.r
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
TaskID = "1078";
|
||||
ElementID = "396";
|
||||
|
||||
|
@ -28,7 +28,7 @@ Method at API documentation: [task.checklistitem.get](https://dev.1c-bitrix.ru/r
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
TaskID = "1078";
|
||||
ElementID = "396";
|
||||
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [task.checklistitem.getlist](https://dev.1c-bitrix.
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
TaskID = "1078";
|
||||
|
||||
Result = OPI_Bitrix24.GetTasksChecklist(URL, TaskID);
|
||||
|
@ -28,7 +28,7 @@ Method at API documentation: [task.checklistitem.renew](https://dev.1c-bitrix.ru
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
TaskID = "1078";
|
||||
ElementID = "396";
|
||||
|
||||
|
@ -29,7 +29,7 @@ Method at API documentation: [task.checklistitem.update](https://dev.1c-bitrix.r
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
TaskID = "1078";
|
||||
ElementID = "396";
|
||||
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [tasks.task.favorite.add](https://dev.1c-bitrix.ru/
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
TaskID = "1078";
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID);
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [tasks.task.approve](https://dev.1c-bitrix.ru/rest_
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
TaskID = "1078";
|
||||
|
||||
Result = OPI_Bitrix24.ApproveTask(URL, TaskID);
|
||||
|
@ -28,7 +28,7 @@ Method at API documentation: [tasks.task.files.attach](https://dev.1c-bitrix.ru/
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
TaskID = "1078";
|
||||
FileID = "5006";
|
||||
|
||||
|
@ -32,7 +32,7 @@ Method at API documentation: [tasks.task.getaccess](https://dev.1c-bitrix.ru/res
|
||||
ArrayOfUsers.Add("1");
|
||||
ArrayOfUsers.Add("10");
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
TaskID = "1078";
|
||||
|
||||
Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers);
|
||||
|
@ -27,7 +27,7 @@ Method at API documentation: [tasks.task.complete](https://dev.1c-bitrix.ru/rest
|
||||
|
||||
|
||||
```bsl title="Code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
TaskID = "1078";
|
||||
|
||||
Result = OPI_Bitrix24.CompleteTask(URL, TaskID);
|
||||
|
@ -41,7 +41,7 @@ Method at API documentation: [tasks.task.add](https://dev.1c-bitrix.ru/rest_help
|
||||
TaskData.Insert("DEADLINE", CurrentDate + Hour * Day);
|
||||
TaskData.Insert("RESPONSIBLE_ID", Responsible);
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.CreateTask(URL, TaskData);
|
||||
|
||||
|
@ -33,7 +33,7 @@ Method at API documentation: [task.dependence.add](https://dev.1c-bitrix.ru/rest
|
||||
DestinationID = "1080";
|
||||
LinkType = 0;
|
||||
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pph8uucc89is6c/";
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
||||
|
||||
Result = OPI_Bitrix24.CreateTasksDependencies(URL, FromID, DestinationID, LinkType);
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user