V9.Common:ChannelSchedule

Jump to: navigation, search

ChannelSchedule

Contains the times that a television source broadcasts on a channel. The times specified are UTC time, so you need to apply the time zone offset that applies to the television service to determine the local time.

Elements

NameTypeDescription
EffectiveTime Integer When the source starts broadcasting on the channel, in HHMM (24-hour) format.
EndTime Integer When the source ends the broadcast started at EffectiveTime, in HHMM (24-hour) format.
Flag String Days of the week the time is in effect, shown as a 7-character string representing the 7 days of a week starting at Sunday, with a Y or N in each character position. For example, a Monday through Friday schedule would be specified as: NYYYYYN.

XML Response Example

<ChannelSchedules>
     <ChannelSchedule Flag="NYYYYYN" EffectiveTime="0" EndTime="759"/>
     <ChannelSchedule Flag="NYYYYYN" EffectiveTime="1300" EndTime="2359"/>
</ChannelSchedules>

JSON Response Example

ChannelSchedules": [
    {
        "
Flag":"NYYYYYN",
        "
EffectiveTime":0,
        "
EndTime":759
    },
    {
        "
Flag":"NYYYYYN",
        "
EffectiveTime":1300,
        "
EndTime":2359
    }
]
 
Personal tools