Integrations/MicrosoftGraphCalendar/MicrosoftGraphCalendar.py
def create_event(self, user: str, calendar_id: str = '', **kwargs) -> Dict:
        """
        Create a single event in a user calendar, or the default calendar of an Office 365 group.

        Args:
        :argument user: the user id | userPrincipalName
        :argument calendar_id: calendar id  | name

        Event Properties:
        :keyword attendees: The collection of attendees for the event.
        :keyword body: The body of the message associated with the event. It can be in HTML or text format.
        :keyword subject: The text of the event's subject line.
        :keyword location: The location of the event. an event as an online meeting such as a Zoom meeting. Read-only.
        :keyword end: The date, time, and time zone that the event ends. By default, the end time is in UTC.
        :keyword originalEndTimeZone: The end time zone that was set when the event was created.
        :keyword originalStart: The Timestamp type represents date and time using ISO 8601 format in UTC time.
         For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
        :keyword originalStartTimeZone: The start time zone that was set when the event was created.
        """
        if calendar_id:
            event = self.http_request(
                method='POST',
                url_suffix=f'/users/{user}/calendars/{calendar_id}/events',
                body=json.dumps(kwargs)
            )
        else:
            event = self.http_request(
                method='POST',
                url_suffix=f'users/{user}/calendar/events',
                body=json.dumps(kwargs)
            )
        return event

        Create a single event in a user calendar, or the default calendar of an Office 365 group.

        Args:
        :argument user: the user id | userPrincipalName
        :argument calendar_id: calendar id  | name

        Event Properties:
        :keyword attendees: The collection of attendees for the event.
        :keyword body: The body of the message associated with the event. It can be in HTML or text format.
        :keyword subject: The text of the event's subject line.
        :keyword location: The location of the event. an event as an online meeting such as a Zoom meeting. Read-only.
        :keyword end: The date, time, and time zone that the event ends. By default, the end time is in UTC.
        :keyword originalEndTimeZone: The end time zone that was set when the event was created.
        :keyword originalStart: The Timestamp type represents date and time using ISO 8601 format in UTC time.
         For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
        :keyword originalStartTimeZone: The start time zone that was set when the event was created.
        
Create a single event in a user calendar, or the default calendar of an Office 365 group.
Args.
Create a single event in a user calendar or the default calendar of an Office 365 group . Args .
def create_event(self, user: str, calendar_id: str = '', **kwargs) -> Dict:
        if calendar_id:
            event = self.http_request(
                method='POST',
                url_suffix=f'/users/{user}/calendars/{calendar_id}/events',
                body=json.dumps(kwargs)
            )
        else:
            event = self.http_request(
                method='POST',
                url_suffix=f'users/{user}/calendar/events',
                body=json.dumps(kwargs)
            )
        return event
def create_event ( self , user : str , calendar_id : str = '' , ** kwargs ) -> Dict : if calendar_id : event = self . http_request ( method = 'POST' , url_suffix = f'/users/{user}/calendars/{calendar_id}/events' , body = json . dumps ( kwargs ) ) else : event = self . http_request ( method = 'POST' , url_suffix = f'users/{user}/calendar/events' , body = json . dumps ( kwargs ) ) return event
Create a single event in a user calendar, or the default calendar of an Office 365 group.
Create a single event in a user calendar or the default calendar of an Office 365 group .
"""
        Create a single event in a user calendar, or the default calendar of an Office 365 group.

        Args:
        :argument user: the user id | userPrincipalName
        :argument calendar_id: calendar id  | name

        Event Properties:
        :keyword attendees: The collection of attendees for the event.
        :keyword body: The body of the message associated with the event. It can be in HTML or text format.
        :keyword subject: The text of the event's subject line.
        :keyword location: The location of the event. an event as an online meeting such as a Zoom meeting. Read-only.
        :keyword end: The date, time, and time zone that the event ends. By default, the end time is in UTC.
        :keyword originalEndTimeZone: The end time zone that was set when the event was created.
        :keyword originalStart: The Timestamp type represents date and time using ISO 8601 format in UTC time.
         For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
        :keyword originalStartTimeZone: The start time zone that was set when the event was created.
        """
self
user
str
the user id | userPrincipalName
the user id | userPrincipalName
calendar_id
str
calendar id  | name
Event Properties.
calendar id | name Event Properties .
attendees
The collection of attendees for the event.
The collection of attendees for the event .
body
The body of the message associated with the event. It can be in HTML or text format.
The body of the message associated with the event . It can be in HTML or text format .
subject
The text of the event's subject line.
The text of the event ' s subject line .
location
The location of the event. an event as an online meeting such as a Zoom meeting. Read-only.
The location of the event . an event as an online meeting such as a Zoom meeting . Read - only .
end
The date, time, and time zone that the event ends. By default, the end time is in UTC.
The date time and time zone that the event ends . By default the end time is in UTC .
originalEndTimeZone
The end time zone that was set when the event was created.
The end time zone that was set when the event was created .
originalStart
The Timestamp type represents date and time using ISO 8601 format in UTC time.
The Timestamp type represents date and time using ISO 8601 format in UTC time .
originalStartTimeZone
The start time zone that was set when the event was created.
The start time zone that was set when the event was created .