Suggestions - Get Products
Make suggestions while user is typing a search query for products.
GET https://catalogapi.azure.com/suggestions/products?api-version=2023-01-01-preview&searchQuery={searchQuery}&language={language}&suggestionTypes={suggestionTypes}
GET https://catalogapi.azure.com/suggestions/products?api-version=2023-01-01-preview&searchQuery={searchQuery}&publisherDisplayName={publisherDisplayName}&azureBenefit={azureBenefit}&publisherTypes={publisherTypes}&badges={badges}&industryCloud={industryCloud}&language={language}&productTypes={productTypes}&pricingTypes={pricingTypes}&operatingSystems={operatingSystems}&supportedProducts={supportedProducts}&publisherIds={publisherIds}&ratingBuckets={ratingBuckets}&vmArchitectureTypes={vmArchitectureTypes}&vmSecurityTypes={vmSecurityTypes}&suggestionTypes={suggestionTypes}&top={top}&select={select}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
api-version
|
query | True |
string |
Version of the REST API used for the request. |
language
|
query | True |
string |
Language to search, ISO 639-1 two-letter code, possible values - 'en,cs,de,es,fr,hu,it,ja,ko,nl,pl,pt-br,pt-pt,ru,sv,tr,zh-hans,zh-hant' |
search
|
query | True |
string |
The search text, if no value provided, this filter is ignored. Such as searchQuery=red hat |
suggestion
|
query | True |
Suggestion types.
|
|
azure
|
query |
Define the search for only azure benefit eligible offers, if no value provided, this filter is ignored. Default: null.
|
||
badges
|
query |
Badge[] |
Products that contains any of the given badges. If no value provided, this filter is ignored. The following product badges are available:
|
|
industry
|
query |
Define the search for IndustryCloud offers. If no value provided, this filter is ignored. Default: NotApplicable.
|
||
operating
|
query |
string[] |
Products that contains any of the given operating systems, Such as operatingSystems=windows,linux. If no value provided, this filter is ignored. This filter is relevant for Virtual Machine product type only.
|
|
pricing
|
query |
Products that contains any of the given pricing types. If no value provided, this filter is ignored.
|
||
product
|
query |
Products that contains any of the given product types, Such as 'VirtualMachine'. If no value provided, this filter is ignored.
|
||
publisher
|
query |
string |
The search publisher name. Such as publisherDisplayName=red hat. If no value provided, this filter is ignored. |
|
publisher
|
query |
string[] |
Products that contains any of the given publisher ids. Such as 'Microsoft'. If no value provided, this filter is ignored. |
|
publisher
|
query |
Products that contains any of the given publisher types, If no value provided, this filter is ignored. Possible values: Microsoft, ThirdParty. Default: Microsoft.
|
||
rating
|
query |
Products that contains any of the given rating buckets. Such as 'Above1'. If no value provided, this filter is ignored.
|
||
select
|
query |
Array of fields to return. Such as 'displayText'. If no value provided, return fields as follows. if suggestionsType=Entity, return: suggestionType, displayText, id. if suggestionType=WordSearch, return suggestionType and displayText.
|
||
supported
|
query |
string[] |
Products that contains any of the given supported products. Such as 'CRM'. If no value provided, this filter is ignored. |
|
top
|
query |
integer (int32) |
Number of items per SuggestionType to return. Minimum: 1, Maximum: 40, Default: 20. |
|
vm
|
query |
Array of Virtual Machine image architecture types to search by, If no value provided, this filter is ignored. see https://docs.microsoft.com/en-us/azure/virtual-machines/generation-2:
|
||
vm
|
query |
Products that contains any of the given vm security types. Such as 'Trusted'. If no value provided, this filter is ignored.
|
Request Header
Name | Required | Type | Description |
---|---|---|---|
X-API-Key | True |
string |
Use Api key provided by Marketplace Catalog Team as a parameter provided in the header |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Returns a list of azure marketplace products suggestions and count |
|
Other Status Codes |
Error Responses:
Headers x-ms-error-code: string |
Security
X-API-Key
Use Api key provided by Marketplace Catalog Team as a parameter provided in the header
Type:
apiKey
In:
header
Examples
SuggestionsProducts_Get
Sample request
GET https://catalogapi.azure.com/suggestions/products?api-version=2023-01-01-preview&searchQuery=chec&azureBenefit={azureBenefit}&language=en&productTypes=ConsultingServices&suggestionTypes=WordSearch,Entity&top=2
Sample response
{
"value": [
{
"suggestionType": "WordSearch",
"displayText": "check"
},
{
"suggestionType": "WordSearch",
"displayText": "checklist"
},
{
"suggestionType": "Entity",
"displayText": "SQL Server: Server Health Check - 8h Assessment",
"id": "datamazesrl1608285157396.hcsr1",
"iconUrl": "https://store-images.s-microsoft.com/image/apps.7625.f95e1f9c-fa83-47f3-8b4f-ba3446fc54ec.be999560-f0a6-4819-8aa0-7233334d7981.3c51ad8d-44d3-4039-b1ba-b27e7b1d1132",
"productType": "ConsultingServices"
},
{
"suggestionType": "Entity",
"displayText": "SQL Server: Database Health Check - 4h Assessment",
"id": "datamazesrl1608285157396.hcdb1",
"iconUrl": "https://store-images.s-microsoft.com/image/apps.7625.2bb59018-1124-460e-a797-3cf19400dd45.acdba8b9-449f-457e-b44b-02e324f47191.886f0f35-340f-4f2a-b70c-7532a3868c2f",
"productType": "ConsultingServices"
}
],
"totalCount": 4
}
Definitions
Name | Description |
---|---|
Azure |
Eligibility for Azure consumption commitment benefit (https://docs.microsoft.com/en-us/marketplace/azure-consumption-commitment-benefit) |
Badge |
Badge type |
Error |
The search error response details |
Error |
The search error response details object |
Error |
The search error response object |
Industry |
Industry Cloud |
Pricing |
Pricing type |
Product |
The delivery method or deployment model |
Publisher |
A value indicating whether this is a Microsoft or third party product |
Rating |
Rating Bucket |
Suggestions |
The suggestions field name |
Suggestions |
The suggestion item |
Suggestions |
The suggestion response |
Suggestion |
The type of the suggestion |
Vm |
VM Architecture Type |
Vm |
VM Security type |
AzureBenefit
Eligibility for Azure consumption commitment benefit (https://docs.microsoft.com/en-us/marketplace/azure-consumption-commitment-benefit)
Value | Description |
---|---|
Eligible |
the product is eligible for Azure consumption commitment benefit |
NotEligible |
the product is not eligible for Azure consumption commitment benefit |
Badge
Badge type
Value | Description |
---|---|
PreferredSolution | |
PowerBICertified | |
AdditionalPurchaseRequirement |
Error
The search error response details
Name | Type | Description |
---|---|---|
code |
string |
The error code description. Such as code=InternalError |
details |
List of error response details |
|
message |
string |
The error message. Such as message=Internal server error |
ErrorDetails
The search error response details object
Name | Type | Description |
---|---|---|
code |
string |
The error code description. Such as code=InternalError |
details |
List of error response details |
|
message |
string |
The error message. Such as message=Internal server error |
ErrorResponse
The search error response object
Name | Type | Description |
---|---|---|
error |
The search error response details |
IndustryCloud
Industry Cloud
Value | Description |
---|---|
NotApplicable |
Not Applicable |
True |
True |
False |
False |
PricingType
Pricing type
Value | Description |
---|---|
Free | |
FreeTrial | |
Byol | |
Payg | |
Ri |
ProductType
The delivery method or deployment model
Value | Description |
---|---|
None |
product type returned for Azure Services, Container Extensions and VM extensions |
DevService |
Dev Service |
ManagedApplication |
Managed Application plan type (applicable to Azure Applications only) |
VirtualMachine |
the product is Image service instances with usage-based pricing |
AzureApplication |
products published as Solution Templates (ST) or Azure Managed Apps (AMA) plans that deploy Azure resources to the customer tenant. |
Container |
the product is delivered as Container |
SaaS |
the product is a Software solution purchased on pay-as-you-go basis from a cloud service provider |
SolutionTemplate |
Solution Template plan type (applicable to Azure Applications only) |
IotEdgeModules |
resource is delivered as IoT Edge Module |
ManagedServices |
the product is delivered as Managed Service |
ContainerApps |
resource is delivered as Container App |
VisualStudioExtension |
Visual Studio Extensions |
DynamicsOps |
Dynamics 365 Operations Apps |
DynamicsCE |
All Dynamics products except for DynamicsBC and DynamicsOps |
DynamicsBC |
Dynamics 365 Business Central |
PowerBI |
Power BI products |
ConsultingServices |
Consulting Services (available only in Azure Marketplace as listing offers) |
CosellOnly |
Products available in scope of Co-Sell program only |
CoreVirtualMachine |
Virtual Machine with Windows or endorsed Linux OS image |
PowerBIVisuals |
Power BI Visuals products |
Office365 |
Office 365 products |
AADApps |
Azure Active Directory Applications |
AzureServices |
Native Azure Services such as Azure Open AI service, Azure Storage Account, etc. |
AppService |
HTTP-based service for hosting web applications, REST APIs, and mobile back ends |
LogAnalytics |
Log Analytics services that log data from Azure Monitor and other Azure services |
PublisherType
A value indicating whether this is a Microsoft or third party product
Value | Description |
---|---|
Microsoft |
Product is published by Microsoft (1st party product) |
ThirdParty |
Product is published by Third Party Vendor |
RatingBucket
Rating Bucket
Value | Description |
---|---|
AboveOne | |
AboveTwo | |
AboveThree | |
AboveFour |
SuggestionsFieldName
The suggestions field name
Value | Description |
---|---|
DisplayText | |
Id | |
IconUrl | |
ProductType | |
LinkedAddInsTypes |
SuggestionsItem
The suggestion item
Name | Type | Description |
---|---|---|
displayText |
string |
The suggestion display text |
iconUrl |
string |
The suggestion icon url |
id |
string |
The suggestion item id |
linkedAddInsTypes |
object |
The suggestion linked add-in types |
productType |
The suggestion supported product types |
|
suggestionType |
The suggestion type |
SuggestionsResponse
The suggestion response
Name | Type | Description |
---|---|---|
totalCount |
integer (int64) |
The suggestion count |
value |
The suggestion items results |
SuggestionType
The type of the suggestion
Value | Description |
---|---|
WordSearch | |
Entity |
VmArchitectureType
VM Architecture Type
Value | Description |
---|---|
X64Gen1 |
The VM image architecture of the plan is X64 Generation1 |
X64Gen2 |
The VM image architecture of the plan is X64 Generation2 |
Arm64 |
The VM image architecture of the plan is Arm64 |
VmSecurityType
VM Security type
Value | Description |
---|---|
None | |
Trusted | |
Confidential |