1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00
Files
OpenIntegrations/docs/en/examples/Bitrix24/UploadFileToFolder.txt

17 lines
644 B
Plaintext
Raw Normal View History

 Filename2 = "Picture2.jpg";
Name = "Picture1.jpg";
2024-10-15 10:07:27 +03:00
Image2 = "https://api.athenaeum.digital/test_data/picture.jpg"; // Local path, URL or Binary Data
Image = "https://api.athenaeum.digital/test_data/picture2.jpg"; // Local path, URL or Binary Data
2025-03-19 13:45:16 +03:00
DestinationID = "30466";
2025-01-18 17:35:34 +03:00
URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
Result = OPI_Bitrix24.UploadFileToFolder(URL, Filename2, Image2, DestinationID);
2024-09-21 10:57:02 +03:00
URL = "b24-ar17wx.bitrix24.by";
2025-03-19 13:45:16 +03:00
Token = "37d9d967006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.UploadFileToFolder(URL, Name, Image, DestinationID, Token);