Difference between revisions of "CatalogItem"

From Gvp-public
Jump to navigation Jump to search
Line 118: Line 118:
 
           "ExternalUrl" : "",
 
           "ExternalUrl" : "",
 
           "Subscriptions": [1,2,3],
 
           "Subscriptions": [1,2,3],
           "CommercializationType":1
+
           "CommercializationType":1,
 +
          "Trailers": [
 +
            {
 +
              "ID": 6093,
 +
              "PlayType": 16,
 +
              "Quality": 3
 +
            },
 +
            {
 +
              "ID": 6095,
 +
              "PlayType": 16,
 +
              "Quality": 3
 +
            },
 +
            {
 +
              "ID": 6097,
 +
              "PlayType": 8,
 +
              "Quality": 4
 +
            },
 +
            {
 +
              "ID": 6098,
 +
              "PlayType": 1,
 +
              "Quality": 3
 +
            },
 +
            {
 +
              "ID": 6099,
 +
              "PlayType": 4,
 +
              "Quality": 4
 +
            },
 +
            {
 +
              "ID": 6101,
 +
              "PlayType": 1,
 +
              "Quality": 4
 +
            },
 +
            {
 +
              "ID": 6105,
 +
              "PlayType": 2,
 +
              "Quality": 3
 +
            },
 +
            {
 +
              "ID": 6126,
 +
              "PlayType": 1,
 +
              "Quality": 2
 +
            },
 +
            {
 +
              "ID": 6142,
 +
              "PlayType": 2,
 +
              "Quality": 2
 +
            }
 +
          ]
 +
 
 
         },
 
         },
 
         "StartDate": 1385856000,
 
         "StartDate": 1385856000,
Line 148: Line 196:
 
{{!}} Added:
 
{{!}} Added:
 
* CommercializationType and Subscriptions added to ExtraMetadata object
 
* CommercializationType and Subscriptions added to ExtraMetadata object
 +
* Trailers added to ExtraMetadata object
 
Removed:
 
Removed:
 
* Images array
 
* Images array
 
* ImageUrl
 
* ImageUrl
 +
* TrailerPlayReady, TrailerWidevine, TrailerSS, TrailerWVCBS, TrailerHLS, TrailerWVAS properties from ExtraMetadata
 
{{!}}  Francisco Milagro
 
{{!}}  Francisco Milagro
 
{{!}}- valign="top"
 
{{!}}- valign="top"

Revision as of 09:55, 4 September 2015

Infobox info icon.svg.png

You are accessing the latest version of this data type, according to /service3.0 (3.2) specification. To access older versions of this object, access CatalogItem_3.0


Represents a CatalogItem object. Catalog Item is generic object that it can be any types of CatalogItemType.

Members

Field Data Type Description
AgeRating String
Cast String
CatalogItemId int
CatalogItemType CatalogItemType
EndDate long
ExtraMetadata ExtraMetadata object Returns ExtraMetadata Type object, containing different data depending on the CatalogItemType.
Genres String Return a list of String separated by comma.
IsAdult bool
Keywords String
ProductType ProductType
Quality Quality
ResizableImages ImageType
ShortDescription String
StartDate long
StatusDate long
T9Title String
Title String


Example

{

       "CatalogItemId": 28771,
       "CatalogItemType": 1024,
       "Title": "",
       "Keywords": null,
       "Cast": "",
       "IsAdult": false,
       "AgeRating": "L",
       "T9Title": "",
       "Genres": "Musical",
       "ExtraMetadata": {
         "Stars": "3",
         "Audience": "0",
         "ExternalUrl" : "",
         "Subscriptions": [1,2,3],
         "CommercializationType":1,
         "Trailers": [
           {
             "ID": 6093,
             "PlayType": 16,
             "Quality": 3
            },
            {
             "ID": 6095,
             "PlayType": 16,
             "Quality": 3
            },
            {
             "ID": 6097,
             "PlayType": 8,
             "Quality": 4
           },
           {
             "ID": 6098,
             "PlayType": 1,
             "Quality": 3
           },
           {
             "ID": 6099,
             "PlayType": 4,
             "Quality": 4
           },
           {
             "ID": 6101,
             "PlayType": 1,
             "Quality": 4
           },
           {
             "ID": 6105,
             "PlayType": 2,
             "Quality": 3
           },
           {
             "ID": 6126,
             "PlayType": 1,
             "Quality": 2
           },
           {
             "ID": 6142,
             "PlayType": 2,
             "Quality": 2
           }
         ]
       },
       "StartDate": 1385856000,
       "EndDate": 1406764800,
       "ShortDescription": "",
       "ProductType": 6,
       "Quality": 2,

}


Known issues

None


Version history

API Version Number Change description Changes author
1.0 Initial data type implementation Harley Cabral


! 3.2 | Added:

  • CommercializationType and Subscriptions added to ExtraMetadata object
  • Trailers added to ExtraMetadata object

Removed:

  • Images array
  • ImageUrl
  • TrailerPlayReady, TrailerWidevine, TrailerSS, TrailerWVCBS, TrailerHLS, TrailerWVAS properties from ExtraMetadata

| Francisco Milagro |- valign="top"


See also