Work on event related and added new create_on and updated_on forced change to UTC.

This commit is contained in:
Scott Idem
2021-09-28 15:04:09 -04:00
parent 35e9178472
commit e0b9c975b0
4 changed files with 52 additions and 32 deletions

View File

@@ -349,8 +349,9 @@ async def get_event_obj(
@router.get('/account/{account_id}/event/list', response_model=Resp_Body_Base)
async def get_account_obj_event_list(
account_id: str = Query(..., min_length=1, max_length=22),
limit: int = 500, # For now this covers any included objects or object lists
enabled: str = 'enabled', # For now this covers any included objects or object lists
limit: int = 500,
enabled: str = 'enabled',
archived: str = 'not_archived', # archived, not_archived, all
conference: bool = False, # Events with badges, sessions, presentations, presenters, registration, etc
# inc_account_cfg: bool = False,
inc_address: bool = False, # Under event and under contact
@@ -400,6 +401,7 @@ async def get_account_obj_event_list(
account_id = account_id,
limit = limit,
enabled = enabled,
archived = archived,
conference = conference,
):
event_result_list = []