V1.Metadata.Common:Schedule

Jump to: navigation, search

Schedule

Contains a schedule of television broadcasts.

Elements

NameTypeDescription
airings VideoAiring [ ] Broadcasts that include the person or group specified in the request.
duration Integer Number of minutes the broadcast schedule covers.
locale String Language and country code of the response.
name String Name of the television service in less than 50 characters.
serviceId Integer Database ID of the television service.
serviceType ServiceType Type of television service.
startDateTime DateTime Starting date and time of the broadcast schedule.
timeZones TimeZoneInfo [ ] UTC offset applicable to a television service and when the offset begins and ends. Television broadcast times are returned in UTC time, and you need to apply the offset to calculate the local time. UTC offsets change with daylight savings time.

XML Response Example

<schedule>
  <locale>en-CA</locale>
  <serviceId>890113</serviceId>
  <name>Regina - SaskTel Max</name>
  <serviceType>Cable</serviceType>
  <startDateTime>2011-06-25T00:00:00.0000000Z</startDateTime>
  <duration>1800</duration>
  <timezones>
    <TimeZoneInfo>
      <startDateTime>2011-01-01T06:00:00.0000000Z</startDateTime>
      <endDateTime>2012-01-01T06:00:00.0000000Z</endDateTime>
      <offset>-360</offset>
    </TimeZoneInfo>
  </timezones>
  <airings>
    <VideoAiring>
      <ids>
        <amgMovieId i:nil="true"/>
        <cosmoId>2946507</cosmoId>
      </ids>
      <time>2011-06-25T20:00:00.0000000Z</time>
      <type>Unknown</type>
      <aspectRatio i:nil="true"/>
      <callLetters>DUSK</callLetters>
      <category>Movie</category>
      <atts>257</atts>
      <channel>83</channel>
      <colorType>Color</colorType>
      <desc>Harrison Ford and Michelle Pfeiffer play a couple whose house appears to be haunted in this Hitchcockian thriller from director Robert Zemeckis (“Cast Away”). Jody: Diana Scarwid. Dr. Drayton: Joe Morton. Warren: James Remar.</desc>
      <descSource i:nil="true"/>
      <duration>180</duration>
      <episodeTitle i:nil="true"/>
      <hdLevel>Unknown</hdLevel>
      <ratings>
        <tv>None</tv>
        <movie>PG-13</movie>
      </ratings>
      <parentNetworkId>0</parentNetworkId>
      <seriesId i:nil="true"/>
      <serviceId>890113</serviceId>
      <showingType>Unknown</showingType>
      <sourceDisplayName>DUSK-E</sourceDisplayName>
      <sourceId>10128</sourceId>
      <sourceFullName>DUSK (East)</sourceFullName>
      <sourceName>DUSK</sourceName>
      <subcategory>mystery &amp; suspense</subcategory>
      <subtitleLanguage i:nil="true"/>
      <title>What Lies Beneath</title>
    </VideoAiring>
    <VideoAiring>
      <ids>
        <amgMovieId i:nil="true"/>
        <cosmoId>2946507</cosmoId>
      </ids>
      <time>2011-06-25T14:00:00.0000000Z</time>
      <type>Unknown</type>
      <aspectRatio i:nil="true"/>
      <callLetters>DUSK</callLetters>
      <category>Movie</category>
      <atts>257</atts>
      <channel>83</channel>
      <colorType>Color</colorType>
      <desc>Harrison Ford and Michelle Pfeiffer play a couple whose house appears to be haunted in this Hitchcockian thriller from director Robert Zemeckis (“Cast Away”). Jody: Diana Scarwid. Dr. Drayton: Joe Morton. Warren: James Remar.</desc>
      <descSource i:nil="true"/>
      <duration>180</duration>
      <episodeTitle i:nil="true"/>
      <hdLevel>Unknown</hdLevel>
      <ratings>
        <tv>None</tv>
        <movie>PG-13</movie>
      </ratings>
      <parentNetworkId>0</parentNetworkId>
      <seriesId i:nil="true"/>
      <serviceId>890113</serviceId>
      <showingType>Unknown</showingType>
      <sourceDisplayName>DUSK-E</sourceDisplayName>
      <sourceId>10128</sourceId>
      <sourceFullName>DUSK (East)</sourceFullName>
      <sourceName>DUSK</sourceName>
      <subcategory>mystery &amp; suspense</subcategory>
      <subtitleLanguage i:nil="true"/>
      <title>What Lies Beneath</title>
    </VideoAiring>
  </airings>
