mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-01-26 05:37:27 +02:00
25 lines
783 B
Plaintext
25 lines
783 B
Plaintext
URL = FunctionParameters["Bitrix24_URL"];
|
|
TaskID = FunctionParameters["Bitrix24_ElapsedTaskID"];
|
|
RecordID = FunctionParameters["Bitrix24_HookTimeID"];
|
|
|
|
Text = "The text I forgot last time";
|
|
Time = 4800;
|
|
|
|
Result = OPI_Bitrix24.UpdateTaskTimeAccounting(URL, TaskID, RecordID, Time, Text);
|
|
|
|
URL = FunctionParameters["Bitrix24_Domain"];
|
|
Token = FunctionParameters["Bitrix24_Token"];
|
|
RecordID = FunctionParameters["Bitrix24_TimeID"];
|
|
|
|
Text = "New time record";
|
|
Time = 4800;
|
|
SetupDate = AddMonth(OPI_Tools.GetCurrentDate(), -1);
|
|
|
|
Result = OPI_Bitrix24.UpdateTaskTimeAccounting(URL
|
|
, TaskID
|
|
, RecordID
|
|
, Time
|
|
, Text
|
|
, SetupDate
|
|
, Token);
|