1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-06-20 09:19:27 +02:00
Files
OpenIntegrations/docs/en/examples/Bitrix24/AddPostComment.txt
T
Vitaly the Alpaca (bot) 663fa5c0e7 Main build (Jenkins)
2026-02-10 22:03:20 +03:00

22 lines
735 B
Plaintext
Vendored

Text = "Comment for post";
PostID = "3326";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/av5...";
Options = New Structure;
Options.Insert("url" , URL);
Options.Insert("postid", PostID);
Options.Insert("text" , Text);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("bitrix24", "AddPostComment", Options);
Text = "Another comment";
URL = "b24-ar17wx.bitrix24.by";
Token = "a5b00469006e9f06006b12e400000001000...";
Options = New Structure;
Options.Insert("url" , URL);
Options.Insert("postid", PostID);
Options.Insert("text" , Text);
Options.Insert("token" , Token);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("bitrix24", "AddPostComment", Options);