</schedule>

JSON Response Example

"schedule":{
   "locale":"en-US",
   "serviceId":360861,
   "name":"Beverly Hills - Time Warner Cable- Walnut/Diamond Bar",
   "serviceType":"Cable",
   "startDateTime":"2011-06-24T19:02:55.5273880Z",
   "duration":20160,
   "timezones":[
      {
         "startDateTime":"2011-03-13T10:00:00.0000000Z",
         "endDateTime":"2011-11-06T09:00:00.0000000Z",
         "offset":-420
      }
   ],
   "airings":[
      {
         "ids":{
            "amgMovieId":null,
            "cosmoId":"3236816"
         },
         "time":"2011-06-28T00:00:00.0000000Z",
         "type":0,
         "aspectRatio":null,
         "callLetters":"USA",
         "category":"Other",
         "atts":291,
         "channel":"33",
         "colorType":"Color",
         "desc":"A kidnapping investigation links a past case with which Cragen was involved to a 12-year-old (Ian Cronin) whose adoption is deemed illegal. Mark Sanford: Bruce Altman. Robert Cook: David Aaron Baker. Erin Blake: Ellen Parker. Adam Blake: John Sloman. Margaret Talmadge: Celia Weston. Herbert Talmadge: John Seitz. Cragen: Dann Florek. Munch: Richard Belzer. Cabot: Stephanie March.",
         "descSource":null,
         "duration":60,
         "episodeTitle":"Stolen",
         "hdLevel":0,
         "ratings":{
            "tv":"TV-14",
            "movie":null
         },
         "parentNetworkId":101,
         "seriesId":"1745480",
         "serviceId":360861,
         "showingType":0,
         "sourceDisplayName":"USA-W",
         "sourceId":2534,
         "sourceFullName":"USA Network (West)",
         "sourceName":"USA",
         "subcategory":"drama",
         "subtitleLanguage":null,
         "title":"Law & Order: Special Victims Unit"
      },
      {
         "ids":{
            "amgMovieId":null,
            "cosmoId":"3662119"
         },
         "time":"2011-07-01T07:00:00.0000000Z",
         "type":0,
         "aspectRatio":null,
         "callLetters":"KCOP",
         "category":"Other",
         "atts":289,
         "channel":"13",
         "colorType":"Color",
         "desc":"Gloria Reuben plays a graphics designer who returns from five months in rehab to discover that her daughter is missing. Terry Jessup: David Harbour. Thelma Price: Capathia Jenkins. Virginia Preston: Ileen Getz. Karen Jacobs: Aleta Mitchell. Fin: Ice-T. Benson: Mariska Hargitay. Stabler: Christopher Meloni.",
         "descSource":null,
         "duration":60,
         "episodeTitle":"Dolls",
         "hdLevel":0,
         "ratings":{
            "tv":"TV-14",
            "movie":null
         },
         "parentNetworkId":154,
         "seriesId":"1745480",
         "serviceId":360861,
         "showingType":0,
         "sourceDisplayName":"KCOP",
         "sourceId":708,
         "sourceFullName":"KCOP",
         "sourceName":"KCOP",
         "subcategory":"drama",
         "subtitleLanguage":null,
         "title":"Law & Order: Special Victims Unit"
      }
 
Personal tools