Creates a calendar based on calendar attributes sent in the request body. Can be personal or group calendar. This accepts HTTP POST request, with JSON object (cal) represents a CalendarResource. Example: { name: "Calendar name", description: "Description of the calendar" }
URL:
http://{domain_name}/{rest_context_name}/private/v1/calendar/calendars/
Parameters:
Required (path parameters): No
Optional (query parameters): No
Request example:
POST: http://localhost:8080/rest/private/v1/calendar/calendars
Response:
HTTP status code: 201 if created successfully, and HTTP header *location* href that points to the newly created calendar. 401 if the user does not have create permission, 503 if any error during save process.