# C1.Web.Api.C1ApiController.Created

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Web_Api_C1ApiController_Created_" data-uid="C1.Web.Api.C1ApiController.Created*">Created Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Web_Api_C1ApiController_Created_" data-uid="C1.Web.Api.C1ApiController.Created*"></a>
<h4 id="C1_Web_Api_C1ApiController_Created_System_String_System_Object_" data-uid="C1.Web.Api.C1ApiController.Created(System.String,System.Object)">Created(string, object)</h4>
<div class="markdown level1 summary"><p>Creates a Microsoft.AspNetCore.Mvc.CreatedResult object that produces a Created
(201) response.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override CreatedResult Created(string uri, object value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Function Created(uri As String, value As Object) As CreatedResult</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">uri</span></td>
      <td><p>The URI at which the content has been created.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The content value to format in the entity body.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.mvc.createdresult">CreatedResult</a></td>
      <td><p>The created Microsoft.AspNetCore.Mvc.CreatedResult for the response.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.mvc.controllerbase.created#microsoft-aspnetcore-mvc-controllerbase-created(system-string-system-object)">ControllerBase.Created(string, object)</a></div>


<a id="C1_Web_Api_C1ApiController_Created_" data-uid="C1.Web.Api.C1ApiController.Created*"></a>
<h4 id="C1_Web_Api_C1ApiController_Created_System_Uri_System_Object_" data-uid="C1.Web.Api.C1ApiController.Created(System.Uri,System.Object)">Created(Uri, object)</h4>
<div class="markdown level1 summary"><p>Creates a Microsoft.AspNetCore.Mvc.CreatedResult object that produces a Created
(201) response.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override CreatedResult Created(Uri uri, object value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Function Created(uri As Uri, value As Object) As CreatedResult</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">Uri</span></td>
      <td><span class="parametername">uri</span></td>
      <td><p>The URI at which the content has been created.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The content value to format in the entity body.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.mvc.createdresult">CreatedResult</a></td>
      <td><p>The created Microsoft.AspNetCore.Mvc.CreatedResult for the response.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.mvc.controllerbase.created#microsoft-aspnetcore-mvc-controllerbase-created(system-uri-system-object)">ControllerBase.Created(Uri, object)</a></div>
</div>
