Snr/common/v2.1/availability

Jump to: navigation, search

Availability

Contains information about an item found in an upcoming schedule on a television service channel lineup.

Elements

NameTypeDescription
available_as available_as Type of content and ID of the item.
cosmosource integer The ID of the source of the programming content on the channel the show will broadcast on. This is the channel Source ID identified in Rovi TV Listings. A single source may provide content to multiple channels.
end string The UTC date and time the broadcast ends.
format string Format of the item:
  • ed
  • hd
  • sd
  • unknown 

Enhanced definition
High definition
Standard definition
Unknown

source string The value requested with the clu parameter.
start string The UTC date and time the broadcast begins.

XML Response Example

<availability>
   <format>sd</format>
   <source>CLU_360861<source>
   <end>20140325220000+0000</end>
   <cosmosource>16846</cosmosource>
   <start>20140325210000+0000</start>
   <available_as>
      <id>9616616</id>
      <type>CosmoIdProgram</type>
   </available_as>
</availability>

JSON Response Example

{
   "start":"20140323040000+0000",
   "source":"CLU_360861",
   "end":"20140323050000+0000",
   "cosmosource":11616,
   "format":"sd",
   "available_as":{
      "id":14056331,
      "type":"CosmoIdProgram"
   }
}
 
Personal tools