<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic vManage API - Get Template Values in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/vmanage-api-get-template-values/m-p/5232908#M8625</link>
    <description>&lt;P&gt;Can someone please help me identify the correct endpoint/logic to use?&lt;/P&gt;
&lt;P&gt;Let's say I have a device template named 'My_Device' and it contains two fields 'Interface' and 'Bandwidth'.&amp;nbsp; What endpoints would I use to query the vManage API for the values of variables when the template was attached to a device?&lt;/P&gt;
&lt;P&gt;Currently, I'm doing a GET to the endpoint below but that endpoint takes about a minute to return the data.&amp;nbsp; I'm looking for something faster so that when I iterate over the devices in inventory it doesn't take hours to complete.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;https://&amp;lt;vmanage&amp;gt;/dataservice/template/device/config/attachedconfig?deviceId={{this_item.uuid}}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Dec 2024 14:29:38 GMT</pubDate>
    <dc:creator>_Dustin_</dc:creator>
    <dc:date>2024-12-05T14:29:38Z</dc:date>
    <item>
      <title>vManage API - Get Template Values</title>
      <link>https://community.cisco.com/t5/network-platform-api/vmanage-api-get-template-values/m-p/5232908#M8625</link>
      <description>&lt;P&gt;Can someone please help me identify the correct endpoint/logic to use?&lt;/P&gt;
&lt;P&gt;Let's say I have a device template named 'My_Device' and it contains two fields 'Interface' and 'Bandwidth'.&amp;nbsp; What endpoints would I use to query the vManage API for the values of variables when the template was attached to a device?&lt;/P&gt;
&lt;P&gt;Currently, I'm doing a GET to the endpoint below but that endpoint takes about a minute to return the data.&amp;nbsp; I'm looking for something faster so that when I iterate over the devices in inventory it doesn't take hours to complete.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;https://&amp;lt;vmanage&amp;gt;/dataservice/template/device/config/attachedconfig?deviceId={{this_item.uuid}}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 14:29:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/vmanage-api-get-template-values/m-p/5232908#M8625</guid>
      <dc:creator>_Dustin_</dc:creator>
      <dc:date>2024-12-05T14:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: vManage API - Get Template Values</title>
      <link>https://community.cisco.com/t5/network-platform-api/vmanage-api-get-template-values/m-p/5232917#M8626</link>
      <description>&lt;P&gt;Could you use the Bulk API for this?&amp;nbsp;&lt;A href="https://developer.cisco.com/docs/sdwan/bulk-api/" target="_blank"&gt;https://developer.cisco.com/docs/sdwan/bulk-api/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 14:40:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/vmanage-api-get-template-values/m-p/5232917#M8626</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2024-12-05T14:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: vManage API - Get Template Values</title>
      <link>https://community.cisco.com/t5/network-platform-api/vmanage-api-get-template-values/m-p/5232949#M8627</link>
      <description>&lt;P&gt;That bulk API appears to be more aimed at State and Statistics.&amp;nbsp; I don't see a Data Type Parameter listed that would give me the configured bandwidth on an interface, the running config for manual parsing, or values used in the attached template.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 15:39:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/vmanage-api-get-template-values/m-p/5232949#M8627</guid>
      <dc:creator>_Dustin_</dc:creator>
      <dc:date>2024-12-05T15:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: vManage API - Get Template Values</title>
      <link>https://community.cisco.com/t5/network-platform-api/vmanage-api-get-template-values/m-p/5232987#M8628</link>
      <description>&lt;P&gt;I think i got it - You want to parse all devices which have your two items&amp;nbsp;&lt;SPAN&gt;'Interface' and 'Bandwidth' from a given template/configuration? Are you looking for any sort of information from these like types?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 17:03:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/vmanage-api-get-template-values/m-p/5232987#M8628</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2024-12-05T17:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: vManage API - Get Template Values</title>
      <link>https://community.cisco.com/t5/network-platform-api/vmanage-api-get-template-values/m-p/5233040#M8629</link>
      <description>&lt;P&gt;What I'm doing now:&lt;BR /&gt;1. Hit the device endpoint to get a list of devices&lt;/P&gt;
&lt;P&gt;2. For each device pull the entire config (this is the slow part)&lt;/P&gt;
&lt;P&gt;3. Extract the settings from the device's running config&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I was hoping was to be able to hit an API endpoint, specify the device ID (and template ID if necessary), and have access to values used in the templates.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 18:21:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/vmanage-api-get-template-values/m-p/5233040#M8629</guid>
      <dc:creator>_Dustin_</dc:creator>
      <dc:date>2024-12-05T18:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: vManage API - Get Template Values</title>
      <link>https://community.cisco.com/t5/network-platform-api/vmanage-api-get-template-values/m-p/5233112#M8630</link>
      <description>&lt;P&gt;I unfortunately don't think there is any more elegant way to do this. I haven't been able to find any other endpoints that return this data.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 20:58:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/vmanage-api-get-template-values/m-p/5233112#M8630</guid>
      <dc:creator>Torbjørn</dc:creator>
      <dc:date>2024-12-05T20:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: vManage API - Get Template Values</title>
      <link>https://community.cisco.com/t5/network-platform-api/vmanage-api-get-template-values/m-p/5233289#M8631</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/264437"&gt;@_Dustin_&lt;/a&gt;&amp;nbsp; as&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/964504"&gt;@Torbjørn&lt;/a&gt;&amp;nbsp;noted and I checked the API docs, I don’t think there is a single way to do this in an API call and you would need to either&amp;nbsp;&lt;SPAN&gt;batch your API calls or try&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;parallel processing to speed up retrieval across the multiple devices.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 08:35:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/vmanage-api-get-template-values/m-p/5233289#M8631</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2024-12-06T08:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: vManage API - Get Template Values</title>
      <link>https://community.cisco.com/t5/network-platform-api/vmanage-api-get-template-values/m-p/5234394#M8632</link>
      <description>&lt;P&gt;Thank you, &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1268928"&gt;@torbjorn&lt;/a&gt; , I feared that was the case.&amp;nbsp; I was hoping for an endpoint that would return a key value pair of all the device template values, but I guess that was hoping for too much.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2024 14:14:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/vmanage-api-get-template-values/m-p/5234394#M8632</guid>
      <dc:creator>_Dustin_</dc:creator>
      <dc:date>2024-12-09T14:14:20Z</dc:date>
    </item>
  </channel>
</rss>

