V9.Common:GridChannel

Jump to: navigation, search

GridChannel

Contains program scheduling information for a television channel.

Elements

NameTypeDescription
Airings GridAiring [ ] Programs broadcast on the channel during the time period requested.
CallLetters String Call letters of the source that provides programming content to the channel, such as MTV2, SHOW, or DISNEY. Limited to fewer than 18 characters.
Channel String Channel the source is broadcast on, in less than 15 characters.
ChannelImages ImageGrid [ ] Images of a channel logo.
ChannelSchedules ChannelSchedule [ ] Times the source broadcasts on the channel. Returns empty for channels with a Type value of 24-Hours.
DisplayName String Call letters or display name of the source in less than 30 characters.
IconAvailable Boolean Whether an icon is available for the parent network identified by ParentNetworkId: true or false.
IsChannelOverride Boolean Whether the number of this channel is replaced by a user-defined channel number: true or false.
Order Integer Preferred sort order of the channel in the list of channels.
ParentNetworkId Integer Database ID of the network that provides programming to the channel. All channels in a network use the same network logo.
ServiceId Integer Database ID of a television service.
SourceAttributes Integer Sum of the source attribute bit masks that apply to the channel. Mask values are:
ValueMask NameSet if the channel . . .
1HDBroadcasts in high definition.
2MusicOffers music programming.
4PPVOffers pay-per-view broadcasts.
8StetIs a government-access channel with a repeating program schedule.
SourceAttributeTypes SourceAttributeType [ ] Attributes that apply to the source.
SourceId Integer ID of a source that provides programming content to a channel.
SourceLongName String Full name of the source broadcasting on the channel.
SourceType SourceType Type of service that provides the channel content.
Type ChannelType Type of channel.

XML Response Example

<GridChannel ServiceId="360861" SourceId="2515" Order="150461" Channel="15" CallLetters="SUND" DisplayName="SUND" SourceLongName="Sundance Channel (West)" Type="24-Hours" SourceType="Premium" ParentNetworkId="115" IconAvailable="true" IsChannelOverride="false" SourceAttributes="3">
  <ChannelSchedules/>
  <SourceAttributeTypes/>
  <Airings>
    <GridAiring ProgramId="10317621" Title="Mammoth" AiringTime="2011-03-02T23:50:00Z" Duration="130" Color="Color" AiringType="Unknown" CC="true" LetterBox="false" Stereo="true" HD="false" SAP="false" TVRating="TV-MA@LS" MovieRating="NR" Dolby="false" DSS="false" HDLevel="HD Level Unknown" DVS="false" Category="Movie" Subcategory="drama" Sports="false"/>
    <GridAiring ProgramId="11036127" SeriesId="5186586" Title="Ladette to Lady" AiringTime="2011-03-03T02:00:00Z" Duration="60" Color="Color" AiringType="Unknown" CC="true" LetterBox="false" Stereo="false" HD="false" SAP="false" TVRating="TV-14" Dolby="false" DSS="false" HDLevel="HD Level Unknown" DVS="false" Category="Other" Subcategory="reality" Sports="false"/>
  </Airings>
  <ChannelImages>
    <ImageGrid ImageUrl="http://url.concealed.com" ImageId="30976" ImageTitle="Sundance Channel" ImageCaption="Source Logo" ObjectId="2515"  ObjectName="SUN-W; Sundance Channel - West" ImageCredit="Sundance Channel" ImageCreditDisplay="" ImageType="Station Logo" ImageHorizontalResolution="0" ImageVerticalResolution="0" ImageFormatId="" AspectRatio="3:1" ImageOwner="Sundance Channel" ParentImageId="16788169">
      <ObjectType>Source</ObjectType>
      <ImageFormat xsi:nil="true"/>
      <ImageExpiryDateTime xsi:nil="true"/>
      <LastUpdate>2009-02-06T08:37:48.123Z</LastUpdate>
    </ImageGrid>
  </ChannelImages>
</GridChannel>

JSON Response Example

JSON responses are available from our REST TV Listings service.
    {
       "ServiceId": "360861",
       "SourceId": "2515",
       "Order": "150461",
       "Channel": "15",
       "CallLetters": "SUND",
       "DisplayName": "SUND",
       "SourceLongName": "Sundance Channel (West)",
       "Type": "24-Hours",
       "SourceType": "Premium",
       "ParentNetworkId": "115",
       "IconAvailable": "true",
       "ChannelSchedules": "",
       "SourceAttributes": "3"
       "SourceAttributeTypes": "",
       "IsChannelOverride": "false"
       "Airings": [
             {
                "ProgramId": "10317621",
                "Title": "Mammoth",
                "AiringTime": "2011-03-02T23:50:00Z",
                "Duration": "130",
                "Color": "Color",
                "AiringType": "Unknown",
                "CC": "true",
                "LetterBox": "false",
                "Stereo": "true",
                "HD": "false",
                "SAP": "false",
                "TVRating": "TV-MA@LS",
                "MovieRating": "NR",
                "Dolby": "false",
                "DSS": "false",
                "HDLevel": "HD Level Unknown",
                "DVS": "false",
                "Category": "Movie",
                "Subcategory": "drama",
                "Sports": "false"
             },
             {
                "ProgramId": "11036127",
                "SeriesId": "5186586",
                "Title": "Ladette to Lady",
                "AiringTime": "2011-03-03T02:00:00Z",
                "Duration": "60",
                "Color": "Color",
                "AiringType": "Unknown",
                "CC": "true",
                "LetterBox": "false",
                "Stereo": "false",
                "HD": "false",
                "SAP": "false",
                "TVRating": "TV-14",
                "Dolby": "false",
                "DSS": "false",
                "HDLevel": "HD Level Unknown",
                "DVS": "false",
                "Category": "Other",
                "Subcategory": "reality",
                "Sports": "false"
             }
       ],
       "ChannelImages":[
          {
             "ImageUrl": "http:\/\/url.concealed.com",
             "ImageId": "30976",
             "ImageTitle": "Sundance Channel",
             "ImageCaption": "Source Logo",
             "ObjectId": "2515",
             "ObjectType": "Source",
             "ObjectName": "SUN-W; Sundance Channel - West",
             "ImageCredit": "Sundance Channel",
             "ImageCreditDisplay": "",
             "ImageType": "Station Logo",
             "ImageFormat": "",
             "ImageHorizontalResolution": "",
             "ImageVerticalResolution": "",
             "ImageExpiryDateTime": "",
             "LastUpdate": "2009-02-06T08:37:48.123Z",
             "ImageFormatId": "",
             "AspectRatio": "3:1",
             "ImageOwner": "Sundance Channel",
             "ParentImageId": "16788169"
          }
       ]
    }
 
Personal tools