nerdexam
CiscoCisco

300-835 · Question #72

300-835 Question #72: Real Exam Question with Answer & Explanation

import requests token = "adcbh5fx" url = "https://webexapis.com/v1/meetings" payload = json.dumps( { "title": "Daily meeting", "agenda": "Daily agenda", "password": "p@ssword", "start": "2021-11-29T10:00:00", "end": "2021-11-29T10:30:00", "timezone": "Europe/Paris", "recurrence":

Meetings

Question

An engineer must automate the creation of daily, 30-minute meetings at 10 AM for the next 50 days. Drag and drop the code snippets from the bottom into the boxes in the Python script to create the meetings by using the Webex Meetings API. Not all options are used.

Explanation

import requests

token = "adcbh5fx" url = "https://webexapis.com/v1/meetings" payload = json.dumps( { "title": "Daily meeting", "agenda": "Daily agenda", "password": "p@ssword", "start": "2021-11-29T10:00:00", "end": "2021-11-29T10:30:00", "timezone": "Europe/Paris", "recurrence": {"FREQ:DAILY,INTERVAL":1,"COUNT":50"}, "enabledAutoRecordMeeting": False, "allowAnyUserToBeCoHost": False, } ) headers = { "Content-Type": "application/json", "Authorization": "Bearer {}".format(token) }

response = requests.post("POST", url, headers=headers, data=payload) json.dumps(response.json(), indent=4)

Topics

#Webex Meetings API#Python Scripting#API Automation#Meeting Automation

Community Discussion

No community discussion yet for this question.

Full 300-835 PracticeBrowse All 300-835 Questions