/api/getassethome

Usage

Returns the name and identity of the environment that a specific asset belongs inside. Primarily used for ARDI-VE.

Details

DetailValue
GroupAsset
From Server Version0.9.0
PermissionGuest
MethodsGET
Parameters
ParameterNotesMeaning
idInteger [Required]The ID of an asset
formatString (xml)Either 'xml' or 'json'

Examples

Call
http://ardiserver.com/api/getassethome?id=925
Success (XML)
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<envdetails>
   <environment name="Optrix Metal Painting Line" id="155"/>
</envdetails>
Success (JSON)
{"id":155,"name":"Optrix Metal Painting Line"}