====/api/asset/detail==== ===Usage=== This function is used to get detailed information about a particular asset. This includes live information, media files and relationships that the asset has with its neighbours. It's the most complete information available about the asset. If you only require properties, the function [[/api/asset/info]] is noticeably faster, as it doesn't have to fetch extended properties or media items. ===Details== ^Detail^Value^ |Group|Asset| |From Server Version|0.9.0| |Permission|[[permission_guest|Guest]]| |Methods|GET or POST| ==Parameters== ^Parameter^Notes^Meaning^ |**asset**|Number|The ID of the asset| |**artag**|Number|The ID of the AR marker| |**format**|String (xml)|Either 'xml' or 'json'| Note that either **asset** or **artag** //must// be specified. ===Examples=== ==Call== http://ardiserver.com/api/getardetail?asset=5 ==Success (XML)== Site Site 5 This is your initial ARDI site Unknown no
18/2 Memorial Drive, Shellharbour City Center, NSW, Australia
Yes Location
==Success (JSON)== { { "assets": [{ "asset": [{ "name": ["Site"], "fullname": ["Site"], "id": ["5"], "description": ["This is your initial ARDI site"], "isolation": [{ "status": ["Unknown"] }], "upstreamalerts": ["no"], "properties": [{ "Address": [{ "id": "3", "type": "ADDRESS", "name": "Address", "class": "local", "source": "5", "quality": "good", "group": "", "address": ["18\/2 Memorial Drive, Shellharbour City Center, NSW, Australia"] }] }], "media": [" "], "alerts": [" "], "relationships": [{ "related": [{ "id": "2", "priority": "301", "name": "Location", "upname": "Inside", "downname": "Contains", "to": [{ "id": "1", "direction": "upstream", "name": "Location" }, { "id": "43", "direction": "downstream", "name": "Switchroom" }, { "id": "44", "direction": "downstream", "name": "Workshop" }, { "id": "46", "direction": "downstream", "name": "Level One" }, { "id": "47", "direction": "downstream", "name": "Level Two" }, { "id": "49", "direction": "downstream", "name": "External" }, { "id": "94", "direction": "downstream", "name": "Mobile" }] }] }], "zeroenergy": ["Yes"], "tags": [{ "tag": ["Location"] }] }] }] }