Snr/common/v2.1/result-search

Jump to: navigation, search

Result

Contains information about an item returned in a Rovi Search response.

Elements

NameTypeDescription
album album [ ] A Rovi Music Album/Info response, returned only for a request with an entity type of album.
availabilities availability [ ] Schedule information for a program on a television service, returned when a result is also found in a television service channel lineup and the request specified the television service with the clu parameter.
id string Database ID for an item returned in a response.
messages string [ ] Reasons why the item was selected.
movie movie [ ] A Rovi DVDs Movie/Info response, returned only for a request with an entity type of movie or tvseries.
name name [ ] A Name/Info response, returned only for a request with an entity type of artist.
relevance relevance [ ] Rating of the item. Items with a higher relevance appear earlier in the response list.
song song [ ] A Rovi Music Song/Info response, returned only for a request with an entity type of song.
type string Entity type of the item.
video video [ ] A Rovi Video Video/Info response, returned only for requests with a video endpoint.

XML Response Example

<result>
  <type>artist</type>
  <relevance>
    <code>Score</code>
    <value>2.4287589</value>
  </relevance>
  <availabilties xmlns="com.rovicorp.snrservice" />
  <id>MN0000963005</id>
  <messages i:nil="true" />
  <name>
    <ids>
      <amgClassicalId>Q 253387</amgClassicalId>
      <amgMovieId>P 66596</amgMovieId>
      <amgPopId>P 278403</amgPopId>
      <cosmoId>100947</cosmoId>
      <nameId>MN0000963005</nameId>
    </ids>
    <name>Will Smith</name>
    <isGroup>false</isGroup>
    <primaryMedia>Movies</primaryMedia>
    <musicGenres>
      <Genre>
        <id>MA0000002816</id>
        <name>Rap</name>
        <weight>10</weight>
      </Genre>
      <Genre>
        <id>MA0000002809</id>
        <name>R&B</name>
        <weight>9</weight>
      </Genre>
      <Genre>
        <id>MA0000002613</id>
        <name>Pop/Rock</name>
        <weight>7</weight>
      </Genre>
    </musicGenres>
    <movieGenres>
      <Genre>
        <id>D 648</id>
        <name>Comedy</name>
        <weight>99</weight>
      </Genre>
      <Genre>
        <id>D 649</id>
        <name>Drama</name>
        <weight>61</weight>
      </Genre>
      <Genre>
        <id>D 652</id>
        <name>Science Fiction</name>
        <weight>28</weight>
      </Genre>
    </movieGenres>
    <active>
      <a:string>1980s</a:string>
      <a:string>1990s</a:string>
      <a:string>2000s</a:string>
      <a:string>2010s</a:string>
    </active>
    <birth>
      <date>1968-09-25</date>
      <place>Philadelphia, PA</place>
    </birth>
    <death>
      <date />
      <place />
    </death>
    <country>United States</country>
    <gender>M</gender>
    <period>1986-2015</period>
    <headlineBio>Fresh Prince half of classic old school pop rappers became one of the top actors in the US, hitmaking MC.</headlineBio>
    <classicalBio i:nil="true" />
    <classicalBioUri i:nil="true" />
    <discography i:nil="true" />
    <discographyUri>http://api.rovicorp.com/data/v1.1/name/discography?format=xml&apikey=4p1k3y&amgmovieid=P+66596</discographyUri>
    <filmography i:nil="true" />
    <filmographyUri>http://api.rovicorp.com/data/v1.1/name/filmography?format=xml&apikey=4p1k3y&amgmovieid=P+66596</filmographyUri>
    <followers i:nil="true" />
    <followersUri>http://api.rovicorp.com/data/v1.1/name/followers?format=xml&apikey=4p1k3y&amgmovieid=P+66596</followersUri>
    <groupMembers i:nil="true" />
    <groupMembersUri i:nil="true" />
    <memberOf i:nil="true" />
    <memberOfUri>http://api.rovicorp.com/data/v1.1/name/memberOf?format=xml&apikey=4p1k3y&amgmovieid=P+66596</memberOfUri>
    <images i:nil="true" />
    <imagesUri>http://api.rovicorp.com/data/v1.1/name/images?format=xml&apikey=4p1k3y&amgmovieid=P+66596</imagesUri>
    <influencers i:nil="true" />
    <influencersUri>http://api.rovicorp.com/data/v1.1/name/influencers?format=xml&apikey=4p1k3y&amgmovieid=P+66596</influencersUri>
    <similars i:nil="true" />
    <similarsUri>http://api.rovicorp.com/data/v1.1/name/similars?format=xml&apikey=4p1k3y&amgmovieid=P+66596</similarsUri>
    <moods i:nil="true" />
    <moodsUri>http://api.rovicorp.com/data/v1.1/name/moods?format=xml&apikey=4p1k3y&amgmovieid=P+66596</moodsUri>
    <movieBio i:nil="true" />
    <movieBioUri>http://api.rovicorp.com/data/v1.1/name/movieBio?format=xml&apikey=4p1k3y&amgmovieid=P+66596</movieBioUri>
    <musicBio i:nil="true" />
    <musicBioUri>http://api.rovicorp.com/data/v1.1/name/musicBio?format=xml&apikey=4p1k3y&amgmovieid=P+66596</musicBioUri>
    <musicCredits i:nil="true" />
    <musicCreditsUri>http://api.rovicorp.com/data/v1.1/name/musicCredits?format=xml&apikey=4p1k3y&amgmovieid=P+66596</musicCreditsUri>
    <songs i:nil="true" />
    <songsUri>http://api.rovicorp.com/data/v1.1/name/songs?format=xml&apikey=4p1k3y&amgmovieid=P+66596</songsUri>
    <musicStyles i:nil="true" />
    <musicStylesUri>http://api.rovicorp.com/data/v1.1/name/musicStyles?format=xml&apikey=4p1k3y&amgmovieid=P+66596</musicStylesUri>
    <themes i:nil="true" />
    <themesUri i:nil="true" />
    <videos i:nil="true" />
    <videosUri>http://api.rovicorp.com/data/v1.1/name/videos?format=xml&apikey=4p1k3y&amgmovieid=P+66596</videosUri>
    <movieStyles i:nil="true" />
    <movieStylesUri>http://api.rovicorp.com/data/v1.1/name/movieStyles?format=xml&apikey=4p1k3y&amgmovieid=P+66596</movieStylesUri>
    <contemporaries i:nil="true" />
    <contemporariesUri>http://api.rovicorp.com/data/v1.1/name/contemporaries?format=xml&apikey=4p1k3y&amgmovieid=P+66596</contemporariesUri>
    <associatedWith i:nil="true" />
    <associatedWithUri i:nil="true" />
    <collaboratorWith i:nil="true" />
    <collaboratorWithUri i:nil="true" />
    <compositions i:nil="true" />
    <compositionsUri>http://api.rovicorp.com/data/v1.1/name/compositions?format=xml&apikey=4p1k3y&amgmovieid=P+66596</compositionsUri>
    <aliases i:nil="true" />
    <aliasesUri>http://api.rovicorp.com/data/v1.1/name/aliases?format=xml&apikey=4p1k3y&amgmovieid=P+66596</aliasesUri>
    <awards i:nil="true" />
    <awardsUri>http://api.rovicorp.com/data/v1.1/name/awards?format=xml&apikey=4p1k3y&amgmovieid=P+66596</awardsUri>
    <web i:nil="true" />
    <webUri>http://api.rovicorp.com/data/v1.1/name/web?format=xml&apikey=4p1k3y&amgmovieid=P+66596</webUri>
    <factsheets i:nil="true" />
    <factsheetsUri>http://api.rovicorp.com/data/v1.1/name/factsheets?format=xml&apikey=4p1k3y&amgmovieid=P+66596</factsheetsUri>
    <schedule i:nil="true" />
    <scheduleUri i:nil="true" />
    <credits i:nil="true" />
    <creditsUri>http://api.rovicorp.com/data/v1.1/name/credits?format=xml&apikey=4p1k3y&amgmovieid=P+66596</creditsUri>
    <linear i:nil="true" />
  </name>
