Difference between revisions of "GetChannelSimpleProducts"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{Deprecated|Message=This method has been deprecated in GVP 3.2. Please use [[GetChannelCatalogItems]] instead}} | ||
+ | |||
{{Api_Method_Spec| | {{Api_Method_Spec| | ||
Description= | Description= | ||
− | |||
Returns the list of [[Product]] objects available in the instance under an specific Channel. It can include all sub channels (any levels) or just the first level of sub channel. | Returns the list of [[Product]] objects available in the instance under an specific Channel. It can include all sub channels (any levels) or just the first level of sub channel. | ||
Line 98: | Line 99: | ||
{{!}} Initial method design | {{!}} Initial method design | ||
{{!}} Harley Cabral | {{!}} Harley Cabral | ||
+ | {{!}}- | ||
+ | ! 3.2 | ||
+ | {{!}} Method deprecated | ||
+ | {{!}} Francisco Milagro | ||
{{!}}} | {{!}}} | ||
+ | |||
|SeeAlso= | |SeeAlso= | ||
+ | * [[GetChannelCatalogItems]] | ||
}} | }} |
Latest revision as of 20:11, 20 August 2015
This method has been deprecated in GVP 3.2. Please use GetChannelCatalogItems instead
Description
Returns the list of Product objects available in the instance under an specific Channel. It can include all sub channels (any levels) or just the first level of sub channel.
The result is default ordered by the property Title in the object. 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.
- offset (int, optional)
- The offset number of the returned values for this request
- limit (int, optional)
- The limit number of values for this request
- channelId (int, required)
- Id of a channel that wants the result
- 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.
- sort (movieSortType, optional)
- SortTypeId to order result by the chosen field. Default ordered by Title property.
- productTypeFilter (productType, optional)
- List of ProductType separated by comma to filter the result.
Returns
Returns a JSON object containing an array of Product.
Example:
{
- "Offset": 0,
- "Limit": 100,
- "Count": 14,
- "List":
- [ Array of Product objects ]
}
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 |
3.2 | Method deprecated | Francisco Milagro |