1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-05 22:53:35 +02:00
Files
OpenIntegrations/docs/en/examples/Bitrix24/UploadFileToStorage.txt

17 lines
575 B
Plaintext
Raw Normal View History

2025-07-06 01:01:25 +03:00
 Filename2 = "Picture2.jpg";
Name = "Picture1.jpg";
2025-10-20 19:41:52 +03:00
Image2 = FunctionParameters["Picture"]; // Local path, URL or Binary Data
Image = FunctionParameters["Picture2"]; // Local path, URL or Binary Data
2025-07-06 01:01:25 +03:00
DestinationID = 3;
2025-10-20 19:41:52 +03:00
URL = FunctionParameters["Bitrix24_URL"];
2025-07-06 01:01:25 +03:00
Result = OPI_Bitrix24.UploadFileToStorage(URL, Filename2, Image2, DestinationID);
2025-10-20 19:41:52 +03:00
URL = FunctionParameters["Bitrix24_Domain"];
Token = FunctionParameters["Bitrix24_Token"];
2025-07-06 01:01:25 +03:00
Result = OPI_Bitrix24.UploadFileToStorage(URL, Name, Image, DestinationID, , Token);