- [[GetNodeRecommendations]] (Similar to this)
- [[GetNodeRecommendationsByViewGetRootRecommendationsByView]]
- [[GetNodeRecommendationsCombinedGetRootRecommendationsCombined]]
And the legacy method:
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 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]].
'''Example:'''
:: <span style="color: #a11;">"ViewSet"</span>: {
::: <span style="color: #a11;">"1"</span>: [
:::: Array of [[SimpleItem]] (OpenGVP Type) objects
::: ]
::: <span style="color: #a11;">"2"</span>: [
:::: Array of [[SimpleItem]] (OpenGVP Type) objects
::: ]
::: <span style="color: #a11;">"3"</span>: [
:::: Array of [[SimpleItem]] (OpenGVP Type) objects
::: ]
::: <span style="color: #a11;">"4"</span>: [
:::: Array of [[SimpleItem]] (OpenGVP Type) objects
::: ]
:: }