<?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: Api query problem in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-query-problem/m-p/48997#M1103</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="jive-link-external-small" style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&lt;SPAN class="jive-link-external-small" style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="jive-link-external-small" style="font-style: inherit; font-family: inherit;"&gt;//firewall/api/?&amp;amp;type=op&amp;amp;cmd=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;lt;show&amp;gt;&amp;lt;query&amp;gt;&amp;lt;result&amp;gt;&amp;lt;id&amp;gt;&lt;/SPAN&gt;&lt;EM style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;JOB-ID&lt;/EM&gt;&lt;SPAN style="color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;&amp;lt;/id&amp;gt;&amp;lt;/result&amp;gt;&amp;lt;/query&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;key=&lt;/SPAN&gt;&lt;EM style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;API_KEY&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;This command resulted in an error.&lt;/P&gt;&lt;P&gt;&amp;lt;response status="error" code="17"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;msg&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;line&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;![CDATA[ show -&amp;gt; query -&amp;gt; result is unexpected ]]&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/line&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/msg&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/response&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jive-link-external-small" style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&lt;SPAN class="jive-link-external-small" style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="jive-link-external-small" style="font-style: inherit; font-family: inherit;"&gt;//firewall/api/?&amp;amp;type=op&amp;amp;cmd=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;lt;show&amp;gt;&amp;lt;query&amp;gt;&amp;lt;id&amp;gt;&lt;/SPAN&gt;&lt;EM style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;JOB-ID&lt;/EM&gt;&lt;SPAN style="color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;&amp;lt;/id&amp;gt;&amp;lt;/query&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;key=&lt;/SPAN&gt;&lt;EM style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;API_KEY&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;This command worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//firewall/api?/type=log&amp;amp;action=get&amp;amp;job-id=JOB&amp;amp;key=API_KEY&lt;/P&gt;&lt;P&gt;This command worked, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tested in 5.0.3.&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Apr 2013 05:46:57 GMT</pubDate>
    <dc:creator>ymiyashita</dc:creator>
    <dc:date>2013-04-04T05:46:57Z</dc:date>
    <item>
      <title>Api query problem</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-query-problem/m-p/48995#M1101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I an doing a traffic query through the API like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pa/api?/type=log&amp;amp;log-type=traffic&amp;amp;query=(add.src"&gt;https://pa/api?/type=log&amp;amp;log-type=traffic&amp;amp;query=(add.src&lt;/A&gt; in 10.1.1.1)&amp;amp;key=API_KEY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the response with a job id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i try to get the content of the job ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://pa/api?/type=log&amp;amp;action=get&amp;amp;job-id=JOB&amp;amp;key=API_KEY"&gt;https://pa/api?/type=log&amp;amp;action=get&amp;amp;job-id=JOB&amp;amp;key=API_KEY&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the following error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;response status="error" code="17"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;msg&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;line&amp;gt;show-&amp;gt; query -&amp;gt; id is unexpected &amp;lt;/line&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/msg&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/response&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 21:51:23 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-query-problem/m-p/48995#M1101</guid>
      <dc:creator>mvelazco</dc:creator>
      <dc:date>2013-03-26T21:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Api query problem</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-query-problem/m-p/48996#M1102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to duplicate the error you were seeing and was able to get the query results using the following command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jive-link-external-small"&gt;&lt;SPAN class="jive-link-external-small"&gt;&lt;SPAN class="jive-link-external-small"&gt;//firewall/api/?&amp;amp;type=op&amp;amp;cmd=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;show&amp;gt;&amp;lt;query&amp;gt;&amp;lt;result&amp;gt;&amp;lt;id&amp;gt;&lt;/SPAN&gt;&lt;EM&gt;JOB-ID&lt;/EM&gt;&amp;lt;/id&amp;gt;&amp;lt;/result&amp;gt;&amp;lt;/query&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;key=&lt;EM&gt;API_KEY&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 04:17:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-query-problem/m-p/48996#M1102</guid>
      <dc:creator>jbaker80</dc:creator>
      <dc:date>2013-03-28T04:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Api query problem</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-query-problem/m-p/48997#M1103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="jive-link-external-small" style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&lt;SPAN class="jive-link-external-small" style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="jive-link-external-small" style="font-style: inherit; font-family: inherit;"&gt;//firewall/api/?&amp;amp;type=op&amp;amp;cmd=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;lt;show&amp;gt;&amp;lt;query&amp;gt;&amp;lt;result&amp;gt;&amp;lt;id&amp;gt;&lt;/SPAN&gt;&lt;EM style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;JOB-ID&lt;/EM&gt;&lt;SPAN style="color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;&amp;lt;/id&amp;gt;&amp;lt;/result&amp;gt;&amp;lt;/query&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;key=&lt;/SPAN&gt;&lt;EM style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;API_KEY&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;This command resulted in an error.&lt;/P&gt;&lt;P&gt;&amp;lt;response status="error" code="17"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;msg&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;line&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;![CDATA[ show -&amp;gt; query -&amp;gt; result is unexpected ]]&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/line&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/msg&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/response&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jive-link-external-small" style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&lt;SPAN class="jive-link-external-small" style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="jive-link-external-small" style="font-style: inherit; font-family: inherit;"&gt;//firewall/api/?&amp;amp;type=op&amp;amp;cmd=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&amp;lt;show&amp;gt;&amp;lt;query&amp;gt;&amp;lt;id&amp;gt;&lt;/SPAN&gt;&lt;EM style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;JOB-ID&lt;/EM&gt;&lt;SPAN style="color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;&amp;lt;/id&amp;gt;&amp;lt;/query&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;key=&lt;/SPAN&gt;&lt;EM style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;API_KEY&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;This command worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//firewall/api?/type=log&amp;amp;action=get&amp;amp;job-id=JOB&amp;amp;key=API_KEY&lt;/P&gt;&lt;P&gt;This command worked, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tested in 5.0.3.&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 05:46:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-query-problem/m-p/48997#M1103</guid>
      <dc:creator>ymiyashita</dc:creator>
      <dc:date>2013-04-04T05:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Api query problem</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-query-problem/m-p/48998#M1104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your usage is correct. Can you confirm the job id value you provided is the same as the one returned by the previous query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 03:35:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-query-problem/m-p/48998#M1104</guid>
      <dc:creator>SRA</dc:creator>
      <dc:date>2013-04-05T03:35:03Z</dc:date>
    </item>
  </channel>
</rss>

