Create a schedule.

POST {{baseUrl}}/schedules

Returns the created schedule.

Request Body

{"compartmentId"=>"{{tenancy_ocid}}", "name"=>"fugiat tempor aliquip cupidatat", "queryProperties"=>{"dateRange"=>{"dateRangeType"=>"STATIC"}, "granularity"=>"MONTHLY", "compartmentDepth"=>2.993005963611699, "filter"=>{"dimensions"=>[{"key"=>"amet d", "value"=>"incididunt culpa sit ea proident"}, {"key"=>"cupidatat quis et tempor sit", "value"=>"dolore dolor eu"}], "filters"=>[{"value"=>"<Circular reference to #/components/schemas/Filter detected>"}, {"value"=>"<Circular reference to #/components/schemas/Filter detected>"}], "operator"=>"OR", "tags"=>[{"key"=>"occaecat adipisicing tempor irure", "namespace"=>"commodo ipsum dolor nulla", "value"=>"in consequat"}, {"key"=>"e", "namespace"=>"elit dolore", "value"=>"est aliquip nisi"}]}, "groupBy"=>["ex", "cillum reprehenderit eiusmod"], "groupByTag"=>[{"key"=>"cillum eu", "namespace"=>"esse consequat veniam laboris dolore", "value"=>"ipsum sed officia non qui"}, {"key"=>"Ut non labore", "namespace"=>"dolore magna", "value"=>"in ut Excepte"}], "isAggregateByTime"=>false, "queryType"=>"COST"}, "resultLocation"=>{"locationType"=>"OBJECT_STORAGE"}, "scheduleRecurrences"=>"cupidatat se", "timeScheduled"=>"2011-12-25T00:07:41.477Z", "freeformTags"=>{"in_"=>"in sunt pariatur consequat anim"}}

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringUnique Oracle-assigned identifier for the request. If you need to contact Oracle about a
particular request, please provide the request ID.
opc-retry-tokenstringA token that uniquely identifies a request so it can be retried in case of a timeout or
server error, without risk of executing that same action again. Retry tokens expire after 24
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
has been deleted and purged from the system, then a retry of the original creation request
might be rejected.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;compartmentId&quot;:&quot;sed pariatur proident in&quot;,&quot;id&quot;:&quot;deserunt velit et Lorem&quot;,&quot;lifecycleState&quot;:&quot;ACTIVE&quot;,&quot;name&quot;:&quot;ullamco in ut&quot;,&quot;queryProperties&quot;:{&quot;dateRange&quot;:{&quot;dateRangeType&quot;:&quot;STATIC&quot;},&quot;granularity&quot;:&quot;DAILY&quot;,&quot;compartmentDepth&quot;:4.373950420218479,&quot;filter&quot;:{&quot;dimensions&quot;:[{&quot;key&quot;:&quot;sunt exercitation&quot;,&quot;value&quot;:&quot;consectetur ut cillum&quot;},{&quot;key&quot;:&quot;proident esse&quot;,&quot;value&quot;:&quot;laboris eiusmod nostrud&quot;}],&quot;filters&quot;:[{&quot;value&quot;:&quot;\u003cCircular reference to #/components/schemas/Filter detected\u003e&quot;},{&quot;value&quot;:&quot;\u003cCircular reference to #/components/schemas/Filter detected\u003e&quot;}],&quot;operator&quot;:&quot;OR&quot;,&quot;tags&quot;:[{&quot;key&quot;:&quot;aliqua elit dolore ipsum&quot;,&quot;namespace&quot;:&quot;ut consectetur&quot;,&quot;value&quot;:&quot;ex ullamco veniam&quot;},{&quot;key&quot;:&quot;aliqua consectetur&quot;,&quot;namespace&quot;:&quot;ullamco ex&quot;,&quot;value&quot;:&quot;consectetur veniam proident&quot;}]},&quot;groupBy&quot;:[&quot;incididunt ad nostrud aliqua&quot;,&quot;Ut Excepteur&quot;],&quot;groupByTag&quot;:[{&quot;key&quot;:&quot;pariatur&quot;,&quot;namespace&quot;:&quot;lab&quot;,&quot;value&quot;:&quot;minim qui do veniam&quot;},{&quot;key&quot;:&quot;qui ipsum proident ullamco&quot;,&quot;namespace&quot;:&quot;in laborum&quot;,&quot;value&quot;:&quot;fugiat amet&quot;}],&quot;isAggregateByTime&quot;:false,&quot;queryType&quot;:&quot;COST&quot;},&quot;resultLocation&quot;:{&quot;locationType&quot;:&quot;OBJECT_STORAGE&quot;},&quot;scheduleRecurrences&quot;:&quot;laborum &quot;,&quot;timeCreated&quot;:&quot;1964-05-21T02:14:38.583Z&quot;,&quot;timeScheduled&quot;:&quot;1971-12-15T02:00:44.531Z&quot;,&quot;systemTags&quot;:{&quot;amet_b5&quot;:{&quot;veniam80&quot;:{},&quot;cillum0a&quot;:{}}}}