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

23 lines
559 B
Plaintext
Raw Normal View History

2025-10-21 11:36:43 +03:00
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
2025-10-21 21:43:05 +03:00
TaskID = "8446";
2025-07-06 01:01:25 +03:00
Time = 3600;
Result = OPI_Bitrix24.AddTaskTimeAccounting(URL, TaskID, Time);
2025-10-21 11:36:43 +03:00
URL = "b24-ar17wx.bitrix24.by";
2025-10-21 21:43:05 +03:00
Token = "0ebbf768006e9f06006b12e400000001000...";
2025-07-06 01:01:25 +03:00
Text = "Time spent on work";
UserID = 10;
Time = 7200;
SetupDate = AddMonth(OPI_Tools.GetCurrentDate(), -1);
2025-08-18 16:58:37 +03:00
Result = OPI_Bitrix24.AddTaskTimeAccounting(URL
, TaskID
, Time
, UserID
, Text
, SetupDate
, Token);