Difference between revisions of "CatalogItem"

From Gvp-public
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 45: Line 45:
 
{{!}} String
 
{{!}} String
 
{{!}} Return a list of String separated by comma.
 
{{!}} Return a list of String separated by comma.
{{!}}- valign="top"
 
 
! Images
 
{{!}} Array of [[Image]] object
 
{{!}}
 
{{!}}- valign="top"
 
 
! ImageUrl
 
{{!}} String
 
{{!}}
 
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
Line 113: Line 103:
  
 
:
 
:
{
+
{
 
         "CatalogItemId": 28771,
 
         "CatalogItemId": 28771,
 
         "CatalogItemType": 1024,
 
         "CatalogItemType": 1024,
Line 123: Line 113:
 
         "T9Title": "",
 
         "T9Title": "",
 
         "Genres": "Musical",
 
         "Genres": "Musical",
        "Images": [
 
          {
 
            "ID": 818433,
 
            "Url": "https://poster.gvp.telefonica.com/storagearea0/IMAGES/00/00/81/818433_EEE3A14993A6607F.png",
 
            "Width": 600,
 
            "Height": 882,
 
            "Type": 1
 
          },
 
          {
 
            "ID": 818434,
 
            "Url": "https://poster.gvp.telefonica.com/storagearea0/IMAGES/00/00/81/818434_4FFD74858F901B61.jpg",
 
            "Width": 70,
 
            "Height": 102,
 
            "Type": 1
 
          }
 
        ],
 
        "ImageUrl": null,
 
 
         "ExtraMetadata": {
 
         "ExtraMetadata": {
 
           "Stars": "3",
 
           "Stars": "3",
Line 145: 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 152: Line 172:
 
         "ProductType": 6,
 
         "ProductType": 6,
 
         "Quality": 2,
 
         "Quality": 2,
}
+
}
 
:
 
:
  
Line 169: Line 189:
 
{{!}} Harley Cabral
 
{{!}} Harley Cabral
 
{{!}}- valign="top"
 
{{!}}- valign="top"
{{!}}}
 
 
  
 
! 3.2
 
! 3.2
 
{{!}} Added:
 
{{!}} Added:
 
* CommercializationType and Subscriptions added to ExtraMetadata object
 
* 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
 
{{!}}  Francisco Milagro
 
{{!}}- valign="top"
 
{{!}}- valign="top"

Latest revision as of 15:12, 15 October 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

See also

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