GET api/ProductSearch/GetSuggestions?providerId={providerId}&groupdId={groupdId}&searchText={searchText}&providerType={providerType}&groupView={groupView}&publicView={publicView}&shopByColors={shopByColors}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerId | integer |
Required |
|
groupdId | integer |
Required |
|
searchText | string |
Required |
|
providerType | byte |
Required |
|
groupView | boolean |
Required |
|
publicView | boolean |
Required |
|
shopByColors | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
Collection of SuggestionsName | Description | Type | Additional information |
---|---|---|---|
Header | string |
None. |
|
Name | string |
None. |
|
Code | string |
None. |
|
Image | string |
None. |
|
Value | string |
None. |
|
Count | integer |
None. |
|
IsCompoundProduct | boolean |
None. |
|
ProductSEOURL | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "Header": "sample string 1", "Name": "sample string 2", "Code": "sample string 3", "Image": "sample string 4", "Value": "sample string 5", "Count": 6, "IsCompoundProduct": true, "ProductSEOURL": "sample string 8" }, { "Header": "sample string 1", "Name": "sample string 2", "Code": "sample string 3", "Image": "sample string 4", "Value": "sample string 5", "Count": 6, "IsCompoundProduct": true, "ProductSEOURL": "sample string 8" } ]
application/xml, text/xml
Sample:
<ArrayOfSuggestions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ElasticSearch"> <Suggestions> <Code>sample string 3</Code> <Count>6</Count> <Header>sample string 1</Header> <Image>sample string 4</Image> <IsCompoundProduct>true</IsCompoundProduct> <Name>sample string 2</Name> <ProductSEOURL>sample string 8</ProductSEOURL> <Value>sample string 5</Value> </Suggestions> <Suggestions> <Code>sample string 3</Code> <Count>6</Count> <Header>sample string 1</Header> <Image>sample string 4</Image> <IsCompoundProduct>true</IsCompoundProduct> <Name>sample string 2</Name> <ProductSEOURL>sample string 8</ProductSEOURL> <Value>sample string 5</Value> </Suggestions> </ArrayOfSuggestions>