mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-25 02:42:28 +02:00
Мелкие дополнения
This commit is contained in:
parent
30e2365817
commit
62eeeed8c0
12
docs/en/examples/Bitrix24/AddPostRecipients.txt
Normal file
12
docs/en/examples/Bitrix24/AddPostRecipients.txt
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Visibility = "UA";
|
||||||
|
PostID = FunctionParameters["Bitrix24_PostID"];
|
||||||
|
URL = FunctionParameters["Bitrix24_URL"];
|
||||||
|
|
||||||
|
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility);
|
||||||
|
|
||||||
|
OPI_TestDataRetrieval.WriteLog(Result, "AddPostRecipients (wh)", "Bitrix24");
|
||||||
|
|
||||||
|
URL = FunctionParameters["Bitrix24_Domain"];
|
||||||
|
Token = FunctionParameters["Bitrix24_Token"];
|
||||||
|
|
||||||
|
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility, Token);
|
20
docs/en/examples/Bitrix24/MakeFolderCopy.txt
Normal file
20
docs/en/examples/Bitrix24/MakeFolderCopy.txt
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
DestinationID = FunctionParameters["Bitrix24_HookSubfolderID"];
|
||||||
|
FolderID = FunctionParameters["Bitrix24_SubfolderID"];
|
||||||
|
|
||||||
|
URL = FunctionParameters["Bitrix24_URL"];
|
||||||
|
|
||||||
|
Result = OPI_Bitrix24.MakeFolderCopy(URL, FolderID, DestinationID);
|
||||||
|
|
||||||
|
OPI_TestDataRetrieval.WriteLog(Result, "MakeFolderCopy (wh)", "Bitrix24");
|
||||||
|
|
||||||
|
DestinationID = FunctionParameters["Bitrix24_SubfolderID"];
|
||||||
|
FolderID = FunctionParameters["Bitrix24_HookSubfolderID"];
|
||||||
|
|
||||||
|
URL = FunctionParameters["Bitrix24_Domain"];
|
||||||
|
Token = FunctionParameters["Bitrix24_Token"];
|
||||||
|
|
||||||
|
Result = OPI_Bitrix24.MakeFolderCopy(URL, FolderID, DestinationID, Token);
|
||||||
|
|
||||||
|
OPI_TestDataRetrieval.WriteLog(Result, "MakeFolderCopy", "Bitrix24");
|
||||||
|
|
||||||
|
Check_BitrixObject(Result);
|
11
docs/en/examples/Bitrix24/MarkFileAsDeleted.txt
Normal file
11
docs/en/examples/Bitrix24/MarkFileAsDeleted.txt
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
URL = FunctionParameters["Bitrix24_URL"];
|
||||||
|
FileID = FunctionParameters["Bitrix24_FileID"];
|
||||||
|
|
||||||
|
Result = OPI_Bitrix24.MarkFileAsDeleted(URL, FileID);
|
||||||
|
|
||||||
|
OPI_TestDataRetrieval.WriteLog(Result, "MarkFileAsDeleted (wh)", "Bitrix24");
|
||||||
|
|
||||||
|
URL = FunctionParameters["Bitrix24_Domain"];
|
||||||
|
Token = FunctionParameters["Bitrix24_Token"];
|
||||||
|
|
||||||
|
Result = OPI_Bitrix24.MarkFileAsDeleted(URL, FileID, Token);
|
11
docs/en/examples/Bitrix24/MarkFolderAsDeleted.txt
Normal file
11
docs/en/examples/Bitrix24/MarkFolderAsDeleted.txt
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
URL = FunctionParameters["Bitrix24_URL"];
|
||||||
|
FolderID = FunctionParameters["Bitrix24_FolderID"];
|
||||||
|
|
||||||
|
Result = OPI_Bitrix24.MarkFolderAsDeleted(URL, FolderID);
|
||||||
|
|
||||||
|
OPI_TestDataRetrieval.WriteLog(Result, "MarkFolderAsDeleted (wh)", "Bitrix24");
|
||||||
|
|
||||||
|
URL = FunctionParameters["Bitrix24_Domain"];
|
||||||
|
Token = FunctionParameters["Bitrix24_Token"];
|
||||||
|
|
||||||
|
Result = OPI_Bitrix24.MarkFolderAsDeleted(URL, FolderID, Token);
|
18
docs/en/examples/Bitrix24/UploadFileToFolder.txt
Normal file
18
docs/en/examples/Bitrix24/UploadFileToFolder.txt
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
Filename2 = "Picture2.jpg";
|
||||||
|
Name = "Picture1.jpg";
|
||||||
|
|
||||||
|
Image2 = FunctionParameters["Picture"]; // Local path, URL or Binary Data
|
||||||
|
Image = FunctionParameters["Picture2"]; // Local path, URL or Binary Data
|
||||||
|
|
||||||
|
DestinationID = FunctionParameters["Bitrix24_FolderID"];
|
||||||
|
|
||||||
|
URL = FunctionParameters["Bitrix24_URL"];
|
||||||
|
|
||||||
|
Result = OPI_Bitrix24.UploadFileToFolder(URL, Filename2, Image2, DestinationID);
|
||||||
|
|
||||||
|
OPI_TestDataRetrieval.WriteLog(Result, "UploadFileToFolder (wh)", "Bitrix24");
|
||||||
|
|
||||||
|
URL = FunctionParameters["Bitrix24_Domain"];
|
||||||
|
Token = FunctionParameters["Bitrix24_Token"];
|
||||||
|
|
||||||
|
Result = OPI_Bitrix24.UploadFileToFolder(URL, Name, Image, DestinationID, Token);
|
Loading…
Reference in New Issue
Block a user