Running Daily Maintenance While Skipping the Scheduled Daily Maintenance (v1)

Use this API if you want to run daily maintenance while skipping the scheduled daily maintenance.

This topic describes the original version of this REST API. You can also use the simplified v2 version of the REST API. The v2 version contains all parameters in the payload and does not require URL encoding while calling the REST APIs. This makes the v2 API easier to use. The v2 version is backwards compatible.

Required Roles

Service Administrator or any user assigned to the Migrations - Administer granular role

REST Resource

POST /interop/rest/{api_version}/services/maintenancewindow

Request

Table 11-9 Parameters

Name Description Type Required Default
skipNext Specifies if the set maintenance time should be used, true or false String Yes false

Response

Supported Media Types: application/json

Table 11-10 Parameters

Parameters Description
details In case of errors, details are published with the error string
status See Migration Status Codes
links Detailed information about the link
href Links to API call
action The HTTP call type
rel Possible value: self
data Parameters as key value pairs passed in the request
  • Java Code using skipNext:

    DailyMaintenanceWithSkipNextv1.java Main method: runDailyMaintenanceWithSkipNext() Helper method waitForCompletion

  • Curl Code using skipNext:

    Main method: funcSetMaintenancewithSkipNext

  • Groovy Code using skipNext:

    DailyMaintenanceWithSkipNextv1.groovy Main method: runDailyMaintenanceWithSkipNext()

Maintenance Window Time Sample Code