/api/asset/id

Usage

Return the identity of one or more ARDI assets based on their asset ID.

This is primarily intended for allowing applications to show user-friendly names based on saved ARDI asset IDs, as unlike asset IDs, asset names may change during development or the lifespan of a particular asset.

Details

DetailValue
GroupAsset
From Server Version0.9.0
PermissionGuest
MethodsGET
Parameters
ParameterNotesMeaning
idInteger [Required]A comma-delimited list of asset IDs
formatString (xml)Either 'xml' or 'json'

Examples

Call
[GET] http://ardiserver.com/api/asset/before?id=925
Success (XML)
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<response>
  <asset id="5">
      <name>Showroom Floor</name>
  </asset>
  <asset id="25">
      <name>Computer</name>
  </asset>
  <asset id="11">
    <name>Rear Left Wheel</name>
  </asset>
</response>
Success (JSON)
[{
	"asset": [{
		"id": "5",
		"name": ["Showroom Floor"]
	}, {
		"id": "25",
		"name": ["Computer"]
	}, {
		"id": "11",
		"name": ["Rear Left Wheel"]
	}]
}]