Class ByProjectKeyRecommendationsProjectCategoriesByProductIdGet

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyRecommendationsProjectCategoriesByProductIdGet,ProjectCategoryRecommendationPagedQueryResponse>
com.commercetools.ml.client.ByProjectKeyRecommendationsProjectCategoriesByProductIdGet
All Implemented Interfaces:
io.vrap.rmf.base.client.ClientRequestCommand<ProjectCategoryRecommendationPagedQueryResponse>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.HttpRequestCommand<ProjectCategoryRecommendationPagedQueryResponse>, io.vrap.rmf.base.client.RequestCommand<ProjectCategoryRecommendationPagedQueryResponse>

public class ByProjectKeyRecommendationsProjectCategoriesByProductIdGet extends io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyRecommendationsProjectCategoriesByProductIdGet,ProjectCategoryRecommendationPagedQueryResponse>

Response Representation: PagedQueryResult with a results array of ProjectCategoryrecommendation, sorted by confidence scores in descending order and the meta information of ProjectCategoryrecommendationMeta.



   CompletableFuture<ApiHttpResponse<com.commercetools.ml.models.category_recommendations.ProjectCategoryRecommendationPagedQueryResponse>> result = apiRoot
            .withProjectKey("{projectKey}")
            .recommendations()
            .projectCategories()
            .withProductId("{productId}")
            .get()
            .execute()