300-435 Question 292
Single answerYour organization is using Cisco DNA Spaces to track the real-time location of devices in a corporate building. As part of the automation process, you need to retrieve the current locations of connected devices using the Location Scanning APIs. Which API call would you use to achieve this?
- A
POST /location/v1/clients
- B
GET /location/v1/clients
- C
GET /location/v1/floor
- D
POST /location/v1/notifications
Show answer and explanation
Correct answer: B
Explanation
The correct API call to retrieve the current location of connected devices using the Location Scanning APIs is GET /location/v1/clients. This endpoint provides real-time information about connected devices, such as their location and associated access points. Other options are related to different functionalities within the Location Scanning API framework, such as managing notifications or retrieving floor plan details.
- A. Incorrect.
POST /location/v1/clients is incorrect because the Location Scanning API uses GET requests to retrieve information, not POST requests.
- B. Correct.
GET /location/v1/clients is correct because this API call retrieves the current location details of connected clients in the network.
- C. Incorrect.
GET /location/v1/floor is incorrect because this API call retrieves details about floor plans, not the location of connected devices.
- D. Incorrect.
POST /location/v1/notifications is incorrect because this API call is used to configure notifications for location events, not to retrieve client location data.