<?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: How do I query global domain objects via API? in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-I-query-global-domain-objects-via-API/m-p/30004#M1812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how do you login to global domain?&lt;/P&gt;&lt;P&gt;please paste your login command.&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jun 2018 14:55:03 GMT</pubDate>
    <dc:creator>Robert_Decker</dc:creator>
    <dc:date>2018-06-11T14:55:03Z</dc:date>
    <item>
      <title>How do I query global domain objects via API?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-I-query-global-domain-objects-via-API/m-p/30003#M1811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't figure out how to query global domain objects via R80.10 API? What I am trying to do is see if a host exists in the global domain or not. I've tried doing something like this, but it's not returning back anything even if it exists in the global domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://" rel="nofollow"&gt;https://&lt;/A&gt;&lt;SPAN&gt;{MDS_IP}/web_api/show-objects&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt; "limit" : 50,&lt;BR /&gt; "offset" : 0,&lt;BR /&gt; "order" : [ {&lt;BR /&gt; "ASC" : "name"&lt;BR /&gt; } ],&lt;BR /&gt; "type" : "host",&lt;BR /&gt; "filter" : "5.5.5.5",&lt;BR /&gt; "ip-only": true,&lt;BR /&gt; "details-level": "full"&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 14:46:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-I-query-global-domain-objects-via-API/m-p/30003#M1811</guid>
      <dc:creator>Burton_Peake</dc:creator>
      <dc:date>2018-06-11T14:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I query global domain objects via API?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-I-query-global-domain-objects-via-API/m-p/30004#M1812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how do you login to global domain?&lt;/P&gt;&lt;P&gt;please paste your login command.&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 14:55:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-I-query-global-domain-objects-via-API/m-p/30004#M1812</guid>
      <dc:creator>Robert_Decker</dc:creator>
      <dc:date>2018-06-11T14:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I query global domain objects via API?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-I-query-global-domain-objects-via-API/m-p/30005#M1813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;URL:&amp;nbsp;&lt;SPAN style="color: #505050; background-color: #ffffff; font-weight: normal; font-size: 12px;"&gt;&lt;A class="jive-link-external-small" href="https://" rel="nofollow"&gt;https://&lt;/A&gt;&lt;SPAN&gt;{MDSIP}/web_api/login&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; background-color: #ffffff; font-weight: normal; font-size: 12px;"&gt;{&lt;BR /&gt; "user" : "{{USERNAME}}",&lt;BR /&gt; "password" : "{{USERPassword}}",&lt;BR /&gt; "read-only": true&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050; background-color: #ffffff; font-weight: normal; font-size: 12px;"&gt;I then use the SID that's returned to me via that call as the&amp;nbsp;&lt;SPAN style="font-weight: normal;"&gt;X-chkp-sid header for the subsequent request.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #505050; font-weight: normal; font-size: 12px;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 14:59:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-I-query-global-domain-objects-via-API/m-p/30005#M1813</guid>
      <dc:creator>Burton_Peake</dc:creator>
      <dc:date>2018-06-11T14:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I query global domain objects via API?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-I-query-global-domain-objects-via-API/m-p/30006#M1814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In MDM environment, when logging into a specific domain, you need to specify the domain name too -&amp;nbsp;&lt;/P&gt;&lt;P&gt;domain: Global&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 15:04:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-I-query-global-domain-objects-via-API/m-p/30006#M1814</guid>
      <dc:creator>Robert_Decker</dc:creator>
      <dc:date>2018-06-11T15:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I query global domain objects via API?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-I-query-global-domain-objects-via-API/m-p/30007#M1815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Robert! That is what I was doing incorrectly. After making this change I am able to successfully query global objects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 15:22:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-I-query-global-domain-objects-via-API/m-p/30007#M1815</guid>
      <dc:creator>Burton_Peake</dc:creator>
      <dc:date>2018-06-11T15:22:29Z</dc:date>
    </item>
  </channel>
</rss>

