GetChannelSimpleProductsStb
Jump to navigation
Jump to search
Description
( CANDIDATE TO BE DEPRECATED -> Move to use GetChannelCatalogItem )
Returns the list of products inside a channel. It can't be returned all product in all sub channel.
The result consider that the result is default filtered by AdultFilterType.NonAdultOnly and MovieType.(Movie and Season).
This method can be used by logged or anonymous login.
Parameters
- token (String, required)
- A valid token for identifying the API session context. The token can be anonymous or logged.
- channelIds (int, required)
- List of channel ID that wants the result separated by comma.
- includeChildMovies (bool, optional)
- Flag to set if the result should be contain all Movies in all sub channels from the specified in the channelId parameter. The default value is false.
- typeFilter (String, optional)
- List of numbers separated by comma with the MovieType to filter the result. Default set to Movie and Season (1, 3).
- adultFilter (adultFilterType, optional)
- Type to represent Unknown, All, AdultOnly or NonAdultOnly. If the content is for adult and/or not adult or both. The default value is NonAdultOnly.
- productTypeFilter (productType, optional)
- List of ProductType separated by comma to filter the result.
Returns
Returns a JSON object containing the ChannelCount for each channel.
Example:
{
- "Offset": 0,
- "Limit": 100,
- "Count": 1,
- "List":
- [ Array of Product object ]
}
Exceptions
- None
Caching
This method is cached.
Known issues
- None
Version history
API Version Number | Change description | Changes author |
---|---|---|
1.0 | Initial method design | Harley Cabral |