<!DOCTYPE html>
<html>
<head>
  <title>Documentazione API</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link type='text/css' rel='stylesheet' href='../../../apidoc/stylesheets/bundled/bootstrap.min.css'/>
<link type='text/css' rel='stylesheet' href='../../../apidoc/stylesheets/bundled/prettify.css'/>
<link type='text/css' rel='stylesheet' href='../../../apidoc/stylesheets/bundled/bootstrap-responsive.min.css'/>
  <link type='text/css' rel='stylesheet' href='../../../apidoc/stylesheets/application.css'/>
  <!-- IE6-8 support of HTML5 elements -->
  <!--[if lt IE 9]>
    <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
  <![endif]-->
</head>
<body>
  <div class="container-fluid">
    <div class="row-fluid">
      <div id='container'>
        <ul class='breadcrumb'>
  <li>
    <a href='../../../apidoc/v2.it.html'>Foreman v2</a>
    <span class='divider'>/</span>
  </li>
  <li>
    <a href='../../../apidoc/v2/locations.it.html'>
      Locations
      
    </a>
    <span class='divider'>/</span>
  </li>
  <li class='active'>show</li>
  <li class='pull-right'>
  &nbsp;[ <a href="../../../apidoc/v2/locations/show.pt_BR.html">pt_BR</a> | <a href="../../../apidoc/v2/locations/show.de.html">de</a> | <b><a href="../../../apidoc/v2/locations/show.it.html">it</a></b> | <a href="../../../apidoc/v2/locations/show.sv_SE.html">sv_SE</a> | <a href="../../../apidoc/v2/locations/show.zh_CN.html">zh_CN</a> | <a href="../../../apidoc/v2/locations/show.en_GB.html">en_GB</a> | <a href="../../../apidoc/v2/locations/show.cs_CZ.html">cs_CZ</a> | <a href="../../../apidoc/v2/locations/show.fr.html">fr</a> | <a href="../../../apidoc/v2/locations/show.ru.html">ru</a> | <a href="../../../apidoc/v2/locations/show.ja.html">ja</a> | <a href="../../../apidoc/v2/locations/show.es.html">es</a> | <a href="../../../apidoc/v2/locations/show.ko.html">ko</a> | <a href="../../../apidoc/v2/locations/show.ca.html">ca</a> | <a href="../../../apidoc/v2/locations/show.gl.html">gl</a> | <a href="../../../apidoc/v2/locations/show.en.html">en</a> | <a href="../../../apidoc/v2/locations/show.zh_TW.html">zh_TW</a> | <a href="../../../apidoc/v2/locations/show.nl_NL.html">nl_NL</a> | <a href="../../../apidoc/v2/locations/show.pl.html">pl</a> ]
</li>


</ul>

  <div class='page-header'>
    <h1>
      GET /api/locations/:id
      <br>
      <small>Show a location</small>
    </h1>
  </div>

<div>

  



  <h2>Esempi</h2>
    <pre class="prettyprint">GET /api/locations/447626439
200
{
  &quot;select_all_types&quot;: [],
  &quot;description&quot;: null,
  &quot;created_at&quot;: &quot;2019-02-20 13:20:56 UTC&quot;,
  &quot;updated_at&quot;: &quot;2019-02-20 13:20:56 UTC&quot;,
  &quot;ancestry&quot;: null,
  &quot;parent_id&quot;: null,
  &quot;parent_name&quot;: null,
  &quot;id&quot;: 447626439,
  &quot;name&quot;: &quot;loc34&quot;,
  &quot;title&quot;: &quot;loc34&quot;,
  &quot;users&quot;: [],
  &quot;smart_proxies&quot;: [],
  &quot;subnets&quot;: [],
  &quot;compute_resources&quot;: [],
  &quot;media&quot;: [],
  &quot;config_templates&quot;: [],
  &quot;ptables&quot;: [],
  &quot;provisioning_templates&quot;: [],
  &quot;domains&quot;: [],
  &quot;realms&quot;: [],
  &quot;environments&quot;: [],
  &quot;hostgroups&quot;: [],
  &quot;organizations&quot;: [],
  &quot;hosts_count&quot;: 0,
  &quot;parameters&quot;: [
    {
      &quot;priority&quot;: 20,
      &quot;created_at&quot;: &quot;2019-02-20 13:20:56 UTC&quot;,
      &quot;updated_at&quot;: &quot;2019-02-20 13:20:56 UTC&quot;,
      &quot;id&quot;: 767575241,
      &quot;name&quot;: &quot;foo&quot;,
      &quot;value&quot;: &quot;*****&quot;
    }
  ]
}</pre>

  <h2>Parametri</h2>
  <table class='table'>
    <thead>
      <tr>
        <th>Nome parametro</th>
        <th>Descrizione</th>
      </tr>
    </thead>
    <tbody>
        <tr style='background-color:rgb(255,255,255);'>
    <td>
      <strong>location_id </strong><br>
      <small>
        opzionale
        
      </small>
    </td>
    <td>
      
<p>Scopo per posizioni</p>

        <p><strong>Validations:</strong></p>
        <ul>
            <li>
<p>Must be a Integer</p>
</li>
        </ul>

    </td>

  </tr>

  
  <tr style='background-color:rgb(255,255,255);'>
    <td>
      <strong>organization_id </strong><br>
      <small>
        opzionale
        
      </small>
    </td>
    <td>
      
<p>Scopo per organizzazioni</p>

        <p><strong>Validations:</strong></p>
        <ul>
            <li>
<p>Must be a Integer</p>
</li>
        </ul>

    </td>

  </tr>

  
  <tr style='background-color:rgb(255,255,255);'>
    <td>
      <strong>show_hidden_parameters </strong><br>
      <small>
        opzionale
        
      </small>
    </td>
    <td>
      
<p>Display hidden parameter values</p>

        <p><strong>Validations:</strong></p>
        <ul>
            <li>
<p>Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.</p>
</li>
        </ul>

    </td>

  </tr>

  
  <tr style='background-color:rgb(255,255,255);'>
    <td>
      <strong>id </strong><br>
      <small>
        richiesto
        
      </small>
    </td>
    <td>
      
        <p><strong>Validations:</strong></p>
        <ul>
            <li>
<p>Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.</p>
</li>
        </ul>

    </td>

  </tr>

  

    </tbody>
  </table>




</div>

  

        
      </div>
    </div>
    <hr>
    <footer></footer>
  </div>
  <script type='text/javascript' src='../../../apidoc/javascripts/bundled/jquery.js'></script>
<script type='text/javascript' src='../../../apidoc/javascripts/bundled/bootstrap-collapse.js'></script>
<script type='text/javascript' src='../../../apidoc/javascripts/bundled/prettify.js'></script>
<script type='text/javascript' src='../../../apidoc/javascripts/apipie.js'></script>
</body>
</html>
