v51

OpenAPI 3.0.2raw.githubusercontent.com2026-08-01245104440.0 KB
Scheduled Tasks

Create a new scheduled task

Create a recurrent (cron-based) or one-time scheduled task. Provide schedule for recurrent tasks or executionTime for one-time tasks.

post/v1/scheduled-tasks

Request body

taskHandlerIdstring required

Task handler identifier

schedulestring

Cron-style schedule expression (for recurrent tasks)

parametersstring

Task-specific persistent data

objectIdinteger

Associated NetXMS object ID

commentsstring

Task comments

taskKeystring

Optional task key for identification

disabledboolean

Whether the task should be disabled

Response

Task created successfully