REST API - saveCalendar Create an Overlay Calendar
The table summarizes the REST API - saveCalendar: Create an Overlay Calendar.
Request
Format | PUT <baseurl>/calendar/overlay |
Body | xmlOverlayCalendar element (required): The component of the saveCalendar element (from the WorkCalService schema) that defines the calendar name, namespace, and working-day exceptions. |
Response
JSON | Returns a JSON representation of the xmlOverlayCalendar element. |
XML | Returns the content of a xmlOverlayCalendar element (from the WorkCalService schema). |
Example
Request |
PUT <baseurl>/calendar/overlay |
Request body |
<overlay-calendar calendar-type="OVERLAY" namespace="LONDON" name="PUB_HOL" date-created="2013-01-04" version="-1"/> |
Response |
{ "xml-fragment": { "@version": "0", "@namespace": "LONDON", "@name": "PUB_HOL", "@date-created": "2013-01-04T13:37:25.058Z", "@date-modified": "2013-01-04T13:37:25.058Z", "@calendar-type": "OVERLAY" } } |
Copyright © Cloud Software Group, Inc. All rights reserved.