1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-29 21:57:16 +02:00
OpenIntegrations/docs/en/examples/Bitrix24/UpdateTaskTimeAccounting.txt
Vitaly the Alpaca (bot) a81974fd8a Main build (Jenkins)
2025-02-09 18:15:36 +03:00

25 lines
682 B
Plaintext
Vendored

URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
TaskID = "4942";
RecordID = "1814";
Text = "The text I forgot last time";
Time = 4800;
Result = OPI_Bitrix24.UpdateTaskTimeAccounting(URL, TaskID, RecordID, Time, Text);
URL = "b24-ar17wx.bitrix24.by";
Token = "afd0a867006e9f06006b12e400000001000...";
RecordID = "1816";
Text = "New time record";
Time = 4800;
SetupDate = AddMonth(OPI_Tools.GetCurrentDate(), -1);
Result = OPI_Bitrix24.UpdateTaskTimeAccounting(URL
, TaskID
, RecordID
, Time
, Text
, SetupDate
, Token);