GetMovieCommercialOffers
Jump to navigation
Jump to search
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 |