com.innovaphone.search (App API)

This API provides an interface for cross-app searches.

Write documentation

API model

Service info

The API doesn't define any service info.

Provider model

The API doesn't define a provider model.

API messages

All messages are JSON objects that have a mandatory attribute "mt" that specifies the message type.

Requests

Search
Starts a search for a given phone number.
type
Type of serach information (e.g. "contact")
search
The pattern to be searched
Example: { mt: "Search", type: "contact", search: "673" }

Responses

SearchInfo
Zero or more SearchInfo are returned for each Search request
type
Type of serach information (e.g. "contact")
dn
Display name
link
App-Item-Link (if the originating app can display item details)
entry
Directory entry that matches the criteria. An entry contains the following optional members:
sn, givenname, company, displayname
telephonenumber (ARRAY), mobile (ARRAY), homephone (ARRAY), extension (ARRAY), facsimiletelephonenumber (ARRAY)
sip (ARRAY), email (ARRAY)
title, position, url, department, description, info, roomnumber
city, street, postalcode, state, country
privatecity, privatestreet, privatepostalcode, privatestate, privatecountry
Example:
    {
        mt: "SearchInfo",
        type: "contact",
        dn: "Jake Blues",
        link:"someapp?id=4",
        contact: {
            telephonenumber: ["673"],
            givenname: "Jake",
            sn: "Blues",
            company: "Blues Brothers",
            sip: ["jbl@example.com"],
            email: ["john.blues@example.com"]
        }
    }
SearchResult
One single SearchResult is returned for each Search request (after all SearchInfo)
Example: { mt: "SearchResult" }