</result>

JSON Response Example

{
   "type":"tvseries",
   "relevance":[
      {
         "code":"Score",
         "value":2.3400931
      }
   ],
   "availabilities":[
      {
         "cosmosource":16846,
         "source":"CLU_360861",
         "end":"20140325220000+0000",
         "format":"sd",
         "start":"20140325210000+0000",
         "available_as":{
            "id":9616616,
            "type":"CosmoIdProgram"
         }
      },
      {
         "cosmosource":16846,
         "source":"CLU_360861",
         "end":"20140325210000+0000",
         "format":"sd",
         "start":"20140325200000+0000",
         "available_as":{
            "id":9279828,
            "type":"CosmoIdProgram"
         }
      }
   ],
   "id":3899298,
   "messages":null,
   "video":{
      "ids":{
         "amgMovieId":null,
         "cosmoId":"3899298",
         "iguideId":3899298,
         "pidPaid":null,
         "videoId":null
      },
      "seriesIds":null,
      "masterTitle":"NCIS",
      "secondaryTitle":"",
      "episodeTitle":null,
      "category":"Other",
      "color":"Color",
      "lastAirDate":null,
      "originalAirDate":"2003-09-23T00:00:00.00Z",
      "programType":"Series",
      "releaseYear":2003,
      "duration":60,
      "subcategory":"crime drama",
      "syndicated":false,
      "programLanguage":"English",
      "partNumber":null,
      "partTotal":null,
      "parentalRatings":null,
      "parentalRatingsUri":"http://api.rovicorp.com/data/v1.1/video/parentalRatings?format=json&apikey=4p1k3y&cosmoid=3899298",
      "cast":null,
      "castUri":"http://api.rovicorp.com/data/v1.1/video/cast?format=json&apikey=4p1k3y&cosmoid=3899298",
      "crew":null,
      "crewUri":"http://api.rovicorp.com/data/v1.1/video/crew?format=json&apikey=4p1k3y&cosmoid=3899298",
      "awards":null,
      "awardsUri":"http://api.rovicorp.com/data/v1.1/video/awards?format=json&apikey=4p1k3y&cosmoid=3899298",
      "images":null,
      "imagesUri":"http://api.rovicorp.com/data/v1.1/video/images?format=json&apikey=4p1k3y&cosmoid=3899298",
      "clip":null,
      "clipUri":"http://api.rovicorp.com/data/v1.1/video/clip?format=json&apikey=4p1k3y&cosmoid=3899298",
      "seasons":null,
      "seasonsUri":"http://api.rovicorp.com/data/v1.1/video/seasons?format=json&apikey=4p1k3y&cosmoid=3899298",
      "variants":null,
      "variantsUri":"http://api.rovicorp.com/data/v1.1/video/variants?format=json&apikey=4p1k3y&cosmoid=3899298",
      "schedule":"",
      "scheduleUri":null,
      "event":null,
      "eventUri":null,
      "keywords":null,
      "keywordsUri":"http://api.rovicorp.com/data/v1.1/video/keywords?format=json&apikey=4p1k3y&cosmoid=3899298",
      "moods":null,
      "moodsUri":null,
      "related":null,
      "relatedUri":"http://api.rovicorp.com/data/v1.1/video/related?format=json&apikey=4p1k3y&cosmoid=3899298",
      "review":null,
      "reviewUri":null,
      "synopsis":null,
      "synopsisUri":"http://api.rovicorp.com/data/v1.1/video/synopsis?format=json&apikey=4p1k3y&cosmoid=3899298",
      "themes":null,
      "themesUri":"http://api.rovicorp.com/data/v1.1/video/themes?format=json&apikey=4p1k3y&cosmoid=3899298",
      "tones":null,
      "tonesUri":"http://api.rovicorp.com/data/v1.1/video/tones?format=json&apikey=4p1k3y&cosmoid=3899298"
   }
}
 
Personal tools