This API provides an interface for cross-app searches.
The API doesn't define any service info.
The API doesn't define a provider model.
All messages are JSON objects that have a mandatory attribute "mt" that specifies the message type.
{ mt: "Search", type: "contact", search: "673" }
{
mt: "SearchInfo",
type: "contact",
guid: "8800aa00-a000-5f01-4800-009030010600",
dn: "Jake Blues",
link:"someapp?id=jbl@example.com",
contact: {
extension: ["673"],
givenname: "Jake",
sn: "Blues",
company: "Blues Brothers",
sip: ["jbl@example.com"],
email: ["john.blues@example.com"]
},
avatar: "jbl",
pbx: "master",
node: "root",
template: "Config",
photourl: "http://1.2.3.4/jbl/avatar.png",
adjust: true
}{ mt: "SearchResult" }