Cisco 300-920 - Developing Applications for Cisco Webex and Webex Devices Certification Exam
Question #1 (Topic: demo questions)
Which REST API request is used to list all the Webex Room Kit devices within a large organization so that a new custom In-Room Control can be deployed on all the devices?
var request = require("request");
var options = { method: 'GET',
url: 'https://api.ciscospark.com/v1/devices',
qs: { product: 'Roomkit' },
headers:
{ 'Content Type': 'application/json',
Authorization: 'Bearer Yz6FgoWx7Pgb57C9z' }};
request(options, function(error, reponse, body) {
if (error) throw new Error(error);
console.log(body);
});
var request = require("request");
var options = { method: 'GET',
url: 'https://api.ciscospark.com/v1/devices',
qs: { product: 'Roomkit', placeID: 'Yzb60gRx3kBq5iB2w' },
headers:
{ 'Content Type': 'application/json',
Authorization: 'Bearer Yz6FgoWx7Pgb57C9z' }};
request(options, function(error, reponse, body) {
if (error) throw new Error(error);
console.log(body);
});
var request = require("request");
var options = { method: 'GET',
url: 'https://api.ciscospark.com/v1/devices/Yzb60gRx3kBq5iB2w',
qs: { deviceName: 'Roomkit' },
headers:
{ 'Content Type': 'application/json',
Authorization: 'Bearer Yz6FgoWx7Pgb57C9z' }};
request(options, function(error, reponse, body) {
if (error) throw new Error(error);
console.log(body);
});
var request = require("request");
var options = { method: 'GET',
url: 'https://api.ciscospark.com/v1/devices',
qs: { upgradeChannel: 'Roomkit' },
headers:
{ 'Content Type': 'application/json',
Authorization: 'Bearer Yz6FgoWx7Pgb57C9z' }};
request(options, function(error, reponse, body) {
if (error) throw new Error(error);
console.log(body);
});
Correct Answer: A
Explanation:
The qs: option is required to list all roomkit devices. Product: ‘RoomKit’ is the correct option because it will list all roomkit devices.
Question #2 (Topic: demo questions)
Which expression is a valid Webex Teams webhook filter?
Correct Answer: C
Explanation:
You can also use more than one filter in a webhook. To use multiple filters, combine them with the “&” symbol. For example, to create a webhook that only sends notifications when a specific person performs an action in a specific room, such as sending a message or creating a membership, combine the personEmail and roomId filters. Reference:
Question #3 (Topic: demo questions)
A developer must construct an HTTP Request to use the XML API to set a Personal Meeting Room PIN for a given user. Which code completes the code to create the request?
Correct Answer: A
Explanation: