ActionPlanSchedulesResource


Create an action plan cron schedule


Create a cron based schedule for an action plan

POST https://example.com/api/cloud/actionplans/{actionplan}/schedules

Roles : [ROLE_ACTION_PLAN_MANAGE]

Content-Type : cronbasedschedule Accept : cronbasedschedule

Error Codes

  • AP-0 - The requested action plan does not exist
  • AP-15 - The schedule for the action plan already exists

Example

Create an action plan schedule


Create an interval based schedule for an action plan

POST https://example.com/api/cloud/actionplans/{actionplan}/schedules

Roles : [ROLE_ACTION_PLAN_MANAGE]

Error Codes

  • AP-0 - The requested action plan does not exist
  • AP-15 - The schedule for the action plan already exists

Example

List action plan cron schedules


List cron based schedules of an action plan

GET https://example.com/api/cloud/actionplans/{actionplan}/schedules

Roles : [ROLE_ACTION_PLAN_VIEW]

Error Codes

  • AP-0 - The requested action plan does not exist

Example

List action plan schedules


List interval based schedules of an action plan

GET https://example.com/api/cloud/actionplans/{actionplan}/schedules

Roles : [ROLE_ACTION_PLAN_VIEW]

Error Codes

  • AP-0 - The requested action plan does not exist

Example

Delete an action plan schedule


Delete a schedule (interval or cron) of an action plan

DELETE https://example.com/api/cloud/actionplans/{actionplan}/schedules/{schedule}

Roles : [ROLE_ACTION_PLAN_MANAGE]

Example

Get an action plan cron schedule


Get a cron based schedule of an action plan

GET https://example.com/api/cloud/actionplans/{actionplan}/schedules/{schedule}

Roles : [ROLE_ACTION_PLAN_VIEW]

Error Codes

  • AP-0 - The requested action plan does not exist

Example

Get an action plan schedule


Get an interval based schedule of an action plan

GET https://example.com/api/cloud/actionplans/{actionplan}/schedules/{schedule}

Roles : [ROLE_ACTION_PLAN_VIEW]

Error Codes

  • AP-0 - The requested action plan does not exist

Example

Update an action plan cron schedule


Update a cron based schedule of an action plan

PUT https://example.com/api/cloud/actionplans/{actionplan}/schedules/{schedule}

Roles : [ROLE_ACTION_PLAN_MANAGE]

Content-Type : cronbasedschedule Accept : cronbasedschedule

Error Codes

  • AP-0 - The requested action plan does not exist
  • AP-15 - The schedule for the action plan already exists

Example

Update an action plan schedule


Update an interval based schedule of an action plan

PUT https://example.com/api/cloud/actionplans/{actionplan}/schedules/{schedule}

Roles : [ROLE_ACTION_PLAN_MANAGE]

Error Codes

  • AP-0 - The requested action plan does not exist
  • AP-15 - The schedule for the action plan already exists

Example