/api/asset/property [POST]
Usage
Sets the value of an asset property.
If you use the node parameter, you can specify the value of the individual property node (ie. you can set the position node of an assets location).
If you do not use the node parameter, you will need to ensure you add a 'or-delimited' list of values. For example, if you are placing an asset, you would need to use <position>|<rotation>|<scale>.
We suggest using the node parameter in most use cases.
Details
Detail | Value |
---|---|
Group | Asset |
From Server Version | 0.9.0 |
Permission | Guest |
Methods | POST |
Parameters
Parameter | Notes | Meaning |
---|---|---|
id | Integer [Required] | The ID of the asset |
property | Integer [Required] | The ID of the property |
value | String [Required] | The value to be set |
node | String | The node name to be set |
format | String (xml) | Either 'xml' or 'json' |
Examples
Call
[POST] http://ardiserver.com/api/asset/property?id=925&property=3&node=address&value=10+Somewhere+Street
Success (XML)
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <response> <success>Property Saved</success> </response>
Success (JSON)
{ "success": ["Property Saved"] }