1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-10 04:18:47 +02:00
OpenIntegrations/docs/en/examples/Bitrix24/UploadFileToStorage.txt

17 lines
635 B
Plaintext
Raw Normal View History

2024-08-13 13:35:37 +02:00
 Filename2 = "Picture2.jpg";
Name = "Picture1.jpg";
Image2 = "https://openintegrations.dev/test_data/picture.jpg"; // Local path, URL or Binary Data
Image = "https://openintegrations.dev/test_data/picture2.jpg"; // Local path, URL or Binary Data
2024-08-13 13:35:37 +02:00
DestinationID = 3;
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
2024-08-13 13:35:37 +02:00
Result = OPI_Bitrix24.UploadFileToStorage(URL, Filename2, Image2, DestinationID);
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
2024-08-13 13:35:37 +02:00
Result = OPI_Bitrix24.UploadFileToStorage(URL, Name, Image, DestinationID, , Token);