Integrations/MicrosoftGraphCalendar/MicrosoftGraphCalendar.py
def create_event_command(client: Client, args: Dict) -> Tuple[str, Dict, Dict]:
    """
    Creates an event by event id and return outputs in Demisto's format

    Args:
        client: Client object with request
        args: Usually demisto.args()
    """
    args = process_event_params(**args)
    params: Dict = snakecase_to_camelcase(args, fields_to_drop=['user', 'calendar_id'])  # type: ignore

    # create the event
    event = client.create_event(user=args.get('user', ''), calendar_id=args.get('calendar_id', ''), **params)

    # display the new event and it's properties
    event_readable, event_outputs = parse_events(event)
    human_readable = tableToMarkdown(
        name=f"Event was created successfully:",
        t=event_readable,
        headers=EVENT_HEADERS,
        removeNull=True
    )
    entry_context = {f'{INTEGRATION_CONTEXT_NAME}.Event(val.ID === obj.ID)': event_outputs}
    return human_readable, entry_context, event

    Creates an event by event id and return outputs in Demisto's format

    Args:
        client: Client object with request
        args: Usually demisto.args()
    
Creates an event by event id and return outputs in Demisto's format
Creates an event by event id and return outputs in Demisto ' s format
def create_event_command(client: Client, args: Dict) -> Tuple[str, Dict, Dict]:
    args = process_event_params(**args)
    params: Dict = snakecase_to_camelcase(args, fields_to_drop=['user', 'calendar_id'])  
    event = client.create_event(user=args.get('user', ''), calendar_id=args.get('calendar_id', ''), **params)
    event_readable, event_outputs = parse_events(event)
    human_readable = tableToMarkdown(
        name=f"Event was created successfully:",
        t=event_readable,
        headers=EVENT_HEADERS,
        removeNull=True
    )
    entry_context = {f'{INTEGRATION_CONTEXT_NAME}.Event(val.ID === obj.ID)': event_outputs}
    return human_readable, entry_context, event
def create_event_command ( client : Client , args : Dict ) -> Tuple [ str , Dict , Dict ] : args = process_event_params ( ** args ) params : Dict = snakecase_to_camelcase ( args , fields_to_drop = [ 'user' , 'calendar_id' ] ) event = client . create_event ( user = args . get ( 'user' , '' ) , calendar_id = args . get ( 'calendar_id' , '' ) , ** params ) event_readable , event_outputs = parse_events ( event ) human_readable = tableToMarkdown ( name = f"Event was created successfully:" , t = event_readable , headers = EVENT_HEADERS , removeNull = True ) entry_context = { f'{INTEGRATION_CONTEXT_NAME}.Event(val.ID === obj.ID)' : event_outputs } return human_readable , entry_context , event
Creates an event by event id and return outputs in Demisto's format
Creates an event by event id and return outputs in Demisto ' s format
"""
    Creates an event by event id and return outputs in Demisto's format

    Args:
        client: Client object with request
        args: Usually demisto.args()
    """ # type: ignore # create the event # display the new event and it's properties
client
Client
Client object with request
Client object with request
args
Dict
None