Zum Hauptinhalt springen

Suchfunktion

Function Name:

Search

Request:

 {
"value": String, // The Search Term
"buildingId": Int // The current Building-ID
<,
"lat": Double,
"lon": Double,
"floor": Int,
// Available, beginning API Level 13
"userToken": ?String, // Must be set and != null in order to find Assets
"sharedSecret": ?String, // Must be set and != null in order to find Assets
"disableSpellchecking": Boolean, // Defaults to False, If true, spellchecking will be applied if the language is available.
"forceDistanceOrdering": Boolean // Defaults to False, If true, Searchresults will only be sorted by their distance to the given location. Lat, Lon and Floor MUST be provided, otherwise the option will be ignored.
>
}

Response:

{
success : true,
response: {
"Search" : [
"tag" : String // Contagt-ID
"image": String // URI to Image Resource
"attributes" : {
"id" : String, // Same as 'tag'
"parent_id": String, // Root Tag of the Building
"group_id": Int,
"node_id" : Int
}
]
}
}

Required Authentication:

Building Access, Login

Named Params

false