300-435 · Question #1
Which two API calls must be issued to attach a device template in Cisco SD-WAN? (Choose two.)
The correct answer is B. "monitor device action status" GET API request with the process ID to display the status of the attach action D. POST call to initiate the attach action. To attach a device template in Cisco SD-WAN, a POST API call initiates the action, and then a GET API request with the returned process ID is used to monitor the status of that operation.
Question
Options
- A"monitor device action status" GET API request with the device ID to display the status of the attach action
- B"monitor device action status" GET API request with the process ID to display the status of the attach action
- CPUT call to initiate the attach action
- DPOST call to initiate the attach action
- EGET call to initiate the attach action
How the community answered
(36 responses)- B92% (33)
- C3% (1)
- E6% (2)
Why each option
To attach a device template in Cisco SD-WAN, a POST API call initiates the action, and then a GET API request with the returned process ID is used to monitor the status of that operation.
Monitoring the action status requires a process ID, not a device ID, as the action itself (template attachment) is an asynchronous process tracked by its unique ID.
After initiating an asynchronous operation like template attachment with a POST request, vManage returns a process ID. A subsequent "monitor device action status" GET API request, specifically using this process ID, is then used to query and track the completion status and any results of the template attachment operation.
PUT requests are typically used for updating an existing resource, not for initiating a new action or creating a new resource like a template attachment.
In Cisco SD-WAN vManage API, creating or initiating a new action or resource, such as attaching a device template, typically requires a POST request to the appropriate endpoint. This POST call sends the necessary configuration data for the template attachment.
GET requests are used to retrieve information or resources, not to initiate actions or create new configurations on the server.
Concept tested: Cisco SD-WAN vManage API device template attachment workflow
Source: https://developer.cisco.com/docs/sdwan/vmanage-api-guide/#!device-template-cli-based-operations/attach-device-template
Topics
Community Discussion
No community discussion yet for this question.