1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-02-05 13:25:25 +02:00
OpenIntegrations/docs/en/examples/Bitrix24/UpdateTaskTimeAccounting.txt
Vitaly the Alpaca (bot) ce6e0b1ee1 Main build (Jenkins)
2024-09-17 11:55:02 +03:00

25 lines
680 B
Plaintext

URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
TaskID = "1888";
RecordID = "626";
Text = "The text I forgot last time";
Time = 4800;
Result = OPI_Bitrix24.UpdateTaskTimeAccounting(URL, TaskID, RecordID, Time, Text);
URL = "b24-ar17wx.bitrix24.by";
Token = "ae42e966006e9f06006b12e400000001000...";
RecordID = "628";
Text = "New time record";
Time = 4800;
SetupDate = AddMonth(OPI_Tools.GetCurrentDate(), -1);
Result = OPI_Bitrix24.UpdateTaskTimeAccounting(URL
, TaskID
, RecordID
, Time
, Text
, SetupDate
, Token);