Difference between revisions of "GetLiveChannelsReducedLiveSchedules"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_Method_Spec| Description=Returns the list of reduced live schedules (as array of ReducedLiveSchedule objects) for the provided channel IDs, time frame (DateTime value t...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Api_Method_Spec|
 
{{Api_Method_Spec|
Description=Returns the list of reduced live schedules (as array of [[ReducedLiveSchedule]] objects) for the provided channel IDs, time frame (DateTime value type represents dates and times measured in 100-nanosecond units called ticks, and a particular date is the number of ticks since 12:00 midnight, January 1, 0001 A.D. (C.E.) in the GregorianCalendar calendar) and adult filter.
+
Description=Returns the list of reduced live schedules (as array of [[ReducedLiveSchedule]] objects) for the provided channel IDs, time frame (DateTime value type represents dates and times measured in 100-nanosecond units called ticks, and a particular date is the number of ticks since 12:00 midnight, January 1, 0001 A.D. (C.E.) in the GregorianCalendar calendar), adult filter and program type filter. It is also possible to restrict the list of results to only include "highlighted" (rating > 0) contents.
  
 
|Parameters=
 
|Parameters=
Line 56: Line 56:
 
|ParamRequired=optional
 
|ParamRequired=optional
 
|ParamDescription=Adult filter to apply to the list (default = all)
 
|ParamDescription=Adult filter to apply to the list (default = all)
 +
}}
 +
{{Api_Parameter|
 +
ParamName=programTypeFilter
 +
|ParamType=[[ProgramType]]
 +
|ParamRequired=optional
 +
|ParamDescription=Filter results to only include the provided program type (default = all; no filtering)
 +
}}
 +
{{Api_Parameter|
 +
ParamName=highlightsOnlyFilter
 +
|ParamType=bool
 +
|ParamRequired=optional
 +
|ParamDescription=If true, only "highlighted" contents (rating>0) are returned (default = false)
 
}}
 
}}
  
Line 91: Line 103:
 
{{!}} Initial method design
 
{{!}} Initial method design
 
{{!}} Harley Cabral
 
{{!}} Harley Cabral
 +
{{!}}- valign="top"
 +
! 3.1
 +
{{!}} Included parameters for program_type and highlights filtering
 +
{{!}} Jose A. Jiménez
 
{{!}}}
 
{{!}}}
  

Latest revision as of 14:14, 20 April 2015

Description

Returns the list of reduced live schedules (as array of ReducedLiveSchedule objects) for the provided channel IDs, time frame (DateTime value type represents dates and times measured in 100-nanosecond units called ticks, and a particular date is the number of ticks since 12:00 midnight, January 1, 0001 A.D. (C.E.) in the GregorianCalendar calendar), adult filter and program type filter. It is also possible to restrict the list of results to only include "highlighted" (rating > 0) contents.

Parameters

  • token (String, required)
A valid token for identifying the API session context and logged user.
  • offset (int, optional)
Index of the initial result of the list, begins with 0
  • limit (int, optional)
Quantity of results showed, with the maximum of 100
  • liveChannelIds (array of int, required)
List of Channel IDs
  • startDate (DateTime, required)
starting time period for the query (long int)
  • endDate (DateTime, required)
ending time period for the query (long int)
  • imageWidth (int, optional)
Channel Image width (default=0)
  • imageHeight (int, optional)
Channel Image width (default=0)
Adult filter to apply to the list (default = all)
Filter results to only include the provided program type (default = all; no filtering)
  • highlightsOnlyFilter (bool, optional)
If true, only "highlighted" contents (rating>0) are returned (default = false)


Returns

Returns a JSON object with a list of ReducedLiveSchedule.

Example:

{

"Offset": 0,
"Limit": 10,
"Count": 48,
[ Array of ReducedLiveSchedule 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.1 Included parameters for program_type and highlights filtering Jose A. Jiménez


See also