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-11-02 22:50:30 +03:00
|
|
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/yg2...";
|
2024-11-22 11:50:42 +03:00
|
|
|
TaskID = "3610";
|
2024-08-13 14:04:54 +00:00
|
|
|
|
|
|
|
Result = OPI_Bitrix24.UpdateTask(URL, TaskID, TaskData);
|
|
|
|
|
2024-09-21 10:57:02 +03:00
|
|
|
URL = "b24-ar17wx.bitrix24.by";
|
2024-11-22 11:50:42 +03:00
|
|
|
Token = "2f4e4067006e9f06006b12e400000001000...";
|
|
|
|
TaskID = "3612";
|
2024-08-13 14:04:54 +00:00
|
|
|
|
|
|
|
Result = OPI_Bitrix24.UpdateTask(URL, TaskID, TaskData, Token);
|