# Deep Security Manager REST API

## Path: / rest / tasks / scheduled

List scheduled tasks.

Resources
Name | Description
--- | ---
{scheduledTaskID} | Describe a scheduled task.

Method Summary
Resource | Description
--- | ---
`GET /rest/tasks/scheduled?id=…&op=…&maxItems=…` | List scheduled tasks.
`POST /rest/tasks/scheduled?runNow=…` | Create a new scheduled task.

Method Detail
List scheduled tasks. Output: `ListScheduledTasksResponse` - a {@link ListScheduledTaskResponse} with the task details. Query parameters: id - (optional) used to define the starting point for the query. Combine with `op` to page through results. op - (optional, required if `id` is specified) Currently supported operations are: gt (greater than) ge (greater than or equal to) eq (equal to) lt (less than) le (less than or equal to) maxItems - (optional) the number of items to retrieve. The maximum value for this parameter is controlled by the "Maximum number of items to retrieve from database" setting on the administrator account, which defaults to 5000. Cookie parameters: sID - a session ID returned by the Authentication API. Produces: application/json Consumes: application/json HTTP return codes: 200 - if the request is successful 403 - if the user is not authorized to view scheduled tasks
Create a new scheduled task. Input: `CreateScheduledTaskRequest` - a {@link CreateScheduledTaskRequest} with the scheduled task details. Output: `CreateScheduledTaskResponse` - a {@link CreateScheduledTaskResponse} with the scheduled task details. Query parameters: runNow Cookie parameters: sID - a session ID returned by the Authentication API. Produces: application/json Consumes: application/json HTTP return codes: 200 - if the request is successful 403 - if the user is not authorized to create scheduled tasks

Copyright © 2017 Trend Micro Inc. All Rights Reserved.