exam questions

Exam 300-835 All Questions

View all questions & answers for the 300-835 exam

Exam 300-835 topic 1 question 31 discussion

Actual exam question from Cisco's 300-835
Question #: 31
Topic #: 1
[All 300-835 Questions]

A Webex Teams bot receives a Webhook payload, which notifies the bot that a message was created in a space. Which two API requests must be issued for the bot to answer the author of the message? (Choose two.)

  • A. POST /v1/messages
  • B. GET /v1/messages/{messageId}
  • C. GET /v1/webhooks/{webhookId}
  • D. PUT /v1/messages/{messageId}
  • E. POST /v1/webhooks
Show Suggested Answer Hide Answer
Suggested Answer: CE 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
R0ck3tman
Highly Voted 3 years, 7 months ago
Pretty sure this is A and C. The bot is not going to POST a Webhook back to the author.
upvoted 5 times
iamnoone
2 years, 7 months ago
Why would the bot need to get the details of the webehook with /webhook/{webhookids}?
upvoted 2 times
...
...
theflatirons
Most Recent 10 months ago
Selected Answer: AE
Heavily debated but after researching, I'm going with this... https://developer.webex.com/docs/webhooks A. POST /webhooks "-To begin receiving platform events, you first need to register a webhook with Webex. To create a webhook, make an HTTP POST to /webhooks" and B. POST /messages "-When one of your webhooks is triggered by an event, Webex will send an HTTP POST to the backend targetUrl that you've specified. The body of the POST will look something like this: { "id": "Y2lzY29zcGFyazovL3VzL1dFQkhPT0svZjRlNjA1NjAtNjYwMi00ZmIwLWEyNWEtOTQ5ODgxNjA5NDk3", "name": "New message in 'Project Unicorn' room", "resource": "messages",..."
upvoted 1 times
...
alexgrt
1 year, 9 months ago
Selected Answer: AB
You don't post to a webhook, as this just creates a webhook...
upvoted 1 times
...
fixpro
2 years, 2 months ago
B and E
upvoted 1 times
...
iamnoone
2 years, 7 months ago
To me it seems like A and B is the correct answers. First it will need to get the message content using the /message/{messageId} from the object of the webhook response, parse it and then post a proper reply with /message.
upvoted 4 times
...
ub3rpownage3
3 years ago
A and E
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...