Typeahead autocompletemembers API
Added by IBM contributorAnna G O'Neal | Edited by IBM contributorAnna G O'Neal on May 23, 2012
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Retrieve a list of contacts and users based on search terms. Authentication occurs through the browser.



Retrieve a list of contacts and users based on search terms. Authentication occurs through the browser.

Table 1. API details
MethodResource addressOutput representation
GET or POST Format 1: https://apps.lotuslive.com/contacts/typeahead/autocompletemembers?member=<searchText> HTML


Use the following input parameters:

Table 2. Input parameters
ParameterDescription
memberA string value that represents the key word to filter query results.


Inputs

URL parameters

Outputs

The typeahead list is returned in JavaScript™ Object Notation format.

Response codes

200
The response is successful.
Examples

URL: https://apps.lotuslive.com/contacts/typeahead/autocompletemembers?member=ka

The HTML response successfully returned a typeahead list:

<ul>
   <li>Karin Tester01&#32;<karintester01@mailinator.com&gt;&#32;<<span class="informal userid">20001871</span>&gt;</li>
   <li>Kate Picker01&#32;<katepicker01@bluebox.lotus.com&gt;&#32;<<span class="informal userid">20000792</span>&gt;</li>
   <li>Kate Picker02&#32;<katepicker02@bluebox.lotus.com&gt;&#32;<<span class="informal userid">20000793</span>&gt;</li>
   <li>Kate Picker03&#32;<katepicker03@bluebox.lotus.com&gt;&#32;<<span class="informal userid">20000794</span>&gt;</li>
   <li>Kate Picker04&#32;<katepicker04@bluebox.lotus.com&gt;&#32;<<span class="informal userid">20000795</span>&gt;</li>
   <li>Kate Picker05&#32;<katepicker05@bluebox.lotus.com&gt;&#32;<<span class="informal userid">20000796</span>&gt;</li>
   <li>Kate Picker06&#32;<katepicker06@bluebox.lotus.com&gt;&#32;<<span class="informal userid">20000797</span>&gt;</li>
   <li>Kate Picker07&#32;<katepicker07@bluebox.lotus.com&gt;&#32;<<span class="informal userid">20000798</span>&gt;</li>
   <li>Kate Picker08&#32;<katepicker08@bluebox.lotus.com&gt;&#32;<<span class="informal userid">20000799</span>&gt;</li>
   <li>Kate Picker09&#32;<katepicker09@bluebox.lotus.com&gt;&#32;<<span class="informal userid">20000800</span>&gt;</li>
   <li>Kate Picker10&#32;<katepicker10@bluebox.lotus.com&gt;&#32;<<span class="informal userid">20000801</span>&gt;</li>
</ul>