<?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: Building NAT via API - Parameter error for position? in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Building-NAT-via-API-Parameter-error-for-position/m-p/267510#M60533</link>
    <description>&lt;P&gt;I get what you're saying Bob. &lt;STRIKE&gt;So let's say I want to just paste this right into the Command Line from my SMS, how do I represent that key:value pair? I just tried 'add nat-section package standard position above:BuildAbove' and it gave the same message that my only two choices are top and bottom.&lt;/STRIKE&gt; I really appreciate that.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jan 2026 17:40:16 GMT</pubDate>
    <dc:creator>ndiegel</dc:creator>
    <dc:date>2026-01-15T17:40:16Z</dc:date>
    <item>
      <title>Building NAT via API - Parameter error for position?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Building-NAT-via-API-Parameter-error-for-position/m-p/267505#M60530</link>
      <description>&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;Trying to build NAT policy via API, but receiving parameter errors. For position, options in reference docs are top, bottom, above, below. Trying to use above, but receiving parameter error as follows:&lt;BR /&gt;&lt;BR /&gt;message: "Invalid parameter for [position]. The invalid value [above] should be replaced by one of the following values: [top, bottom]"&lt;/P&gt;&lt;P&gt;What am I missing? Is the doc wrong? Am I wrong? Let's say I have a section called 'BuildAbove' and I want to pop a new section above that, I was trying 'add nat-section package standard position above BuildAbove name SectionA'.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;R81.20 JHF 105 using mgmt api ref v1.9.1&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 16:59:48 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Building-NAT-via-API-Parameter-error-for-position/m-p/267505#M60530</guid>
      <dc:creator>ndiegel</dc:creator>
      <dc:date>2026-01-15T16:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Building NAT via API - Parameter error for position?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Building-NAT-via-API-Parameter-error-for-position/m-p/267506#M60531</link>
      <description>&lt;P&gt;Are you able to send an example of what you tried?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 17:12:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Building-NAT-via-API-Parameter-error-for-position/m-p/267506#M60531</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2026-01-15T17:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Building NAT via API - Parameter error for position?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Building-NAT-via-API-Parameter-error-for-position/m-p/267507#M60532</link>
      <description>&lt;P&gt;The 'position' key takes a few possible types of value:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;An integer, representing the number you want the new rule to have.&lt;/LI&gt;
&lt;LI&gt;A string which can have the values "top" or "bottom". Any other value here is invalid.&lt;/LI&gt;
&lt;LI&gt;A nested object with a key:value pair in it:
&lt;OL&gt;
&lt;LI&gt;Key 'top', value of the name or UUID of the section you want the rule to be in the top of&lt;/LI&gt;
&lt;LI&gt;Key 'above', value of the name or UUID of the rule or section header you want the rule inserted above&lt;/LI&gt;
&lt;LI&gt;Key 'below', value of the name or UUID of the rule or section header you want the rule inserted below&lt;/LI&gt;
&lt;LI&gt;Key 'bottom', value of the name or UUID of the section you want the rule to be in the bottom of&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;So to insert a rule above another rule, your position key:value will look like this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;### mgmt_cli command form:
mgmt_cli ... position.above 00112233-4455-6677-8899-aabbccddeeff

### JSON form for remote calls:
{
...,
"position": {"above": "00112233-4455-6677-8899-aabbccddeeff"},
...
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2026 17:50:40 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Building-NAT-via-API-Parameter-error-for-position/m-p/267507#M60532</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2026-04-03T17:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Building NAT via API - Parameter error for position?</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Building-NAT-via-API-Parameter-error-for-position/m-p/267510#M60533</link>
      <description>&lt;P&gt;I get what you're saying Bob. &lt;STRIKE&gt;So let's say I want to just paste this right into the Command Line from my SMS, how do I represent that key:value pair? I just tried 'add nat-section package standard position above:BuildAbove' and it gave the same message that my only two choices are top and bottom.&lt;/STRIKE&gt; I really appreciate that.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 17:40:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Building-NAT-via-API-Parameter-error-for-position/m-p/267510#M60533</guid>
      <dc:creator>ndiegel</dc:creator>
      <dc:date>2026-01-15T17:40:16Z</dc:date>
    </item>
  </channel>
</rss>

