Table of contents
This function enables to create an event.
parent of current request
payload provided with the request
context of entire application
The following checks are done:
- If the user exists
- If the organization exists
- If the user is a part of the organization.