<?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 XCO vers 3.2.1:Inventory Service API:How to get timezone for fabric in ExtremeCloud A3</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-a3/xco-vers-3-2-1-inventory-service-api-how-to-get-timezone-for/m-p/97553#M135</link>
    <description>&lt;P&gt;Using XCO version 3.2.1 following the "ExtremeCloud Orchestrator Inventorry Service API Reference"&amp;nbsp;&lt;A href="https://documentation.extremenetworks.com/xco/xco_3.3.0/api/inventory.html" target="_blank"&gt;https://documentation.extremenetworks.com/xco/xco_3.3.0/api/inventory.html&lt;/A&gt;&amp;nbsp;and am trying to get the device timezone using&amp;nbsp;&lt;A href="https://documentation.extremenetworks.com/xco/xco_3.3.0/api/inventory.html#tag/Device-timezone/operation/GetDeviceTimezone" target="_blank"&gt;https://documentation.extremenetworks.com/xco/xco_3.3.0/api/inventory.html#tag/Device-timezone/operation/GetDeviceTimezone&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Trying to figure out how to query the timezone based on fabric_name but I keep getting back the following response:&lt;/P&gt;&lt;P&gt;{"code":1727,"message":"Please specify a valid IP address of the device or a fabric name"}&lt;/P&gt;&lt;P&gt;Ultimately I'm automating my query in python but for testing manually executing the curl command using the command following command from my linux bash shell&lt;/P&gt;&lt;P&gt;curl -k --request GET 'https://&amp;lt;ip&amp;gt;/v1/inventory/timezone' --header 'Authorization Bearer &amp;lt;bearerAuthStr&amp;gt;' --header 'Content-Type: application/json' --data '{ "fabric_name": "&amp;lt;myfabricname&amp;gt;" }'&lt;/P&gt;&lt;P&gt;&amp;lt;ip&amp;gt;, &amp;lt;bearerAuthStr&amp;gt;, &amp;lt;myfabricname&amp;gt; are valid values from my environment?&lt;/P&gt;&lt;P&gt;Not certain where I'm going wrong? Unfortunately, have to use curl rather than the linux module "requests" or "urllib/requests"&lt;/P&gt;&lt;P&gt;Thanks for any input.&lt;/P&gt;&lt;P&gt;Alfred&lt;/P&gt;</description>
    <pubDate>Thu, 12 Oct 2023 21:18:00 GMT</pubDate>
    <dc:creator>AlfredForbrich</dc:creator>
    <dc:date>2023-10-12T21:18:00Z</dc:date>
    <item>
      <title>XCO vers 3.2.1:Inventory Service API:How to get timezone for fabric</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-a3/xco-vers-3-2-1-inventory-service-api-how-to-get-timezone-for/m-p/97553#M135</link>
      <description>&lt;P&gt;Using XCO version 3.2.1 following the "ExtremeCloud Orchestrator Inventorry Service API Reference"&amp;nbsp;&lt;A href="https://documentation.extremenetworks.com/xco/xco_3.3.0/api/inventory.html" target="_blank"&gt;https://documentation.extremenetworks.com/xco/xco_3.3.0/api/inventory.html&lt;/A&gt;&amp;nbsp;and am trying to get the device timezone using&amp;nbsp;&lt;A href="https://documentation.extremenetworks.com/xco/xco_3.3.0/api/inventory.html#tag/Device-timezone/operation/GetDeviceTimezone" target="_blank"&gt;https://documentation.extremenetworks.com/xco/xco_3.3.0/api/inventory.html#tag/Device-timezone/operation/GetDeviceTimezone&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Trying to figure out how to query the timezone based on fabric_name but I keep getting back the following response:&lt;/P&gt;&lt;P&gt;{"code":1727,"message":"Please specify a valid IP address of the device or a fabric name"}&lt;/P&gt;&lt;P&gt;Ultimately I'm automating my query in python but for testing manually executing the curl command using the command following command from my linux bash shell&lt;/P&gt;&lt;P&gt;curl -k --request GET 'https://&amp;lt;ip&amp;gt;/v1/inventory/timezone' --header 'Authorization Bearer &amp;lt;bearerAuthStr&amp;gt;' --header 'Content-Type: application/json' --data '{ "fabric_name": "&amp;lt;myfabricname&amp;gt;" }'&lt;/P&gt;&lt;P&gt;&amp;lt;ip&amp;gt;, &amp;lt;bearerAuthStr&amp;gt;, &amp;lt;myfabricname&amp;gt; are valid values from my environment?&lt;/P&gt;&lt;P&gt;Not certain where I'm going wrong? Unfortunately, have to use curl rather than the linux module "requests" or "urllib/requests"&lt;/P&gt;&lt;P&gt;Thanks for any input.&lt;/P&gt;&lt;P&gt;Alfred&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 21:18:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-a3/xco-vers-3-2-1-inventory-service-api-how-to-get-timezone-for/m-p/97553#M135</guid>
      <dc:creator>AlfredForbrich</dc:creator>
      <dc:date>2023-10-12T21:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: XCO vers 3.2.1:Inventory Service API:How to get timezone for fabric</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-a3/xco-vers-3-2-1-inventory-service-api-how-to-get-timezone-for/m-p/97554#M136</link>
      <description>&lt;P&gt;I found a workable solution which was to add the "?fabric_name=&amp;lt;myfabricname&amp;gt;" to the url i.e.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;curl -k --request GET 'https://&amp;lt;ip&amp;gt;/v1/inventory/timezone?fabric_name=&amp;lt;myfabricname&amp;gt;'&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 21:29:36 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-a3/xco-vers-3-2-1-inventory-service-api-how-to-get-timezone-for/m-p/97554#M136</guid>
      <dc:creator>AlfredForbrich</dc:creator>
      <dc:date>2023-10-12T21:29:36Z</dc:date>
    </item>
  </channel>
</rss>

