<?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: PNP device provisioning in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/pnp-device-provisioning/m-p/3468748#M1013</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Version = 1.1.0.767&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Mar 2016 18:39:33 GMT</pubDate>
    <dc:creator>jawicks</dc:creator>
    <dc:date>2016-03-16T18:39:33Z</dc:date>
    <item>
      <title>PNP device provisioning</title>
      <link>https://community.cisco.com/t5/controllers/pnp-device-provisioning/m-p/3468746#M1011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am trying to add a new WiFi Access-Point into a previously provisioned APIC-EM project via the REST API using post method to the URL below (the x-auth token-id and project-id is good because I can read the list of devices within the project).&lt;/P&gt;&lt;P&gt;&lt;A href="https://10.52.145.13/api/v1/pnp-project/a03c6485-b77e-4444-9f09-3a02a118549e/device" title="https://10.52.145.13/api/v1/pnp-project/a03c6485-b77e-4444-9f09-3a02a118549e/device" target="_blank"&gt;api/v1/pnp-project/a03c6485-b77e-4444-9f09-3a02a118549e/device&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with the request JSON body format shown in the screen-grab below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get status-code = 500 "InternalError" returned with the following rather cryptic message, has anyone got any pointer where I am going wrong with this request please ??&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="image-1 jive-image" src="https://community.cisco.com/legacyfs/online/fusion/94056_Capture.JPG" style="height: 569px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Cheers, Jim.W.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 12:27:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pnp-device-provisioning/m-p/3468746#M1011</guid>
      <dc:creator>jawicks</dc:creator>
      <dc:date>2019-03-01T12:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: PNP device provisioning</title>
      <link>https://community.cisco.com/t5/controllers/pnp-device-provisioning/m-p/3468747#M1012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version is your APIC-EM ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 18:33:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pnp-device-provisioning/m-p/3468747#M1012</guid>
      <dc:creator>yawming</dc:creator>
      <dc:date>2016-03-16T18:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: PNP device provisioning</title>
      <link>https://community.cisco.com/t5/controllers/pnp-device-provisioning/m-p/3468748#M1013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Version = 1.1.0.767&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 18:39:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pnp-device-provisioning/m-p/3468748#M1013</guid>
      <dc:creator>jawicks</dc:creator>
      <dc:date>2016-03-16T18:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: PNP device provisioning</title>
      <link>https://community.cisco.com/t5/controllers/pnp-device-provisioning/m-p/3468749#M1014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add "[" and "]" in begin and end of your JSON body&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 18:48:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pnp-device-provisioning/m-p/3468749#M1014</guid>
      <dc:creator>yawming</dc:creator>
      <dc:date>2016-03-16T18:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: PNP device provisioning</title>
      <link>https://community.cisco.com/t5/controllers/pnp-device-provisioning/m-p/3468750#M1015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that's starting to look better, changing the body to the following gives me rc=202 now so looks like the request was accepted now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[{"platformId": "AIR-CAP3702I-E-K9","hostName": "APf44e5f80464","serialNumber": "f4:4e:05:f8:04:64","configId": "19c14528-783-4f57-8193-55982b52a0cf"}]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see the device added in the site corresponding to project-id "a03c6485-b77e-4444-9f09-3a02a118549e" so I will take a peek at that next.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK, as post-script I think I worked out why the device added via REST API was not appearing on the devices-list under the project.&amp;nbsp; Originally I let the access-point boot and and attempt to connect to the APIC-EM PnP-server before I had defined it anywhere and it appeared in the "Unplanned Devices" list as expected.&amp;nbsp; I deleted it from that project-list and powered the unit off but that AP serial-number now seems to be getting refused when adding to the APIC, if I changed the serial-number of the device I am adding to anything else it appears in the provisoined project-list OK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 19:28:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/pnp-device-provisioning/m-p/3468750#M1015</guid>
      <dc:creator>jawicks</dc:creator>
      <dc:date>2016-03-16T19:28:15Z</dc:date>
    </item>
  </channel>
</rss>

