300-435 Question 256
Single answerYou are tasked with automating the configuration of an SD-WAN overlay network using Cisco vManage. Before applying a new feature template to a device, you need to retrieve a list of all existing feature templates via the vManage Administration APIs. Which HTTP request should you construct?
- A
GET /dataservice/template/feature
- B
POST /dataservice/template/feature
- C
GET /dataservice/device/template
- D
DELETE /dataservice/template/feature
Show answer and explanation
Correct answer: A
Explanation
To retrieve a list of all existing feature templates in Cisco SD-WAN vManage, the correct HTTP method is GET, and the correct API endpoint is '/dataservice/template/feature'. This endpoint, when used with the GET method, allows you to fetch all feature templates configured in the vManage system.
- A. Correct.
This is the correct API request to retrieve a list of existing feature templates in Cisco SD-WAN vManage. The GET method is used to fetch data, and the endpoint '/dataservice/template/feature' specifically retrieves feature templates.
- B. Incorrect.
POST is used to create or update resources, not to retrieve them. This is incorrect for the requirement to retrieve a list of feature templates.
- C. Incorrect.
GET /dataservice/device/template retrieves device templates, not feature templates. This is incorrect for the task at hand.
- D. Incorrect.
DELETE is used to remove resources, not to fetch data. This is incorrect for retrieving feature templates.