/api/getassethome
Usage
Returns the name and identity of the environment that a specific asset belongs inside. Primarily used for ARDI-VE.
Details
| Detail | Value |
| Group | Asset |
| From Server Version | 0.9.0 |
| Permission | Guest |
| Methods | GET |
Parameters
| Parameter | Notes | Meaning |
| id | Integer [Required] | The ID of an asset |
| format | String (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"}