<?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: REST CLI Passthrough - Service Processor in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-CLI-Passthrough-Service-Processor/m-p/438557#M371</link>
    <description>&lt;P&gt;Thanks very much Robert.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was following this &lt;A href="https://netapp.io/2020/11/09/private-cli-passthrough-ontap-rest-api/" target="_blank" rel="noopener"&gt;article&lt;/A&gt;. It gives an example as this:&amp;nbsp;&lt;SPAN&gt;/api/private/cli/system/fru-check/fields=node,fru_name,fru_status&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;</description>
    <pubDate>Thu, 22 Sep 2022 16:02:33 GMT</pubDate>
    <dc:creator>TAO1</dc:creator>
    <dc:date>2022-09-22T16:02:33Z</dc:date>
    <item>
      <title>REST CLI Passthrough - Service Processor</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-CLI-Passthrough-Service-Processor/m-p/438554#M369</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's wrong with this please?&lt;/P&gt;&lt;P&gt;# Set URI variable for retrieving properties&lt;BR /&gt;[String]$Uri = "https://$ClusterIP/api/private/cli/system/service-processor/fields=node,type,fw_version,status,address"&lt;BR /&gt;Try{&lt;BR /&gt;# Trigger REST API call and store in a variable&lt;BR /&gt;$UriResponse = Invoke-RestMethod -Method GET -Uri $Uri -Headers $Headers -ErrorAction Stop&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TAO1_1-1663861563243.png" style="width: 400px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/24441iB9EA112853AA1972/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TAO1_1-1663861563243.png" alt="TAO1_1-1663861563243.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 15:47:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-CLI-Passthrough-Service-Processor/m-p/438554#M369</guid>
      <dc:creator>TAO1</dc:creator>
      <dc:date>2022-09-22T15:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: REST CLI Passthrough - Service Processor</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-CLI-Passthrough-Service-Processor/m-p/438555#M370</link>
      <description>&lt;P&gt;If the post has your exact request, then I think the issue is you need to change "/fields=" to "?fields=" in your URI. So it would look like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# Set URI variable for retrieving properties
[String]$Uri = "https://$ClusterIP/api/private/cli/system/service-processor?fields=node,type,fw_version,status,address"
Try{
# Trigger REST API call and store in a variable
$UriResponse = Invoke-RestMethod -Method GET -Uri $Uri -Headers $Headers -ErrorAction Stop&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 22 Sep 2022 15:51:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-CLI-Passthrough-Service-Processor/m-p/438555#M370</guid>
      <dc:creator>RobertBlackhart</dc:creator>
      <dc:date>2022-09-22T15:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: REST CLI Passthrough - Service Processor</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-CLI-Passthrough-Service-Processor/m-p/438557#M371</link>
      <description>&lt;P&gt;Thanks very much Robert.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was following this &lt;A href="https://netapp.io/2020/11/09/private-cli-passthrough-ontap-rest-api/" target="_blank" rel="noopener"&gt;article&lt;/A&gt;. It gives an example as this:&amp;nbsp;&lt;SPAN&gt;/api/private/cli/system/fru-check/fields=node,fru_name,fru_status&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 16:02:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-CLI-Passthrough-Service-Processor/m-p/438557#M371</guid>
      <dc:creator>TAO1</dc:creator>
      <dc:date>2022-09-22T16:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: REST CLI Passthrough - Service Processor</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-CLI-Passthrough-Service-Processor/m-p/438561#M372</link>
      <description>&lt;P&gt;Glad you shared the article link. I just updated the article to correct that line in the example.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 16:46:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-CLI-Passthrough-Service-Processor/m-p/438561#M372</guid>
      <dc:creator>Drew_C</dc:creator>
      <dc:date>2022-09-22T16:46:47Z</dc:date>
    </item>
  </channel>
</rss>

