DEVASC Exam QuestionsBrowse all questions from this exam

DEVASC Exam - Question 497


DRAG DROP

-

Refer to the exhibit. A script must create a new team, create a new space, send a message, and create a participant. Drag and drop the code snippets from the bottom onto the boxes in the code to complete the script. Not all options are used.

Show Answer
Correct Answer:

Discussion

2 comments
Sign in to comment
lmqnam
May 26, 2024

{"name": "New example collaboration"} {"title": "newRoom", "teamId": team_id} {"roomId": room_id, "text": "New text"} {"emails": [email], "displayName": name}

intheshadows00
Jun 19, 2024

agreed

daniii89
Feb 5, 2025

url = "{}/{}".format(base_url, "teams") body = {"name": "New example collaboration"} team_id = requests.post(url, headers=header, data=body).json()['id'] url = "{}/{}".format(base_url, "rooms") body = {"title": "NewRoom", "teamId": team_id} room_id = requests.post(url, headers=header, data=body).json()['id'] url = "{}/{}".format(base_url, "messages") body = {"roomId": room_id, "text": "New text"} requests.post(url, headers=header, data=body) url = "{}/{}".format(base_url, "people") body = {"emails": [email], "displayName": name} requests.post(url, headers=header, data=body)