Description=Get a Recommendation from the GVP Platform. The GetNodeRecommendations GetRootRecommendationsCombined is a ByPass method to use the OpenGVP to get all contents analysed and that is the recommendation for the connected user.
The suggestion is made in the OpenGVP and sent to the UNIAPI in a JSON format.
All kinds of recommendation are separated by Sources. Each source represent a kind of content are recommended.
1 - MostViewedAll kinds of recommendation are combined in the same result with a SOURCE parameter added in the result.
3 - PersonalThis method is similar to GetRootRecommendationsByView but in the same ViewSet.
4 - Editorial
Results If Editorial recommendations are presented requested, that is, the value 4 is included in groups the comma-separated list inside a ViewSet. Each group of ViewSet represent each source. In in the requestsources input parameter at any position, a parameter SOURCE can they are the priority recommendations to be defined processed and to filter be included in the recommended content, for exemple, if method response. Other requested recommendation types (sources) different than Editorial are processed and included in the request wants only method response in the MostViewed Recommendation, send 1 order than they are included in the source sources input parameter. This filed accept all values (1,2,3,4) separated by comma.
Notes: The OpenGVP can be active/desactive and configured in each Environment and Instance to be used.
GetNodeRecommendations can be used in some node of channels, since from GetRootRecommendationsCombined return only contents based on RootChannel and others.This method only can be used by logged user.
|ParamType=int
|ParamRequired=optional
|ParamDescription=Number that indicates the content type of the recommendation 0 - Any: It returns both Movie and Series 1 - Movie: Used for movies 2 - Series: Used for TV series
}}
{{Api_Parameter|
|ParamType=int
|ParamRequired=optional
|ParamDescription=CatalogType: Number that indicates the sub-catalog to retrieve recommendations from (Subscrition or transactional) 0 - Any: Transactional or subscription (hired by the user). Default for getNodeRecommendations and GetFullView 1 - Subscription: Contents from subscriptions rented by the user (and inside the subscription sub-catalog). Default for GetRotRecommendationsCombined and GetRootREcommendationsByView 2 - Transactional: Contents from transactional sub-catalog
}}
|Returns=
Returns a JSON object containing a JSON with the personal recommendation as [[SimpleItem]].