300-435 · Question #12
Information about a rebooted device needs to be displayed with an ID of 260faff9-2d31-4312-cf96-143b46db0211 using the Cisco SD-WAN vManage Administration APIs. The API documentation states that…
This question tests knowledge of how to construct a REST API GET request using a query parameter in the Cisco SD-WAN vManage API to retrieve reboot action information for a specific device.
Question
Exhibit
Explanation
This question tests knowledge of how to construct a REST API GET request using a query parameter in the Cisco SD-WAN vManage API to retrieve reboot action information for a specific device.
Approach. The blank should be filled with '?deviceId=' making the complete URL: https://vmanage-ip-address:8443/dataservice/device/action/reboot/?deviceId=260faff9-2d31-4312-cf96-143b46db0211. In REST APIs, required query parameters are appended to the URL after a '?' symbol, followed by the parameter name, an '=' sign, and then the value. Since the API documentation specifies 'deviceId' as a required request parameter (not a path parameter), the correct syntax uses the query string format '?deviceId=' before the UUID value, which allows the vManage server to filter and return reboot action data specific to that device.
Concept tested. Constructing a REST API URL with required query parameters in Cisco SD-WAN vManage - specifically distinguishing between path parameters (embedded in the URL path) and query parameters (appended with ?key=value syntax), and applying the correct query string format for the deviceId parameter.
Reference. Cisco SD-WAN vManage REST API Guide - Device Action Monitoring Endpoints (dataservice/device/action/reboot)
Topics
Community Discussion
No community discussion yet for this question.
