1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-01 22:29:52 +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";
2025-10-21 11:36:43 +03:00
Image1 = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Path or Binary Data
2025-10-31 15:42:42 +03:00
PostID = "3286";
2025-07-06 01:01:25 +03:00
Files = New Map;
Files.Insert("1.png", Image1);
2025-10-21 11:36:43 +03:00
URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
2025-07-06 01:01:25 +03:00
Result = OPI_Bitrix24.UpdatePost(URL, PostID, Text, , Files, Title);
2025-10-21 11:36:43 +03:00
URL = "b24-ar17wx.bitrix24.by";
2025-10-31 15:42:42 +03:00
Token = "53100369006e9f06006b12e400000001000...";
PostID = "3284";
2025-07-06 01:01:25 +03:00
Result = OPI_Bitrix24.UpdatePost(URL, PostID, Text, , Files, Title, Token);