Common/video/v1.1/VideoEvent

Jump to: navigation, search

VideoEvent

Contains information about a televised sporting event.

Elements

NameTypeDescription
id string Cosmo database ID for the program.
organization string League name.
subtitle string Subtitle of the event.
team1 string First team name.
team2 string Second team name.

XML Response Example

<VideoEvent xmlns="com.rovicorp.metadataservice" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <status>ok</status>
  <code>200</code>
  <messages i:nil="true"/>
  <build>1.6.1.12</build>
  <parameters>
    <apiKey>4p1k3y</apiKey>
    <id>14363849</id>
    <format>xml</format>
  </parameters>
  <serverName>tul1cstw2</serverName>
  <startTime>2011-08-03T22:57:03.1598346Z</startTime>
  <endTime>2011-08-03T22:57:03.1598346Z</endTime>
  <duration>0</duration>
  <parentIds>
    <cosmoId>14363849</cosmoId>
  </parentIds>
  <event>
    <subtitle>2010: Colts vs. Saints</subtitle>
    <team1>Indianapolis Colts</team1>
    <team2>New Orleans Saints</team2>
    <organization i:nil="true"/>
    <id>14363849</id>
  </event>
</VideoEvent>

JSON Response Example

{
  "status":"ok",
  "code":200,
  "messages":null,
  "build":"1.6.1.12",
  "parameters":{
    "apiKey":"4p1k3y",
    "id":"14363849"
  },
  "serverName":"tul1cstw2",
  "startTime":"2011-08-03T23:16:31.2449523Z",
  "endTime":"2011-08-03T23:16:31.2605776Z",
  "duration":15,
  "parentIds":{
    "cosmoId":"14363849"
  },
  "event":{
      "subtitle":"2010: Colts vs. Saints",
      "team1":"Indianapolis Colts",
      "team2":"New Orleans Saints",
      "organization":null,
      "id":"14363849"
  }
}
 
Personal tools