<?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: my first API in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425335#M4206</link>
    <description>&lt;P&gt;is that something you have to do in python?&lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2022 09:28:49 GMT</pubDate>
    <dc:creator>Adrian41</dc:creator>
    <dc:date>2022-12-07T09:28:49Z</dc:date>
    <item>
      <title>my first API</title>
      <link>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425322#M4193</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to learn APIs for the first time whilst also trying to get a specific job done and need a little guidance.&lt;BR /&gt;&lt;BR /&gt;We have some WiFi monitoring and reporting software that can see all the BSSID's flying around, but at the moment it cant give us any clear info about them. In order to do that I need to feed it an xml that will tell it which BSSIDs belong to which AP's (and the associated SSID and the band).&lt;BR /&gt;&lt;BR /&gt;We have hundreds of AP's so going through the meraki portal and copying this data manually is painful - I'm hoping I can pull this data with a GET request?&lt;BR /&gt;&lt;BR /&gt;So far I have setup postman with a new environment and set a API key and baseURL variables.&lt;BR /&gt;&lt;BR /&gt;At this point I wanted to turn to some pre-made examples from here but its v0 not v1&lt;BR /&gt;&lt;A href="https://documenter.getpostman.com/view/7928889/SVmsVg6K#9019f8d0-a1db-4eb1-b45d-c348dc800e32" target="_blank" rel="nofollow noopener noreferrer"&gt;https://documenter.getpostman.com/view/7928889/SVmsVg6K#9019f8d0-a1db-4eb1-b45d-c348dc800e32&lt;/A&gt;&lt;/P&gt;&lt;P&gt;will these examples be unusable in v1? If so is there a v1 set of basic API's like this somewhere? In any case I coudlnt find something that provided the data fields I'm after &lt;SPAN class="lia-unicode-emoji" title=":disappointed_face:"&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also - we have lots of different networks and Id need this info for each network - does that complicate things? IE can you do a API call on all networks or is it per network etc?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 13:26:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425322#M4193</guid>
      <dc:creator>Adrian41</dc:creator>
      <dc:date>2022-12-06T13:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: my first API</title>
      <link>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425323#M4194</link>
      <description>&lt;P&gt;ooh, actually - is this what I need?&lt;BR /&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/#!get-device-wireless-status" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/#!get-device-wireless-status&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 13:29:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425323#M4194</guid>
      <dc:creator>Adrian41</dc:creator>
      <dc:date>2022-12-06T13:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: my first API</title>
      <link>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425324#M4195</link>
      <description>&lt;P&gt;ok cool, just realised that this page will actually run the API for you as well! &lt;SPAN class="lia-unicode-emoji" title=":face_with_tongue:"&gt;&lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;It runs ok but I have to specify the serial number of a specific AP. Is there a way to to run it against all AP's in all networks?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 13:54:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425324#M4195</guid>
      <dc:creator>Adrian41</dc:creator>
      <dc:date>2022-12-06T13:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: my first API</title>
      <link>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425325#M4196</link>
      <description>&lt;P&gt;found this - &lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN&gt;/organizations/&lt;STRONG&gt;{organizationId}&lt;/STRONG&gt;/deviceStatuses&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;now just to figure out where to get teh org id from? I found old posts about a v0 api call but the actual post with an explanation isnt up anymore &lt;SPAN class="lia-unicode-emoji" title=":face_blowing_a_kiss:"&gt;&lt;span class="lia-unicode-emoji" title=":face_blowing_a_kiss:"&gt;😘&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 14:14:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425325#M4196</guid>
      <dc:creator>Adrian41</dc:creator>
      <dc:date>2022-12-06T14:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: my first API</title>
      <link>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425326#M4197</link>
      <description>&lt;P&gt;found it!&lt;BR /&gt;&lt;A href="https://developer.cisco.com/meraki/api-latest/#!get-organizations" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-latest/#!get-organizations&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 14:18:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425326#M4197</guid>
      <dc:creator>Adrian41</dc:creator>
      <dc:date>2022-12-06T14:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: my first API</title>
      <link>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425327#M4198</link>
      <description>&lt;P&gt;aah but it doesn't show what i need &lt;SPAN class="lia-unicode-emoji" title=":disappointed_face:"&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt; &lt;BR /&gt;&lt;BR /&gt;need a "connection stats" call for organisation - which I cant find atm&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 14:28:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425327#M4198</guid>
      <dc:creator>Adrian41</dc:creator>
      <dc:date>2022-12-06T14:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: my first API</title>
      <link>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425328#M4199</link>
      <description>&lt;P&gt;I use &lt;A href="https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-connection-stats" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-connection-stats&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Assuming you want details at SSID level, You need to call it on each SSID on each network (that has at least one AP) in the organization.&lt;/P&gt;&lt;P&gt;To get the list of networks... &lt;A href="https://developer.cisco.com/meraki/api-v1/#!get-organization-networks" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/#!get-organization-networks&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To see if a network has any APs, check the devices... &lt;A href="https://developer.cisco.com/meraki/api-v1/#!get-network-devices" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/#!get-network-devices&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To find the SSIDs in a network... &lt;A href="https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-ssids" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-ssids&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 15:17:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425328#M4199</guid>
      <dc:creator>sungod</dc:creator>
      <dc:date>2022-12-06T15:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: my first API</title>
      <link>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425329#M4200</link>
      <description>&lt;P&gt;I have written plenty of custom applications using the API and what I found to be very useful is to get all your networks and devices (switches, access points) into a back end SQL database. As these do not change very often no point in running APi calls to get this info to pass to another API&lt;/P&gt;&lt;P&gt;I then grab the device info and network ID from database and then run the needed API to do what ever I need to do&lt;/P&gt;&lt;P&gt;Again for monitoring and reporting, I write to a back end SQL database and use PowerBI to create fancy graphs&lt;/P&gt;&lt;P&gt;Example of what I have written&lt;/P&gt;&lt;P&gt;AP channel utilisation. An alert sent out when utilisation is high. A PowerBI report to show AP utilisation over time&lt;/P&gt;&lt;P&gt;AP client connections to diffrent SSID's, or Access Point, again written to back end SQL database and PowerBI reports to see usage over period of time can be grouped into network ID, SSID . An alert sent out if client counts is high so can be proactive as end users complain about performance.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 15:26:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425329#M4200</guid>
      <dc:creator>Abdulaziz Loonat</dc:creator>
      <dc:date>2022-12-06T15:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: my first API</title>
      <link>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425330#M4201</link>
      <description>&lt;P&gt;I think an SQL database is a bit much for me at the moment - Id have to install and run it from my laptop (getting it installed on a full blown SQL server might be difficult, esp as we are in teh process of getting rid of as many servers as possible).&lt;BR /&gt;&lt;BR /&gt;Passing info from one API call to another seems ok - is it difficult to do?&lt;BR /&gt;&lt;BR /&gt;I have about 47 networks each with anything from 5 to 100 AP devices : / - I have managed to do an API call that returns the serial numbers of every AP device in all networks - so presumably I just need to pass all of these serial numbers to a &lt;/P&gt;&lt;P&gt;/devices/{serial}/wireless/status &lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 16:00:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425330#M4201</guid>
      <dc:creator>Adrian41</dc:creator>
      <dc:date>2022-12-06T16:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: my first API</title>
      <link>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425331#M4202</link>
      <description>&lt;P&gt;yes that is correct, what you could use instead of SQL is a CSV text file to hold the devices you have and with the API call, read the CSV file and pass the device details to the API&lt;/P&gt;&lt;P&gt;so for example if you want to run API on a switch, only pass the device type that is a switch (see example below of a CSV file format)&lt;/P&gt;&lt;P&gt;&amp;lt;device name&amp;gt;,&amp;lt;device serial number&amp;gt;,&amp;lt;device type&amp;gt;,&amp;lt;device network ID&amp;gt;,&amp;lt;device  IP Address&amp;gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 16:48:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425331#M4202</guid>
      <dc:creator>Abdulaziz Loonat</dc:creator>
      <dc:date>2022-12-06T16:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: my first API</title>
      <link>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425332#M4203</link>
      <description>&lt;P&gt;so...I have a json (that I could convert to csv) with the following (iv removed some details for posting here);&lt;BR /&gt;&lt;BR /&gt;{&lt;BR /&gt;"mac": "mac ",&lt;BR /&gt;"serial": "serial number",&lt;BR /&gt;"name": "GD - AP - 2",&lt;BR /&gt;"model": "MR33",&lt;BR /&gt;"networkId": "networkid",&lt;BR /&gt;"orderNumber": "ordernumber",&lt;BR /&gt;"claimedAt": "2018-07-30T10:30:08.789690Z",&lt;BR /&gt;"tags": [ "recently-added" ],&lt;BR /&gt;"productType": "wireless"&lt;BR /&gt;},&lt;BR /&gt;&lt;BR /&gt;the file contains hundreds of these - I would need to pull out just the serial numbers into (I guess) a query parameter array - not sure how thats done&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 16:59:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425332#M4203</guid>
      <dc:creator>Adrian41</dc:creator>
      <dc:date>2022-12-06T16:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: my first API</title>
      <link>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425333#M4204</link>
      <description>&lt;P&gt;yes convert the contents of the json out into a csv file&lt;/P&gt;&lt;P&gt;once you have the data in CSV file, you loop thru the file and pass the serial number as a parameter tto the API call.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 17:03:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425333#M4204</guid>
      <dc:creator>Abdulaziz Loonat</dc:creator>
      <dc:date>2022-12-06T17:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: my first API</title>
      <link>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425334#M4205</link>
      <description>&lt;P&gt;I recommend install Python, version 3.11, then add the Meraki Python library (which handles a lot of low-level stuff for you).&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.python.org/downloads/release/python-3110/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.python.org/downloads/release/python-3110/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/#!python" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/#!python&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It makes working with the API simpler once you get the hang of things.&lt;/P&gt;&lt;P&gt;There are many online sources on learning/using Python. If you get stuck, search with google for what you want to do, i.e. "python array", or "python dictionary" - calls typically return dictionaries, which may have arrays of dictionaries inside them.&lt;/P&gt;&lt;P&gt;Loads of examples here...&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/codeexchange/platforms/meraki#search=meraki&amp;amp;lang=Python" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/codeexchange/platforms/meraki#search=meraki&amp;amp;lang=Python&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 20:41:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425334#M4205</guid>
      <dc:creator>sungod</dc:creator>
      <dc:date>2022-12-06T20:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: my first API</title>
      <link>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425335#M4206</link>
      <description>&lt;P&gt;is that something you have to do in python?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 09:28:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425335#M4206</guid>
      <dc:creator>Adrian41</dc:creator>
      <dc:date>2022-12-07T09:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: my first API</title>
      <link>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425336#M4207</link>
      <description>&lt;P&gt;you can write code in Python or any other language&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 09:36:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425336#M4207</guid>
      <dc:creator>Abdulaziz Loonat</dc:creator>
      <dc:date>2022-12-07T09:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: my first API</title>
      <link>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425337#M4208</link>
      <description>&lt;P&gt;I think I might be chasing down the wrong route here with the CSV. I think I should clarify my end-goal but not sure if it would be better as  new post or keep going here do you think?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 11:29:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425337#M4208</guid>
      <dc:creator>Adrian41</dc:creator>
      <dc:date>2022-12-07T11:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: my first API</title>
      <link>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425338#M4209</link>
      <description>&lt;P&gt;what is your end goal ?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 11:31:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425338#M4209</guid>
      <dc:creator>Abdulaziz Loonat</dc:creator>
      <dc:date>2022-12-07T11:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: my first API</title>
      <link>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425339#M4210</link>
      <description>&lt;P&gt;takes a breath...&lt;BR /&gt;&lt;BR /&gt;ok, so I need a CSV file that contains data for each and every access point in our organisation.&lt;BR /&gt;For each AP I need a list of that &lt;STRONG&gt;AP's name&lt;/STRONG&gt; and every &lt;EM&gt;enabled&lt;/EM&gt; &lt;STRONG&gt;BSSID&lt;/STRONG&gt; with the BSSIDs &lt;STRONG&gt;band&lt;/STRONG&gt; and &lt;STRONG&gt;SSID&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I can see I can get the BSSID/band/SSID info from /devices/serialnumber/wireless/status&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;{&lt;BR /&gt;"basicServiceSets": [&lt;BR /&gt;{&lt;BR /&gt;"ssidName": "Unconfigured SSID 1",&lt;BR /&gt;"ssidNumber": 0,&lt;BR /&gt;"enabled": false,&lt;BR /&gt;"band": "2.4 GHz",&lt;BR /&gt;"bssid": "00:00:00:00:00:00",&lt;BR /&gt;"channel": 6,&lt;BR /&gt;"channelWidth": "20 MHz",&lt;BR /&gt;"power": "16 dBm",&lt;BR /&gt;"visible": true,&lt;BR /&gt;"broadcasting": false&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"ssidName": "Unconfigured SSID 1",&lt;BR /&gt;"ssidNumber": 0,&lt;BR /&gt;"enabled": false,&lt;BR /&gt;"band": "5 GHz",&lt;BR /&gt;"bssid": "00:00:00:00:00:00",&lt;BR /&gt;"channel": 44,&lt;BR /&gt;"channelWidth": "80 MHz",&lt;BR /&gt;"power": "19 dBm",&lt;BR /&gt;"visible": true,&lt;BR /&gt;"broadcasting": false&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;however you have to feed the API the AP serial number. I assume if I tried to feed it all the serial numbers in one API call, the return would just give me all the "basicServiceSets" without letting me know which belongs to which AP.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I can get the AP serial numbers and names from&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/organizations/orgID/devices/statuses?productTypes[]=wireless&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;{&lt;BR /&gt;"name": "GD - AP - 2",&lt;BR /&gt;"serial": "0000-0000-0000",&lt;BR /&gt;"mac": "00:00:00:00:00:00",&lt;BR /&gt;"publicIp": "0.0.0.0",&lt;BR /&gt;"networkId": "N_0000000000000000",&lt;BR /&gt;"status": "online",&lt;BR /&gt;"lastReportedAt": "2022-12-07T11:21:44.044000Z",&lt;BR /&gt;"productType": "wireless",&lt;BR /&gt;"model": "MR33",&lt;BR /&gt;"tags": [ "recently-added" ],&lt;BR /&gt;"lanIp": "0.0.0.0",&lt;BR /&gt;"gateway": "0.0.0.0",&lt;BR /&gt;"ipType": "dhcp",&lt;BR /&gt;"primaryDns": "0.0.0.0",&lt;BR /&gt;"secondaryDns": "0.0.0.0"&lt;BR /&gt;},&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am struggling to imagine the necessary workflow. The serial number and name come from one API and all the other info I need come from another API, but the field that links the two API is the serial number which I don't actually need but its the only thing that ties the AP name to the other bits of info : /&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 11:46:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425339#M4210</guid>
      <dc:creator>Adrian41</dc:creator>
      <dc:date>2022-12-07T11:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: my first API</title>
      <link>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425340#M4211</link>
      <description>&lt;P&gt;The workflow would be as follows &lt;/P&gt;&lt;P&gt;The first API calls would be to get all the AP's serial number and save these details to a text file, so example of your text file could be&lt;/P&gt;&lt;P&gt;xxxxxx&lt;/P&gt;&lt;P&gt;yyyyyy&lt;/P&gt;&lt;P&gt;zzzzzz&lt;/P&gt;&lt;P&gt;aaaaa&lt;/P&gt;&lt;P&gt;bbbbb&lt;/P&gt;&lt;P&gt;cccccc&lt;/P&gt;&lt;P&gt;So call &lt;SPAN&gt;/organizations/orgID/devices/statuses?productTypes[]=wireless&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;once you have got this the next API call would be passing the serial number of the AP to the API call&lt;/P&gt;&lt;P&gt;You would read the text file one line at a time and once you have the data in json format, process this to extract the necessary details, write it to a text file and move onto the next serial number in the text file .&lt;/P&gt;&lt;P&gt;You are basically looping thru the text file, reading the serial number calling the API to get the data you need&lt;/P&gt;&lt;P&gt;Hope this makes sense&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 11:54:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425340#M4211</guid>
      <dc:creator>Abdulaziz Loonat</dc:creator>
      <dc:date>2022-12-07T11:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: my first API</title>
      <link>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425341#M4212</link>
      <description>&lt;P&gt;thanks,&lt;BR /&gt;&lt;BR /&gt;so, would I be doing a single API call per serial number?&lt;BR /&gt;Since the data returned from &lt;SPAN&gt;/devices/serialnumber/wireless/status doesn't actually include the serial number or AP name, how would I link the API return data to the serial number that was used in the call?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 13:13:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/my-first-api/m-p/5425341#M4212</guid>
      <dc:creator>Adrian41</dc:creator>
      <dc:date>2022-12-07T13:13:20Z</dc:date>
    </item>
  </channel>
</rss>

