1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-06-16 04:03:20 +02:00
Files
OpenIntegrations/docs/en/examples/Bitrix24/UploadFileToFolder.txt
T
Vitaly the Alpaca (bot) fa9bcb87c4 Main build (Jenkins)
2025-10-15 14:32:00 +03:00

17 lines
634 B
Plaintext
Vendored

Filename2 = "Picture2.jpg";
Name = "Picture1.jpg";
Image2 = "https://hut.openintegrations.dev/test_data/picture.jpg"; // Local path, URL or Binary Data
Image = "https://hut.openintegrations.dev/test_data/picture2.jpg"; // Local path, URL or Binary Data
DestinationID = "44682";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
Result = OPI_Bitrix24.UploadFileToFolder(URL, Filename2, Image2, DestinationID);
URL = "b24-ar17wx.bitrix24.by";
Token = "8a1bee68006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.UploadFileToFolder(URL, Name, Image, DestinationID, Token);