300-435 Question 268
Single answerYou are tasked with retrieving the real-time status of all devices managed by a Cisco SD-WAN vManage instance using the Monitoring APIs. Which API endpoint would you use to gather this information?
- A
/dataservice/device
- B
/dataservice/device/monitor
- C
/dataservice/device/realtime
- D
/dataservice/statistics/flow
Show answer and explanation
Correct answer: C
Explanation
To retrieve real-time status information for devices managed by Cisco SD-WAN vManage, the '/dataservice/device/realtime' endpoint is used. This endpoint is specifically designed to provide up-to-date operational status of devices, making it the correct choice for this scenario.
- A. Incorrect.
This endpoint retrieves basic information about devices, but it does not provide real-time status updates.
- B. Incorrect.
This endpoint is invalid; no such endpoint named '/dataservice/device/monitor' exists in the Cisco SD-WAN vManage API documentation.
- C. Correct.
This endpoint is used to fetch real-time status information about devices managed by Cisco SD-WAN vManage.
- D. Incorrect.
This endpoint retrieves flow statistics for devices, but it is not used for real-time device status information.