cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
783
Views
5
Helpful
1
Replies

How to get Variables data for DayN provision passed into the template

vantruongsinh
Level 1
Level 1

Hi all,

At the moment, we are using GUI for DayN provision.

We passed variables into the DayN template and push it to the device.

Is there any API call that I can get all the variables and value have been pushed to the device from the DayN template ?

Thank you

1 Reply 1

Alexander Stevenson
Cisco Employee
Cisco Employee

Hello @vantruongsinh,

 

I think this article 3 Simple ways to use Cisco DNA Center Platform APIs by Robert Csapo describes how to do what you want to accomplish.

 

Variable Bindings may be a possible solution. In his Cisco Blogs post Using Advanced Velocity Templates in Cisco DNA Center – Part 1, Adam Radford goes into detail regarding using these with the GUI. The next blog from Adam in this series, Using Advanced Velocity Templates in Cisco DNA Center – Part 2, describes using the Intent API to get attributes, "REST API call for /dna/intent/api/v1/interface", for example.

Hope this helps!