2024-08-13 14:35:37 +03: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-13 16:36:00 +03:00
|
|
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
|
|
|
|
TaskID = "1078";
|
2024-08-13 14:35:37 +03:00
|
|
|
|
|
|
|
Result = OPI_Bitrix24.UpdateTask(URL, TaskID, TaskData);
|
|
|
|
|
2024-08-13 16:36:00 +03:00
|
|
|
URL = "b24-ar17wx.bitrix24.by";
|
|
|
|
Token = "fe3fa966006e9f06006b12e400000001000...";
|
|
|
|
TaskID = "1080";
|
2024-08-13 14:35:37 +03:00
|
|
|
|
|
|
|
Result = OPI_Bitrix24.UpdateTask(URL, TaskID, TaskData, Token);
|