1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-12 04:34:10 +02:00
OpenIntegrations/docs/en/examples/Bitrix24/UpdateTask.txt
2024-09-21 10:57:02 +03:00

18 lines
647 B
Plaintext

// 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");
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
TaskID = "1514";
Result = OPI_Bitrix24.UpdateTask(URL, TaskID, TaskData);
URL = "b24-ar17wx.bitrix24.by";
Token = "b529cb66006e9f06006b12e400000001000...";
TaskID = "1516";
Result = OPI_Bitrix24.UpdateTask(URL, TaskID, TaskData, Token);