<?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: Organization with ID does not support per-device licensing in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/organization-with-id-does-not-support-per-device-licensing/m-p/5442884#M6655</link>
    <description>&lt;P&gt;Hi &lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/35195"&gt;@Chris-CCO&lt;/A&gt;  and &lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/4945"&gt;@jonhar&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;I ran into this same problem retrieving licenses for my clients.&lt;/P&gt;&lt;P&gt;You can get license info for co-term licenses with these URLs depending on your version:&lt;/P&gt;&lt;P&gt;&lt;A href="https://api.meraki.com/api/v0/organizations/{organizationId}/licenseState" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.meraki.com/api/v0/organizations/{organizationId}/licenseState&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://api.meraki.com/api/v1/organizations/{organizationId}/licenses/overview" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.meraki.com/api/v1/organizations/{organizationId}/licenses/overview&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For my script, I get the initial list of orgs, and then for each organization I check org_dict['licensing']['model'] == 'co-term'.  (The var org_dict is my own.)  If it matches, I use the co-term URL, else I use your URL to get the license info.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
    <pubDate>Fri, 25 Feb 2022 08:04:37 GMT</pubDate>
    <dc:creator>tyoung008</dc:creator>
    <dc:date>2022-02-25T08:04:37Z</dc:date>
    <item>
      <title>Organization with ID does not support per-device licensing</title>
      <link>https://community.cisco.com/t5/network-platform-api/organization-with-id-does-not-support-per-device-licensing/m-p/5442882#M6653</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to use the following API&lt;/P&gt;&lt;P data-unlink="true"&gt;https://api.meraki.com/api/v0/organizations/{organizationId}/licenses &lt;/P&gt;&lt;P&gt;Of course I replace the {organizationId} by one of my client&lt;/P&gt;&lt;P&gt;However I receive the following response&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;    "errors": [&lt;/P&gt;&lt;P&gt;        "Organization with ID {organizationId} does not support per-device licensing"&lt;/P&gt;&lt;P&gt;    ]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Please advice&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:31:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/organization-with-id-does-not-support-per-device-licensing/m-p/5442882#M6653</guid>
      <dc:creator>Chris-CCO</dc:creator>
      <dc:date>2020-09-29T13:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Organization with ID does not support per-device licensing</title>
      <link>https://community.cisco.com/t5/network-platform-api/organization-with-id-does-not-support-per-device-licensing/m-p/5442883#M6654</link>
      <description>&lt;P&gt;The licensing endpoints aren't supported with organizations that use co-termination licensing. They are only for per-device licensing organizations.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 13:36:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/organization-with-id-does-not-support-per-device-licensing/m-p/5442883#M6654</guid>
      <dc:creator>jonhar</dc:creator>
      <dc:date>2020-09-30T13:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Organization with ID does not support per-device licensing</title>
      <link>https://community.cisco.com/t5/network-platform-api/organization-with-id-does-not-support-per-device-licensing/m-p/5442884#M6655</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/35195"&gt;@Chris-CCO&lt;/A&gt;  and &lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/4945"&gt;@jonhar&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;I ran into this same problem retrieving licenses for my clients.&lt;/P&gt;&lt;P&gt;You can get license info for co-term licenses with these URLs depending on your version:&lt;/P&gt;&lt;P&gt;&lt;A href="https://api.meraki.com/api/v0/organizations/{organizationId}/licenseState" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.meraki.com/api/v0/organizations/{organizationId}/licenseState&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://api.meraki.com/api/v1/organizations/{organizationId}/licenses/overview" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.meraki.com/api/v1/organizations/{organizationId}/licenses/overview&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For my script, I get the initial list of orgs, and then for each organization I check org_dict['licensing']['model'] == 'co-term'.  (The var org_dict is my own.)  If it matches, I use the co-term URL, else I use your URL to get the license info.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 08:04:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/organization-with-id-does-not-support-per-device-licensing/m-p/5442884#M6655</guid>
      <dc:creator>tyoung008</dc:creator>
      <dc:date>2022-02-25T08:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Organization with ID does not support per-device licensing</title>
      <link>https://community.cisco.com/t5/network-platform-api/organization-with-id-does-not-support-per-device-licensing/m-p/5442885#M6656</link>
      <description>&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;Thank you very much for your sharing !&lt;/P&gt;&lt;P&gt;In fact, in 2020 (date of the initial post) the &lt;A href="https://api.meraki.com/api/v1/organizations/{organizationId}/licenses/overview" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.meraki.com/api/v1/organizations/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;response didn't contain any ['licensing']['model'] attribute.&lt;/P&gt;&lt;P&gt;Now it is possible and your proposal is elegant !&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 09:21:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/organization-with-id-does-not-support-per-device-licensing/m-p/5442885#M6656</guid>
      <dc:creator>gini</dc:creator>
      <dc:date>2022-02-25T09:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Organization with ID does not support per-device licensing</title>
      <link>https://community.cisco.com/t5/network-platform-api/organization-with-id-does-not-support-per-device-licensing/m-p/5442886#M6657</link>
      <description>&lt;P&gt;You're welcome!&lt;/P&gt;&lt;P&gt;If you are interested in my Python script, send your email to me in a direct message.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 23:08:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/organization-with-id-does-not-support-per-device-licensing/m-p/5442886#M6657</guid>
      <dc:creator>tyoung008</dc:creator>
      <dc:date>2022-02-25T23:08:24Z</dc:date>
    </item>
  </channel>
</rss>

