<?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: Query params are ignored in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/query-params-are-ignored/m-p/5416476#M2884</link>
    <description>&lt;P&gt;This is something the code you write should do, there are no parameters to do this from the API side.&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2019 15:34:00 GMT</pubDate>
    <dc:creator>BrechtSchamp</dc:creator>
    <dc:date>2019-03-22T15:34:00Z</dc:date>
    <item>
      <title>Query params are ignored</title>
      <link>https://community.cisco.com/t5/network-platform-api/query-params-are-ignored/m-p/5416473#M2881</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I'm new to scripting and have trouble filtering API results.&lt;/P&gt;&lt;P&gt;To be more precise, i'm using the Postman 'Meraki Dashboard API' and try to filter the results shown after running 'Return the client's network traffic data over time.'. This query currently returns the following values:&lt;/P&gt;&lt;P&gt;"ts":,&lt;BR /&gt;"application":&lt;BR /&gt;"destination":&lt;BR /&gt;"protocol":&lt;BR /&gt;"port":&lt;BR /&gt;"recv":&lt;BR /&gt;"sent":&lt;BR /&gt;"numFlows":&lt;BR /&gt;"activeSeconds":&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;i've tried adding different keys and values under 'Query Params' to filter the results. These keys and params seem to be ignored however. What am i missing? Any resources for filtering postman api results for beginners would be much appreciated.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-03-22 11_17_05-Postman.png" style="width: 660px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/262067i126F306C15029A40/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 10:18:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/query-params-are-ignored/m-p/5416473#M2881</guid>
      <dc:creator>Denson</dc:creator>
      <dc:date>2019-03-22T10:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Query params are ignored</title>
      <link>https://community.cisco.com/t5/network-platform-api/query-params-are-ignored/m-p/5416474#M2882</link>
      <description>&lt;P&gt;I'm not entirely sure what you're trying to do, but there are no filtering functionalities in that call (apart from the MAC-address you specify).&lt;/P&gt;&lt;P&gt;The only thing you can do is limited the number of results returned using the perPage parameter. I tested it out and it seems to work fine here (with perPage set to 5). The startingAfter and endingBefore shouldn't be specified manually but rather use the values as returned by a call. Here's an example, I clicked the headers tab so I could show you the returned "next", "previous" and "last" links:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="client_traffic_history.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/262068iE6841CCDD679C7DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 13:33:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/query-params-are-ignored/m-p/5416474#M2882</guid>
      <dc:creator>BrechtSchamp</dc:creator>
      <dc:date>2019-03-22T13:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Query params are ignored</title>
      <link>https://community.cisco.com/t5/network-platform-api/query-params-are-ignored/m-p/5416475#M2883</link>
      <description>i want to filter out specific traffic between client and service, in this example iTunes.&lt;BR /&gt;&lt;BR /&gt;My guess would be adding the parameter key 'application' and value 'iTunes' would help me do so. Adding these parameters to an API call don't seem to have any effect.&lt;BR /&gt;&lt;BR /&gt;another way i would like to filter is leaving out columns.&lt;BR /&gt;&lt;BR /&gt;Lets say the API call returns the following columns:&lt;BR /&gt;"ts":,&lt;BR /&gt;"application":&lt;BR /&gt;"destination":&lt;BR /&gt;"protocol":&lt;BR /&gt;"port":&lt;BR /&gt;"recv":&lt;BR /&gt;"sent":&lt;BR /&gt;"numFlows":&lt;BR /&gt;"activeSeconds":&lt;BR /&gt;},&lt;BR /&gt;&lt;BR /&gt;I would like to only return the columns ''application" and "protocol". Can this be achieved within a tool like postman?&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Mar 2019 14:29:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/query-params-are-ignored/m-p/5416475#M2883</guid>
      <dc:creator>Denson</dc:creator>
      <dc:date>2019-03-22T14:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Query params are ignored</title>
      <link>https://community.cisco.com/t5/network-platform-api/query-params-are-ignored/m-p/5416476#M2884</link>
      <description>&lt;P&gt;This is something the code you write should do, there are no parameters to do this from the API side.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 15:34:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/query-params-are-ignored/m-p/5416476#M2884</guid>
      <dc:creator>BrechtSchamp</dc:creator>
      <dc:date>2019-03-22T15:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Query params are ignored</title>
      <link>https://community.cisco.com/t5/network-platform-api/query-params-are-ignored/m-p/5416477#M2885</link>
      <description>That's where Postman puts the extra pages! I've been looking for that.</description>
      <pubDate>Sat, 23 Mar 2019 17:35:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/query-params-are-ignored/m-p/5416477#M2885</guid>
      <dc:creator>cfn</dc:creator>
      <dc:date>2019-03-23T17:35:05Z</dc:date>
    </item>
  </channel>
</rss>

