Difference between revisions of "CatalogItem"

From Gvp-public
Jump to navigation Jump to search
 
(45 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="background-color:yellow;border:1px black solid">
+
{{Information|Message=You are accessing the latest version of this data type, according to <span style="font-weight:bold">/service3.0 (3.2)</span> specification. To access older versions of this object, access [[CatalogItem_3.0]]}}
<div style="width:10%"></div>
 
<div style="width:90%;padding:10px">
 
You are viewing the latest version of this item, according to <span style="font-weight:bold">/service3.0 (3.2)</span> signature. To access older versions of this object, access [[CatalogItem_3.0]]
 
</div>
 
</div>
 
  
 
{{Api_DataType_Spec
 
{{Api_DataType_Spec
Line 43: Line 38:
  
 
! ExtraMetadata
 
! ExtraMetadata
{{!}} Array of [[ExtraMetadataType]]
+
{{!}} [[ExtraMetadata]] object
{{!}} Return an array of ExtraMetadataType with all value added with key:value
+
{{!}} Returns ExtraMetadata Type object, containing different data depending on the CatalogItemType.
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
Line 50: 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 111: Line 96:
 
{{!}}  
 
{{!}}  
 
{{!}}- valign="top"
 
{{!}}- valign="top"
 +
  
 
{{!}}}
 
{{!}}}
Line 117: Line 103:
  
 
:
 
:
{
+
{
 
         "CatalogItemId": 28771,
 
         "CatalogItemId": 28771,
 
         "CatalogItemType": 1024,
 
         "CatalogItemType": 1024,
Line 127: 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",
 
           "Audience": "0",
 
           "Audience": "0",
           "ExternalUrl" : ""
+
           "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,
 
         "StartDate": 1385856000,
Line 153: Line 171:
 
         "ShortDescription": "",
 
         "ShortDescription": "",
 
         "ProductType": 6,
 
         "ProductType": 6,
         "Quality": 2
+
         "Quality": 2,
}
+
}
 
:
 
:
  
Line 171: Line 189:
 
{{!}} Harley Cabral
 
{{!}} Harley Cabral
 
{{!}}- valign="top"
 
{{!}}- valign="top"
{{!}}}
+
 
 +
! 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"
  
 
|SeeAlso=
 
|SeeAlso=
 
}}
 
}}

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