Create Report Schedule
To specify the time zone add X-Ops-API-Timezone header with value of format e.g. Asia/Yerevan.
All the schedules created using this API will be configured to use GMT time zone.
Report Definition identifier
Custom HTTP header used by Ops API clients to specify Timezone information.
This Timezone value will be typically used for Report Generation.
Either an abbreviation such as "GMT", "PDT" can be specified,
or a full name such as "America/Los_Angeles". Other
formats and representations are not supported.
The Report Schedule to create in the system
Show optional properties
{
"reportDefinitionId": "string",
"startDate": "string",
"recurrence": 0,
"dayOfTheMonth": 0,
"relativePath": [
{}
]
}
"{\n \"reportDefinitionId\" : \"2667dbff-8777-49cb-bfd9-ee380f9f9857\",\n \"resourceId\" : [ \"79364126-7207-4325-a980-8cfc33ff26ab\" ],\n \"traversalSpec\" : {\n \"name\" : \"Traversal spec name\",\n \"rootAdapterKindKey\" : \"VMWARE\",\n \"rootResourceKindKey\" : \"VM\",\n \"adapterInstanceAssociation\" : false\n },\n \"startDate\" : \"4/30/15\",\n \"reportScheduleType\" : \"WEEKLY\",\n \"daysOfTheWeek\" : [ \"SUNDAY\", \"MONDAY\" ],\n \"startHour\" : 1,\n \"startMinute\" : 0,\n \"recurrence\" : 2\n}"
UUID of the schedule
Report Definition identifier
Resource identifiers for which the schedule will be created. Currently we support Schedules for a single Resource.
Represents traversal specs. These are templates in the system using which admins can assign specific set of resources to their users.
Starting time when the Report Schedule comes into effect. Defaults to the current date.
Week of the Month
Types of schedule
The days of the week this Schedule repeats - SUNDAY, MONDAY, TUESDAY etc.
The hour of the day when the Schedule runs. Defaults to 8.
The minutes of the hour when the Schedule runs. Defaults to 0.
Indicates the recurrence period of the Schedule. Defaults to 1.
The days of the month when the Schedule will run - Valid values are from 1-31
Comma separated Email addresses of the recipients for the Report
Comma separated Email addresses of the recipients with Cc for the Report
Comma separated Email addresses of the recipients with Bcc for the Report
Identifier of the email plugin for which this rule applies.
Identifier of the network share plugin for which this rule applies.
Network file share folder names where the reports should be stored
The Report Schedule to create in the system
"{\n \"reportDefinitionId\" : \"aad73445-808e-4577-a7af-c1448a425765\",\n \"resourceId\" : [ \"b9ab7d40-d798-4668-b649-9b5001d5837d\" ],\n \"startDate\" : \"01/01/2015\",\n \"reportScheduleType\" : \"MONTHLY\",\n \"startHour\" : 8,\n \"startMinute\" : 0,\n \"recurrence\" : 1,\n \"dayOfTheMonth\" : 1,\n \"emailAddresses\" : [ \"[email protected]\" ]\n}"
UUID of the schedule
Report Definition identifier
Resource identifiers for which the schedule will be created. Currently we support Schedules for a single Resource.
Represents traversal specs. These are templates in the system using which admins can assign specific set of resources to their users.
Starting time when the Report Schedule comes into effect. Defaults to the current date.
Week of the Month
Types of schedule
The days of the week this Schedule repeats - SUNDAY, MONDAY, TUESDAY etc.
The hour of the day when the Schedule runs. Defaults to 8.
The minutes of the hour when the Schedule runs. Defaults to 0.
Indicates the recurrence period of the Schedule. Defaults to 1.
The days of the month when the Schedule will run - Valid values are from 1-31
Comma separated Email addresses of the recipients for the Report
Comma separated Email addresses of the recipients with Cc for the Report
Comma separated Email addresses of the recipients with Bcc for the Report
Identifier of the email plugin for which this rule applies.
Identifier of the network share plugin for which this rule applies.
Network file share folder names where the reports should be stored
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"dayOfTheMonth:"integer","recurrence:"integer","relativePath":["string"],"reportDefinitionId:"string","startDate:"string"}' https://{api_host}/suite-api/api/reportdefinitions/{id}/schedules