| 1234567891011121314151617181920212223242526272829303132333435363738 | --:api: post-calendar-event:request: PostCalendarEventRequest:response: PostCalendarEventResponse--[id="{upid}-{api}"]=== Post Calendar Event APIAdds new ScheduledEvents to an existing {ml} calendar.The API accepts a +{request}+ and respondswith a +{response}+ object.[id="{upid}-{api}-request"]==== Post Calendar Event RequestA +{request}+ is constructed with a calendar ID objectand a non-empty list of scheduled events.["source","java",subs="attributes,callouts,macros"]--------------------------------------------------include-tagged::{doc-tests-file}[{api}-request]--------------------------------------------------<1> Non-null existing calendar ID<2> Non-null, non-empty collection of `ScheduledEvent` objects[id="{upid}-{api}-response"]==== Post Calendar Event ResponseThe returned +{response}+ contains the added `ScheduledEvent` objects:["source","java",subs="attributes,callouts,macros"]--------------------------------------------------include-tagged::{doc-tests-file}[{api}-response]--------------------------------------------------<1> The `ScheduledEvent` objects that were added to the calendarinclude::../execution.asciidoc[]
 |