Difference between revisions of "GetMovieCommercialOffers"
Line 1: | Line 1: | ||
+ | {{Deprecated|Message=This method has been deprecated in GVP 3.2. Now a new '''Subscriptions''' field is returned for [[CatalogItems]] (inside [[ExtraMetadata]]), [[LiveChannels]] and [[LiveChannelsPlayback]], [[Movie]] and [[SimpleMovie]] API objects}} | ||
+ | |||
{{Api_Method_Spec| | {{Api_Method_Spec| | ||
Description=Returns a list of subscription or bundles that contains the movie searched. It just return the subscription from Normal type. Other type doesn't return by this method. | Description=Returns a list of subscription or bundles that contains the movie searched. It just return the subscription from Normal type. Other type doesn't return by this method. | ||
Line 72: | Line 74: | ||
{{!}} Initial method design | {{!}} Initial method design | ||
{{!}} Harley Cabral | {{!}} Harley Cabral | ||
+ | {{!}}- | ||
+ | ! 3.2 | ||
+ | {{!}} Method deprecated | ||
+ | {{!}} Francisco Milagro | ||
{{!}}} | {{!}}} | ||
+ | |||
|SeeAlso= | |SeeAlso= | ||
+ | * [[CatalogItems]] | ||
+ | * [[ExtraMetadata]] | ||
+ | * [[LiveChannels]] | ||
+ | * [[LiveChannelsPlayback]] | ||
+ | * [[Movie]] | ||
+ | * [[SimpleMovie]] | ||
}} | }} |
Revision as of 06:39, 21 August 2015
This method has been deprecated in GVP 3.2. Now a new Subscriptions field is returned for CatalogItems (inside ExtraMetadata), LiveChannels and LiveChannelsPlayback, Movie and SimpleMovie API objects
Description
Returns a list of subscription or bundles that contains the movie searched. It just return the subscription from Normal type. Other type doesn't return by this method. The data returned is an array of Product object. This type of object is a cover for the other type of object like movie, subscription, bundle and playlist. If a movie is more of one product, it will return an array containing a list of each product that this product is assigned.
The method can be used by login or anonymous user.
(Method candidate to DEPRECATED in future versions)
Parameters
- token (String, required)
- A valid token for identifying the API session context. The token can be anonymous or logged.
- offset (int, optional)
- The offset number of the returned values for this request
- limit (int, optional)
- The limit number of values for this request
- movieId (int, required)
- ID of the movie
Returns
Returns a JSON object containing an array of Product.
Example:
{
- "StatusCode": 0,
- "Severity": 1,
- "StatusMessage": "OK",
- "Content": {
- "Offset": 0,
- "Limit": 100,
- "Count": 2,
- "List":
- [ Array of Product objects ]
- }
}
Exceptions
Caching
This method is cached.
Known issues
None
Version history
API Version Number | Change description | Changes author |
---|---|---|
1.0 | Initial method design | Harley Cabral |
3.2 | Method deprecated | Francisco Milagro |