GET api/Product/GetAutocomplete?Query={Query}&Limit={Limit}&OffSet={OffSet}&Language={Language}
provides autocomplete suggestion for a given query
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Query |
query parameter for searching; |
string |
None. |
| Limit |
number of records to be returned |
integer |
None. |
| OffSet |
offset; number of objects that are skipped |
integer |
None. |
| Language |
Base class for filter parameters; Contains only language as parameter; |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
list of suggestions
AutocompleteResult| Name | Description | Type | Additional information |
|---|---|---|---|
| query |
incoming query string |
string |
None. |
| suggestions |
suggestions, Names containing query string |
Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"query": "sample string 1",
"suggestions": [
"sample string 1",
"sample string 2"
]
}