# Creating an Entity

<span class="rvts6">This call creates a new entity.</span>

##### <span class="rvts16">Method</span>

<span class="rvts6">POST</span>

<span class="rvts16">URL</span>

<span class="rvts6">&lt;server&gt;/entity.ashx</span>

##### <span class="rvts16">Parameters</span>

<div class="rvps2" id="bkmrk-project-unique-ident"><table border="1" cellpadding="7" cellspacing="-1"><tbody><tr valign="top"><td valign="top" width="76"><span class="rvts6">project</span>

</td><td valign="top" width="548"><span class="rvts6">Unique identifier for the project</span>

</td></tr></tbody></table>

</div>##### <span class="rvts6"> </span><span class="rvts16">Post Payload</span>

<span class="rvts6">Text payload containing a JSON dictionary where each entity property appears as a key-value entry.</span>

##### <span class="rvts16">Returns</span>

<span class="rvts6">If completed (200 code), this call returns a JSON object that describes the result of the operation and provides the ID of the newly created object:</span>

<span class="rvts6">{"result" : "success", "id" : "D8C328DD186E4059A81555E07E60A210"}</span>

##### <span class="rvts16">Example (PowerShell)</span>

<span class="rvts6">This POST call creates a folder entity named “New Folder” at the root of the “myproject” project:</span>

<span class="rvts6">  
</span>

<table border="1" id="bkmrk-invoke-webrequest--u" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 99.881%;"></col></colgroup><tbody><tr><td><span class="rvts25">Invoke-WebRequest -Uri "http://localhost:58697/entity.ashx?project=myproject" -Method "POST" -Headers @{"Origin"="http://localhost:58697"; "Accept-Encoding"="gzip, deflate, br"; "Accept-Language"="en-US,en;q=0.9,es;q=0.8"; "User-Agent"="custom"; "Accept"="\*/\*"; "Referer"="http://localhost:58697/cloud/project.html?id=myproject"} -ContentType "application/json; charset=UTF-8" -Body "{`"name`":`"New Folder`",`"type`":`"FILE`",`"file\_type`":`"FOLDER`",`"file\_date`":`"1557000140020`",`"file\_folder`":`"0`"}"</span></td></tr></tbody></table>