<?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: Question: from Prime API, can one query a single client using MAC address? in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/question-from-prime-api-can-one-query-a-single-client-using-mac/m-p/3570432#M1743</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;appreciate your help. thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2018 01:21:32 GMT</pubDate>
    <dc:creator>gong</dc:creator>
    <dc:date>2018-03-21T01:21:32Z</dc:date>
    <item>
      <title>Question: from Prime API, can one query a single client using MAC address?</title>
      <link>https://community.cisco.com/t5/controllers/question-from-prime-api-can-one-query-a-single-client-using-mac/m-p/3570430#M1741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Does anyone know if it is possible to query a single client using its MAC address? From the documentation I didn't find it, but just in case I missed anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp; A follow up question in the case the answer is "no", and my understanding is that to query a single client, I need to use the "entity ID" as the key, for example: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana; font-size: 12px;"&gt;&lt;A class="jive-link-external-small" href="https://localhost/webacs/api/v3/data/ClientDetails/15.json" rel="nofollow" target="_blank"&gt;https://localhost/webacs/api/v3/data/ClientDetails/15.json&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; What is the lifetime of that ID (15) ? Can I rely on it to be referring to the same client on the same Prime Infra Instance?&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks in advance for any answers!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gc&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Verdana; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 18:17:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/question-from-prime-api-can-one-query-a-single-client-using-mac/m-p/3570430#M1741</guid>
      <dc:creator>gong</dc:creator>
      <dc:date>2018-03-14T18:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Question: from Prime API, can one query a single client using MAC address?</title>
      <link>https://community.cisco.com/t5/controllers/question-from-prime-api-can-one-query-a-single-client-using-mac/m-p/3570431#M1742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GC, the answer is yes, please see &lt;A _jive_internal="true" href="https://community.cisco.com/thread/59065"&gt;this related question&lt;/A&gt;.&amp;nbsp; The lifetime of the ID does vary from resource to resource.&amp;nbsp; For Client Details, as long as Prime Infrastructure believes it's the same client, and as long as the client is not pruned (you can configure Client Data Retention under Administration &amp;gt; Settings &amp;gt; System Settings &amp;gt; Client and User &amp;gt; Client and other Data Retention settings on the same page under General &amp;gt; Data Retention), the ID will map back to the same client.&amp;nbsp; So if the client is associated today, disassociates, and re-associates tomorrow, they should have the same ID.&amp;nbsp; If the client is pruned from Prime Infrastructure (for example, for being disassociated for too long) then it will have a new ID.&amp;nbsp; We don't reuse IDs.&amp;nbsp; In sum, an ID should always refer back to one, unique client; but a unique client, over time, may have more than one ID (but never more than one at any given time).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that answers your questions.&amp;nbsp; Please reach out if you need any more help &lt;IMG src="https://community.cisco.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 22:21:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/question-from-prime-api-can-one-query-a-single-client-using-mac/m-p/3570431#M1742</guid>
      <dc:creator>Spencer Zier</dc:creator>
      <dc:date>2018-03-20T22:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Question: from Prime API, can one query a single client using MAC address?</title>
      <link>https://community.cisco.com/t5/controllers/question-from-prime-api-can-one-query-a-single-client-using-mac/m-p/3570432#M1743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;appreciate your help. thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 01:21:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/question-from-prime-api-can-one-query-a-single-client-using-mac/m-p/3570432#M1743</guid>
      <dc:creator>gong</dc:creator>
      <dc:date>2018-03-21T01:21:32Z</dc:date>
    </item>
  </channel>
</rss>

