1
0

put-calendar-job.asciidoc 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. --
  2. :api: put-calendar-job
  3. :request: PutCalendarJobRequest
  4. :response: PutCalendarResponse
  5. --
  6. [id="{upid}-{api}"]
  7. === Put Calendar Job API
  8. Adds {ml} jobs to an existing {ml} calendar.
  9. The API accepts a +{request}+ and responds
  10. with a +{response}+ object.
  11. [id="{upid}-{api}-request"]
  12. ==== Put Calendar Job Request
  13. A +{request}+ is constructed referencing a non-null
  14. calendar ID, and JobIDs to which to add to the calendar
  15. ["source","java",subs="attributes,callouts,macros"]
  16. --------------------------------------------------
  17. include-tagged::{doc-tests-file}[{api}-request]
  18. --------------------------------------------------
  19. <1> The ID of the calendar to which to add the jobs
  20. <2> The JobIds to add to the calendar
  21. [id="{upid}-{api}-response"]
  22. ==== Put Calendar Response
  23. The returned +{response}+ contains the updated Calendar:
  24. ["source","java",subs="attributes,callouts,macros"]
  25. --------------------------------------------------
  26. include-tagged::{doc-tests-file}[{api}-response]
  27. --------------------------------------------------
  28. <1> The updated Calendar
  29. include::../execution.asciidoc[]