1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-06-20 09:19:27 +02:00
Files
OpenIntegrations/docs/en/examples/Bitrix24/UploadFileToFolder.txt
T
Vitaly the Alpaca (bot) 8873e75e81 Main build (Jenkins)
2026-01-05 13:45:53 +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 = "49452";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
Result = OPI_Bitrix24.UploadFileToFolder(URL, Filename2, Image2, DestinationID);
URL = "b24-ar17wx.bitrix24.by";
Token = "d49a5b69006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.UploadFileToFolder(URL, Name, Image, DestinationID, Token);