POST /v1/calendar/events/{id}/invitations/

Creates an invitation in an event specified by event id, in one of conditions: the authenticated user is the participant of the event, OR the authenticated user has edit permission on the calendar of the event. This accepts invitation resource in request body, for example : {"participant":"root","status":""}.




  • Required (path parameters):

Parameter Description
id Identity of the event.
  • Optional (query parameters): No

Request example:

 POST: http://localhost:8080/rest/private/v1/calendar/events/evt123/invitations


 HTTP status code:
            201 if created successfully, and HTTP header *location* href that points to the newly created invitation.
            400 if participant is invalid.
            404 if event not found.
            401 if the authenticated user does not have permission.
            503 if any error during save process.

Copyright ©2018. All rights reserved. eXo Platform SAS
blog comments powered byDisqus