You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -36,14 +36,14 @@ Method at API documentation: [task.elapseditem.add](https://dev.1c-bitrix.ru/res
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
|
||||
TaskID = "5802";
|
||||
TaskID = "5822";
|
||||
|
||||
Time = 3600;
|
||||
|
||||
Result = OPI_Bitrix24.AddTaskTimeAccounting(URL, TaskID, Time);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "82191268006e9f06006b12e400000001000...";
|
||||
Token = "139a1268006e9f06006b12e400000001000...";
|
||||
|
||||
Text = "Time spent on work";
|
||||
UserID = 10;
|
||||
|
||||
@@ -33,14 +33,14 @@ Method at API documentation: [task.elapseditem.delete](https://dev.1c-bitrix.ru/
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
|
||||
TaskID = "5802";
|
||||
RecordID = "2158";
|
||||
TaskID = "5822";
|
||||
RecordID = "2166";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskTimeAccounting(URL, TaskID, RecordID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "82191268006e9f06006b12e400000001000...";
|
||||
RecordID = "2160";
|
||||
Token = "139a1268006e9f06006b12e400000001000...";
|
||||
RecordID = "2168";
|
||||
|
||||
Result = OPI_Bitrix24.DeleteTaskTimeAccounting(URL, TaskID, RecordID, Token);
|
||||
```
|
||||
|
||||
@@ -32,12 +32,12 @@ Method at API documentation: [task.elapseditem.getlist](https://dev.1c-bitrix.ru
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
|
||||
TaskID = "5802";
|
||||
TaskID = "5822";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskTimeAccountingList(URL, TaskID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "82191268006e9f06006b12e400000001000...";
|
||||
Token = "139a1268006e9f06006b12e400000001000...";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskTimeAccountingList(URL, TaskID, Token);
|
||||
```
|
||||
|
||||
@@ -33,14 +33,14 @@ Method at API documentation: [task.elapseditem.get](https://dev.1c-bitrix.ru/res
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
|
||||
TaskID = "5802";
|
||||
RecordID = "2158";
|
||||
TaskID = "5822";
|
||||
RecordID = "2166";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskTimeAccounting(URL, TaskID, RecordID);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "82191268006e9f06006b12e400000001000...";
|
||||
RecordID = "2160";
|
||||
Token = "139a1268006e9f06006b12e400000001000...";
|
||||
RecordID = "2168";
|
||||
|
||||
Result = OPI_Bitrix24.GetTaskTimeAccounting(URL, TaskID, RecordID, Token);
|
||||
```
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [timeman.settings](https://dev.1c-bitrix.ru/rest_he
|
||||
Result = OPI_Bitrix24.GetTimekeepingSettings(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "82191268006e9f06006b12e400000001000...";
|
||||
Token = "139a1268006e9f06006b12e400000001000...";
|
||||
UserID = 1;
|
||||
|
||||
Result = OPI_Bitrix24.GetTimekeepingSettings(URL, UserID, Token);
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [timeman.status](https://dev.1c-bitrix.ru/rest_help
|
||||
Result = OPI_Bitrix24.GetTimekeepingStatus(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "82191268006e9f06006b12e400000001000...";
|
||||
Token = "139a1268006e9f06006b12e400000001000...";
|
||||
UserID = 1;
|
||||
|
||||
Result = OPI_Bitrix24.GetTimekeepingStatus(URL, UserID, Token);
|
||||
|
||||
@@ -36,7 +36,7 @@ Method at API documentation: [timeman.pause](https://dev.1c-bitrix.ru/rest_help/
|
||||
Result = OPI_Bitrix24.PauseTimekeeping(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "82191268006e9f06006b12e400000001000...";
|
||||
Token = "139a1268006e9f06006b12e400000001000...";
|
||||
UserID = 1;
|
||||
|
||||
Result = OPI_Bitrix24.PauseTimekeeping(URL, UserID, Token);
|
||||
|
||||
@@ -40,7 +40,7 @@ Method at API documentation: [timeman.open](https://dev.1c-bitrix.ru/rest_help/t
|
||||
Hour = 3600;
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "82191268006e9f06006b12e400000001000...";
|
||||
Token = "139a1268006e9f06006b12e400000001000...";
|
||||
UserID = 1;
|
||||
Time = OPI_Tools.GetCurrentDate() - Hour;
|
||||
Report = "Late";
|
||||
|
||||
@@ -38,7 +38,7 @@ Method at API documentation: [timeman.close](https://dev.1c-bitrix.ru/rest_help/
|
||||
Result = OPI_Bitrix24.StopTimekeeping(URL);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "82191268006e9f06006b12e400000001000...";
|
||||
Token = "139a1268006e9f06006b12e400000001000...";
|
||||
UserID = 1;
|
||||
Time = OPI_Tools.GetCurrentDate();
|
||||
Report = "Time off";
|
||||
|
||||
@@ -36,8 +36,8 @@ Method at API documentation: [task.elapseditem.update](https://dev.1c-bitrix.ru/
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
|
||||
TaskID = "5802";
|
||||
RecordID = "2158";
|
||||
TaskID = "5822";
|
||||
RecordID = "2166";
|
||||
|
||||
Text = "The text I forgot last time";
|
||||
Time = 4800;
|
||||
@@ -45,8 +45,8 @@ Method at API documentation: [task.elapseditem.update](https://dev.1c-bitrix.ru/
|
||||
Result = OPI_Bitrix24.UpdateTaskTimeAccounting(URL, TaskID, RecordID, Time, Text);
|
||||
|
||||
URL = "b24-ar17wx.bitrix24.by";
|
||||
Token = "82191268006e9f06006b12e400000001000...";
|
||||
RecordID = "2160";
|
||||
Token = "139a1268006e9f06006b12e400000001000...";
|
||||
RecordID = "2168";
|
||||
|
||||
Text = "New time record";
|
||||
Time = 4800;
|
||||
|
||||
Reference in New Issue
Block a user