1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-21 01:50:24 +02:00
OpenIntegrations/docs/en/examples/Bitrix24/AttachFileToTopic.txt
2024-08-13 14:35:37 +03:00

14 lines
544 B
Plaintext

URL = FunctionParameters["Bitrix24_URL"];
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
FileID = FunctionParameters["Bitrix24_TaskFileID"];
Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID);
OPI_TestDataRetrieval.WriteLog(Result, "AttachFileToTopic (wh)", "Bitrix24");
URL = FunctionParameters["Bitrix24_Domain"];
Token = FunctionParameters["Bitrix24_Token"];
TaskID = FunctionParameters["Bitrix24_TaskID"];
Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID, Token);