Question 43 of 100 from exam 350-901-DEVCOR: Developing Applications Using Cisco Core Platforms and APIs

Question 43 of 100 from exam 350-901-DEVCOR: Developing Applications Using Cisco Core Platforms and APIs

Question

DRAG DROP -

Create a Message

Post a plain text or rich text message, and optionally, a file attachment attachment,
to a room.

The files parameter is an array, which accepts multiple values to allow for future
expansion, but currently only one file may be included with the message.

GESB /vi/messages

Body Parameters
roomId
sting

The room ID of the message.

‘toPersonId

string

The person ID of the recipient when sending a private 1:1 message.

toPersonEmail
Be he eral excresa ofthe recidend when sencineyeiprvetelltl ressane

text

rng
The message, in plain text. If markdoun is specified this parameter may be
optionally used to provide alternate text for UI clients that do not support
rich text. The maximum message length is 7439 bytes.

markdown

sng

The message, in Markdown format. The maximum message length is 7439
bytes.
#!/bin/bash
https: //api.ciscopark.com/v1/messages \

\

NMUANJQOYWUtNiy P... leb6574-ad72cae0el10f’ \
“": “cisco@usa.net”, “text”: “Intruder Alert!” }/

Refer to the exhibit.

A system administrator has installed a Linux-based alarm system in their home that can execute a Bash shell script when an intruder is detected.

Drag and drop the code snippets from the left onto the item numbers on the right that match the missing sections in the exhibit to create a chat-ops script that will notify of alarms via the Webex Teams REST API.

Not all code snippets are used.

Select and Place:

Answer Area

toPersonEmail <item 1>
userName <item 2>
-X POST <item 3>
-X PUT <item 4>

Content-Type: application/json

Content-Type: application/xml

Authorization: Basic

Authorization: Bearer

Explanations

Answer Area

toPersonEmail -X POST
userName Authorization: Bearer
-X POST Content-Type: application/json
-X PUT userName

Content-Type: application/json

Content-Type: application/xml

Authorization: Basic

Authorization: Bearer