<?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 DNA Center API - Deploy Template - Composite in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/dna-center-api-deploy-template-composite/m-p/4118680#M9133</link>
    <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;I'm working with DNA Center APIs.&amp;nbsp; I'm not seeing how the Deploy Template API works with composite templates.&amp;nbsp; I can make it work with all other templates from within the Platform GUI and testing, but it doesn't work when trying composite templates.&amp;nbsp; Here's the body I'm trying to use:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"forcePushTemplate": "True",&lt;BR /&gt;"isComposite": "True",&lt;BR /&gt;"memberTemplateDeploymentInfo": [&lt;BR /&gt;],&lt;BR /&gt;"targetInfo": [{"id": "10.0.204.215",&lt;BR /&gt;"params": {"snmp_location": "lab1"},&lt;BR /&gt;"type": "MANAGED_DEVICE_IP"}],&lt;BR /&gt;"templateId": "c1b6996d-db18-439d-9412-5b2b2c89a2d7"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The part I'm unsure of is the&amp;nbsp;memberTemplateDeploymentInfo -- should anything go in there and if so, what is it?&amp;nbsp; I consistently get this error message:&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;"deploymentId": "Deployment of Composite Template: c1b6996d-db18-439d-9412-5b2b2c89a2d7&lt;STRONG&gt;None of the targets are applicable for the template. Hence not deploying"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Like I said, I can do this with all regular templates and my Python scripts all work great, but I can't get the composite templates to work even from the API GUI "Try It" pages.&amp;nbsp; Any recommendations?&amp;nbsp; Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jul 2020 18:38:26 GMT</pubDate>
    <dc:creator>jasonrpell20</dc:creator>
    <dc:date>2020-07-14T18:38:26Z</dc:date>
    <item>
      <title>DNA Center API - Deploy Template - Composite</title>
      <link>https://community.cisco.com/t5/network-platform-api/dna-center-api-deploy-template-composite/m-p/4118680#M9133</link>
      <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;I'm working with DNA Center APIs.&amp;nbsp; I'm not seeing how the Deploy Template API works with composite templates.&amp;nbsp; I can make it work with all other templates from within the Platform GUI and testing, but it doesn't work when trying composite templates.&amp;nbsp; Here's the body I'm trying to use:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"forcePushTemplate": "True",&lt;BR /&gt;"isComposite": "True",&lt;BR /&gt;"memberTemplateDeploymentInfo": [&lt;BR /&gt;],&lt;BR /&gt;"targetInfo": [{"id": "10.0.204.215",&lt;BR /&gt;"params": {"snmp_location": "lab1"},&lt;BR /&gt;"type": "MANAGED_DEVICE_IP"}],&lt;BR /&gt;"templateId": "c1b6996d-db18-439d-9412-5b2b2c89a2d7"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The part I'm unsure of is the&amp;nbsp;memberTemplateDeploymentInfo -- should anything go in there and if so, what is it?&amp;nbsp; I consistently get this error message:&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;"deploymentId": "Deployment of Composite Template: c1b6996d-db18-439d-9412-5b2b2c89a2d7&lt;STRONG&gt;None of the targets are applicable for the template. Hence not deploying"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Like I said, I can do this with all regular templates and my Python scripts all work great, but I can't get the composite templates to work even from the API GUI "Try It" pages.&amp;nbsp; Any recommendations?&amp;nbsp; Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2020 18:38:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/dna-center-api-deploy-template-composite/m-p/4118680#M9133</guid>
      <dc:creator>jasonrpell20</dc:creator>
      <dc:date>2020-07-14T18:38:26Z</dc:date>
    </item>
  </channel>
</rss>

