2018-11-20 08:43:34 -05:00
|
|
|
--
|
|
|
|
:api: delete-calendar-job
|
|
|
|
:request: DeleteCalendarJobRequest
|
|
|
|
:response: PutCalendarResponse
|
|
|
|
--
|
|
|
|
[id="{upid}-{api}"]
|
|
|
|
=== Delete Calendar Job API
|
|
|
|
Removes {ml} jobs from an existing {ml} calendar.
|
|
|
|
The API accepts a +{request}+ and responds
|
|
|
|
with a +{response}+ object.
|
|
|
|
|
|
|
|
[id="{upid}-{api}-request"]
|
|
|
|
==== Delete Calendar Job Request
|
|
|
|
|
|
|
|
A +{request}+ is constructed referencing a non-null
|
|
|
|
calendar ID, and JobIDs which to remove from the calendar
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
|
|
|
include-tagged::{doc-tests-file}[{api}-request]
|
|
|
|
--------------------------------------------------
|
|
|
|
<1> The ID of the calendar from which to remove the jobs
|
|
|
|
<2> The JobIds to remove from the calendar
|
|
|
|
|
|
|
|
[id="{upid}-{api}-response"]
|
2018-11-21 17:22:04 -05:00
|
|
|
==== Delete Calendar Job Response
|
2018-11-20 08:43:34 -05:00
|
|
|
|
|
|
|
The returned +{response}+ contains the updated Calendar:
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
|
|
|
include-tagged::{doc-tests-file}[{api}-response]
|
|
|
|
--------------------------------------------------
|
|
|
|
<1> The updated Calendar with the jobs removed
|
|
|
|
|
|
|
|
include::../execution.asciidoc[]
|