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/UpdatePost.txt

18 lines
571 B
Plaintext
Raw Normal View History

2025-07-06 01:01:25 +03:00
 Text = "New post text";
Title = "New post title";
Image1 = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
2025-10-19 10:12:36 +03:00
PostID = "3208";
2025-07-06 01:01:25 +03:00
Files = New Map;
Files.Insert("1.png", Image1);
URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
Result = OPI_Bitrix24.UpdatePost(URL, PostID, Text, , Files, Title);
URL = "b24-ar17wx.bitrix24.by";
2025-10-19 10:12:36 +03:00
Token = "3b1af468006e9f06006b12e400000001000...";
PostID = "3206";
2025-07-06 01:01:25 +03:00
Result = OPI_Bitrix24.UpdatePost(URL, PostID, Text, , Files, Title, Token);