[{"label":"Latest (8.6.3)","version":"latest"}]
vrealize-operations

Create Maintenance Schedules

Description

Using this method, you can create a particular maintenance schedules

Request

Request

URL

URL


post
https://localhost/suite-api/api/maintenanceschedules
Copy

Request Body

Request Body

maintenance-schedule of type(s) application/json, application/xml Required

The maintenance schedule to be created

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

201 Created returns MaintenanceSchedule of type(s) application/json, application/xml

The maintenance schedule created

Errors

Errors

400

Invalid request parameters or request body


422

A maintenance schedule with the same key already exists

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"id":"string","key":"string","schedule":{"dayOfTheMonth":0,"daysOfTheMonth":["string"],"daysOfTheWeek":["UNKNOWN"],"duration":0,"expirationDate":"string","expireRuns":0,"hour":0,"minuteOfTheHour":0,"month":0,"months":[0],"recurrence":0,"scheduleType":"UNKNOWN","startDate":"string","timeZone":"string","weeksOfTheMonth":["UNKNOWNN"]}}' https://localhost/suite-api/api/maintenanceschedules


[{"label":"Latest (8.6.3)","version":"latest"}]
vrealize-operations
Feedback

Was this page helpful?