Not logged in - Login
< back

Person Typeahead Search


User TypeaheadPersonTypeahead search
Another search option is to use the typeahead search endpoint: http://securelb.trackerproducts.com/api/users/typeahead?search=mikehttp://securelb.trackerproducts.com/api/people/typeahead?search=mike


This endpoint will search the following fields:
- First NameAlias
- MiddleEmail
- Business Name
- Last Name
- EmailFirst Name
- AliasMiddle (this property is a part of the person record associated with a user)Name


Here is an example of using this endpoint:
http://securelb.trackerproducts.com/api/users/typeahead?search=mikehttp://securelb.trackerproducts.com/api/people/typeahead?search=mike


will return an array of userspeople along with a count of the userspeople returned by the query in the following format:
{
"users":"people": [
{
"id": 17663,1634850,
"text": ""Singleton, Mike Singleton (msingleton@trackerproducts.com)"(N/A)"
}
],
"usersCount":"peopleCountLimitExceeded": 1false
}


Here is an example of searching by email address:
http://securelb.trackerproducts.com/api/users/typeahead?search=trackerhttp://securelb.trackerproducts.com/api/people/typeahead?search=tracker


which returns the following:
{
"users": [
{
"id": 1,
"text": " Jack 3176D103FF Sparrow (jsparrow@trackerproducts.com)"
},
{
"id": 17663,
"text": " Mike Singleton (msingleton@trackerproducts.com)"
},
{
"id": 17664,
"text": " Victor Frankenstein (1msingleton@trackerproducts.com)"
}
],
"usersCount": 3
}