<?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: move devices into groups without deviceID in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/move-devices-into-groups-without-deviceid/m-p/3489367#M1730</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd recommend using the &lt;A href="https://d1nmyq4gcgsfi5.cloudfront.net/media/pi_3_2_docs-v3/api/v3/data/Devices@_docs.html"&gt;GET data/Devices&lt;/A&gt; resource to map between the names you have and IDs.&amp;nbsp; Probably best to just pull the entire data set from Devices, and do the matching of IDs and names offline.&amp;nbsp; You can then use the &lt;A href="https://d1nmyq4gcgsfi5.cloudfront.net/media/pi_3_2_docs-v3/api/v3/op/groups/groupDevices-PUT@_docs.html"&gt;PUT groups/groupDevices&lt;/A&gt; resource to populate the groups.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jan 2018 17:33:29 GMT</pubDate>
    <dc:creator>Spencer Zier</dc:creator>
    <dc:date>2018-01-10T17:33:29Z</dc:date>
    <item>
      <title>move devices into groups without deviceID</title>
      <link>https://community.cisco.com/t5/controllers/move-devices-into-groups-without-deviceid/m-p/3489366#M1729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am relatively new but have been able to use the PI restAPI's for specific use cases. I am trying to move a large number of devices that do not have any discernable order to them into specific groups. I am working off of an existing list that only provides the device name and not the deviceID. Is there any way I can make the move in this scenario without the deviceID using restAPI? A simple step or 2 is definitely manageable but this process has to scale to 1000's of devices so a manual device by device intervention is what I am trying to avoid. I am thinking maybe a bulk export of devices that include the device ID and device name, this way you sort and filter to the devices you need or compare to the other list I have. Like I said, I am not too experienced with this and I'm not sure how creative I can be with it. Any suggestions will of use to me. Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Dec 2017 00:02:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/move-devices-into-groups-without-deviceid/m-p/3489366#M1729</guid>
      <dc:creator>jonvalen</dc:creator>
      <dc:date>2017-12-22T00:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: move devices into groups without deviceID</title>
      <link>https://community.cisco.com/t5/controllers/move-devices-into-groups-without-deviceid/m-p/3489367#M1730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd recommend using the &lt;A href="https://d1nmyq4gcgsfi5.cloudfront.net/media/pi_3_2_docs-v3/api/v3/data/Devices@_docs.html"&gt;GET data/Devices&lt;/A&gt; resource to map between the names you have and IDs.&amp;nbsp; Probably best to just pull the entire data set from Devices, and do the matching of IDs and names offline.&amp;nbsp; You can then use the &lt;A href="https://d1nmyq4gcgsfi5.cloudfront.net/media/pi_3_2_docs-v3/api/v3/op/groups/groupDevices-PUT@_docs.html"&gt;PUT groups/groupDevices&lt;/A&gt; resource to populate the groups.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2018 17:33:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/move-devices-into-groups-without-deviceid/m-p/3489367#M1730</guid>
      <dc:creator>Spencer Zier</dc:creator>
      <dc:date>2018-01-10T17:33:29Z</dc:date>
    </item>
  </channel>
</rss>

