<?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 Re: Cloning exsisting network inside organization does not keep the settings in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/cloning-exsisting-network-inside-organization-does-not-keep-the/m-p/5455316#M8408</link>
    <description>&lt;P&gt;I do not understand the API response.&lt;/P&gt;&lt;P&gt;This is my payload:&lt;/P&gt;&lt;P&gt;Request Payload: {&lt;BR /&gt;"name": "blabla",&lt;BR /&gt;"productTypes": [&lt;BR /&gt;"appliance",&lt;BR /&gt;"camera",&lt;BR /&gt;"cellularGateway",&lt;BR /&gt;"sensor",&lt;BR /&gt;"switch",&lt;BR /&gt;"wireless"&lt;BR /&gt;],&lt;BR /&gt;"copyFromNetworkId": "L_2321321323312"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;and this is my response:&lt;/P&gt;&lt;P&gt;Response Body: {&lt;BR /&gt;"network": {&lt;BR /&gt;"enrollmentString": null,&lt;BR /&gt;"id": "L_3213213213213",&lt;BR /&gt;"isBoundToConfigTemplate": false,&lt;BR /&gt;"isVirtual": false,&lt;BR /&gt;"name": "blabla",&lt;BR /&gt;"notes": "",&lt;BR /&gt;"organizationId": "32132132321321",&lt;BR /&gt;"productTypes": [&lt;BR /&gt;"appliance",&lt;BR /&gt;"switch",&lt;BR /&gt;"wireless"&lt;BR /&gt;],&lt;BR /&gt;"tags": [],&lt;BR /&gt;"timeZone": "Europe/Oslo",&lt;BR /&gt;"url": "&lt;A href="https://n577.meraki.com/blabla" target="_blank" rel="nofollow noopener noreferrer"&gt;https://n577.meraki.com/blabla&lt;/A&gt;"&lt;BR /&gt;},&lt;BR /&gt;"success": true&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;so to me, it seems like&lt;BR /&gt;"camera",&lt;BR /&gt;"cellularGateway",&lt;BR /&gt;"sensor",&lt;BR /&gt;&lt;BR /&gt;never gets provisioned, and I guess this is the problem here?&lt;BR /&gt;&lt;BR /&gt;If I use API to pull network info from a API-created subs, it looks like this:&lt;BR /&gt;&lt;BR /&gt; "productTypes": [&lt;BR /&gt;"appliance",&lt;BR /&gt;"switch",&lt;BR /&gt;"wireless"&lt;BR /&gt;],&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if I clone it in the meraki portal, it looks like this:&lt;BR /&gt;&lt;BR /&gt;"productTypes": [&lt;BR /&gt;"appliance",&lt;BR /&gt;"camera",&lt;BR /&gt;"cellularGateway",&lt;BR /&gt;"sensor",&lt;BR /&gt;"switch",&lt;BR /&gt;"wireless"&lt;BR /&gt;],&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2025 14:51:06 GMT</pubDate>
    <dc:creator>fjongfasong</dc:creator>
    <dc:date>2025-01-28T14:51:06Z</dc:date>
    <item>
      <title>Cloning exsisting network inside organization does not keep the settings</title>
      <link>https://community.cisco.com/t5/network-platform-api/cloning-exsisting-network-inside-organization-does-not-keep-the/m-p/5455313#M8405</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;So, i have a organization, inside that organization i've created a network with no equipment (manually in the portal), but with some configuration. like an SSID name etc, just to do some testing.&lt;/P&gt;&lt;P&gt;Then I have a frontend system that searches for existing organization, and if there is a match, it checks if the network ID exsists. If the network ID does not exsist in the meraki portal, it gives you an option to create a new one, and clone the configuration from the network chosen.&lt;/P&gt;&lt;P&gt;Now, it creates the network, but the configuration on the new network is lost.&lt;/P&gt;&lt;P&gt;After some troubleshooting, I realised that it need to have the same excact products as the network iam trying to copy.&lt;/P&gt;&lt;P&gt;So, I created a function that checks what products the network i want to clone has first, and then uses the same products when creating the new network, but still, the configuration is lost.&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Full Payload:&lt;/SPAN&gt; &lt;SPAN class=""&gt;{ "name": "randomnetworkID", "timeZone": "Europe/Oslo", "notes": "Network created for organization somenumberhere", "copyFromNetworkId": "L_3702521000000000000", "productTypes": [ "appliance", "camera", "cellularGateway", "sensor", "switch", "wireless" ] }&lt;BR /&gt;&lt;BR /&gt;Iam about to loose my mind, does anyone have some tips? I think it might still be related to the productTypes.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;some screenshots;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/264185i4154EDAFA336D5FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any help, much appreciated!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 10:58:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/cloning-exsisting-network-inside-organization-does-not-keep-the/m-p/5455313#M8405</guid>
      <dc:creator>fjongfasong</dc:creator>
      <dc:date>2025-01-28T10:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning exsisting network inside organization does not keep the settings</title>
      <link>https://community.cisco.com/t5/network-platform-api/cloning-exsisting-network-inside-organization-does-not-keep-the/m-p/5455314#M8406</link>
      <description>&lt;P&gt;I often create new networks with API calls, even if there are no devices inside the network, the configuration will be build correctly.&lt;/P&gt;&lt;P&gt;As soon as you add your devices in the new network, you can see that the settings are correctly set...&lt;/P&gt;&lt;P&gt;You should get your new network configuration via api too&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 13:08:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/cloning-exsisting-network-inside-organization-does-not-keep-the/m-p/5455314#M8406</guid>
      <dc:creator>Fabian11</dc:creator>
      <dc:date>2025-01-28T13:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning exsisting network inside organization does not keep the settings</title>
      <link>https://community.cisco.com/t5/network-platform-api/cloning-exsisting-network-inside-organization-does-not-keep-the/m-p/5455315#M8407</link>
      <description>&lt;P&gt;Okey, but howcome I can see the configuration when I manually clone, and not when I use the API call?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 13:32:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/cloning-exsisting-network-inside-organization-does-not-keep-the/m-p/5455315#M8407</guid>
      <dc:creator>fjongfasong</dc:creator>
      <dc:date>2025-01-28T13:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning exsisting network inside organization does not keep the settings</title>
      <link>https://community.cisco.com/t5/network-platform-api/cloning-exsisting-network-inside-organization-does-not-keep-the/m-p/5455316#M8408</link>
      <description>&lt;P&gt;I do not understand the API response.&lt;/P&gt;&lt;P&gt;This is my payload:&lt;/P&gt;&lt;P&gt;Request Payload: {&lt;BR /&gt;"name": "blabla",&lt;BR /&gt;"productTypes": [&lt;BR /&gt;"appliance",&lt;BR /&gt;"camera",&lt;BR /&gt;"cellularGateway",&lt;BR /&gt;"sensor",&lt;BR /&gt;"switch",&lt;BR /&gt;"wireless"&lt;BR /&gt;],&lt;BR /&gt;"copyFromNetworkId": "L_2321321323312"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;and this is my response:&lt;/P&gt;&lt;P&gt;Response Body: {&lt;BR /&gt;"network": {&lt;BR /&gt;"enrollmentString": null,&lt;BR /&gt;"id": "L_3213213213213",&lt;BR /&gt;"isBoundToConfigTemplate": false,&lt;BR /&gt;"isVirtual": false,&lt;BR /&gt;"name": "blabla",&lt;BR /&gt;"notes": "",&lt;BR /&gt;"organizationId": "32132132321321",&lt;BR /&gt;"productTypes": [&lt;BR /&gt;"appliance",&lt;BR /&gt;"switch",&lt;BR /&gt;"wireless"&lt;BR /&gt;],&lt;BR /&gt;"tags": [],&lt;BR /&gt;"timeZone": "Europe/Oslo",&lt;BR /&gt;"url": "&lt;A href="https://n577.meraki.com/blabla" target="_blank" rel="nofollow noopener noreferrer"&gt;https://n577.meraki.com/blabla&lt;/A&gt;"&lt;BR /&gt;},&lt;BR /&gt;"success": true&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;so to me, it seems like&lt;BR /&gt;"camera",&lt;BR /&gt;"cellularGateway",&lt;BR /&gt;"sensor",&lt;BR /&gt;&lt;BR /&gt;never gets provisioned, and I guess this is the problem here?&lt;BR /&gt;&lt;BR /&gt;If I use API to pull network info from a API-created subs, it looks like this:&lt;BR /&gt;&lt;BR /&gt; "productTypes": [&lt;BR /&gt;"appliance",&lt;BR /&gt;"switch",&lt;BR /&gt;"wireless"&lt;BR /&gt;],&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if I clone it in the meraki portal, it looks like this:&lt;BR /&gt;&lt;BR /&gt;"productTypes": [&lt;BR /&gt;"appliance",&lt;BR /&gt;"camera",&lt;BR /&gt;"cellularGateway",&lt;BR /&gt;"sensor",&lt;BR /&gt;"switch",&lt;BR /&gt;"wireless"&lt;BR /&gt;],&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 14:51:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/cloning-exsisting-network-inside-organization-does-not-keep-the/m-p/5455316#M8408</guid>
      <dc:creator>fjongfasong</dc:creator>
      <dc:date>2025-01-28T14:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning exsisting network inside organization does not keep the settings</title>
      <link>https://community.cisco.com/t5/network-platform-api/cloning-exsisting-network-inside-organization-does-not-keep-the/m-p/5455317#M8409</link>
      <description>&lt;P&gt;It may be the settings are cloned but not visible via the API until you add a device to the network.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 21:30:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/cloning-exsisting-network-inside-organization-does-not-keep-the/m-p/5455317#M8409</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2025-01-28T21:30:00Z</dc:date>
    </item>
  </channel>
</rss>

