1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-04-25 12:24:39 +02:00
OpenIntegrations/docs/en/examples/Bitrix24/UploadFileToStorage.txt
Vitaly the Alpaca (bot) 4fa76276a4 Main build (Jenkins)
2024-11-05 13:10:27 +03:00

17 lines
642 B
Plaintext

Filename2 = "Picture2.jpg";
Name = "Picture1.jpg";
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
DestinationID = 3;
URL = "https://b24-ar17wx.bitrix24.by/rest/1/yg2...";
Result = OPI_Bitrix24.UploadFileToStorage(URL, Filename2, Image2, DestinationID);
URL = "b24-ar17wx.bitrix24.by";
Token = "82d42767006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.UploadFileToStorage(URL, Name, Image, DestinationID, , Token);