Updating an Entity
This call updates the properties of an existing entity.
Method
POST
URL
<server>/entity.ashx
Parameters
id |
Unique identifier for the entity |
project |
Unique identifier for the project |
Post Payload
Text payload containing a JSON dictionary where each entity property appears as a key-value entry.
Returns
If completed (200 code), this call returns a JSON object that describes the result of the operation and the ID of the modified object:
{"result" : "success", "id" : " 953F185BDE91400C94B56E0F69F78B16"}
Example (PowerShell)
This POST call renames a folder entity:
Invoke-WebRequest -Uri "http://localhost:58697/entity.ashx?id=953F185BDE91400C94B56E0F69F78B16&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"="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36"; "Accept"="*/*"; "Referer"="http://localhost:58697/cloud/project.html?id=myproject"} -ContentType "application/json; charset=UTF-8" -Body "{`"name`":`"My Folder`"}"