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

18 lines
513 B
Plaintext
Raw Normal View History

2025-07-06 01:01:25 +03:00
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
2025-07-16 19:45:17 +03:00
TaskID = "7344";
2025-07-06 01:01:25 +03:00
Time = 3600;
Result = OPI_Bitrix24.AddTaskTimeAccounting(URL, TaskID, Time);
URL = "b24-ar17wx.bitrix24.by";
2025-07-16 19:45:17 +03:00
Token = "4cc87668006e9f06006b12e400000001000...";
2025-07-06 01:01:25 +03:00
Text = "Time spent on work";
UserID = 10;
Time = 7200;
SetupDate = AddMonth(OPI_Tools.GetCurrentDate(), -1);
Result = OPI_Bitrix24.AddTaskTimeAccounting(URL, TaskID, Time, UserID, Text, SetupDate,
Token);