2024-08-13 14:04:54 +00:00
|
|
|
// The complete structure of the fields can be obtained by the GetTaskFieldsStructure() function()
|
|
|
|
|
|
|
|
TaskData = New Structure;
|
|
|
|
TaskData.Insert("TITLE" , "Another task title");
|
|
|
|
TaskData.Insert("DESCRIPTION", "Another task description");
|
|
|
|
TaskData.Insert("PRIORITY" , "1");
|
|
|
|
|
2024-08-19 09:33:52 +03:00
|
|
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
2024-09-16 15:49:26 +03:00
|
|
|
TaskID = "1740";
|
2024-08-13 14:04:54 +00:00
|
|
|
|
|
|
|
Result = OPI_Bitrix24.UpdateTask(URL, TaskID, TaskData);
|
|
|
|
|
2024-08-13 17:25:31 +03:00
|
|
|
URL = "b24-ar17wx.bitrix24.by";
|
2024-09-16 15:49:26 +03:00
|
|
|
Token = "8b80e066006e9f06006b12e400000001000...";
|
|
|
|
TaskID = "1742";
|
2024-08-13 14:04:54 +00:00
|
|
|
|
|
|
|
Result = OPI_Bitrix24.UpdateTask(URL, TaskID, TaskData, Token);
|