/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

DetailValue
GroupAsset
From Server Version0.9.0
PermissionGuest
MethodsPOST
Parameters
ParameterNotesMeaning
idInteger [Required]The ID of the asset
propertyInteger [Required]The ID of the property
valueString [Required]The value to be set
nodeStringThe node name to be set
formatString (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"]
}

Other Versions