Difference between revisions of "EditorialContent"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_DataType_Spec |Description= |Members= {{{!}} border="2" style="width:800px" cellspacing="0" cellpadding="10" {{!}}- style="background:#88ccff;font-size:110%" ! Fie...")
 
Line 13: Line 13:
 
! ID
 
! ID
 
{{!}} int
 
{{!}} int
{{!}} Unique identifier for the Subscription
+
{{!}} Editorial content id
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
! Title
+
! Name
 
{{!}} String
 
{{!}} String
{{!}} The title for the subscription that will be shown to end users
+
{{!}} The name of the editorial content
 +
{{!}}- valign="top"
 +
 
 +
! Url
 +
{{!}} String
 +
{{!}} Taken from URL column in the Editorial Content info
 +
{{!}}- valign="top"
 +
 
 +
! Description
 +
{{!}} String
 +
{{!}} Taken from Description column in the Editorial Content info
 +
{{!}}- valign="top"
 +
 
 +
! Keywords
 +
{{!}} String
 +
{{!}} Taken from Keywords column in the Editorial Content info
 +
{{!}}- valign="top"
 +
 
 +
! CatalogItemType
 +
{{!}} int
 +
{{!}} Property taken from object linked to the Editorial Content (0 if there is no catalog item related to the editorial content, just a banner)
 +
{{!}}- valign="top"
 +
 
 +
! CatalogItemId
 +
{{!}} int
 +
{{!}} Property taken from object linked to the Editorial Content (0 if there is no catalog item related to the editorial content, just a banner)
 +
{{!}}- valign="top"
 +
 
 +
! ResizableImages
 +
{{!}} Array of [[Image]]
 +
{{!}} It will only return the image matching the request deviceType, else it will use the default one (if exists). Thumbbox will not be used.
 +
{{!}}- valign="top"
 +
 
 +
! EventStartDate
 +
{{!}} Long
 +
{{!}} Timestamp that represents a date of event start.
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
Line 27: Line 62:
  
 
{
 
{
:        "ID": 51,
+
:        "ID": 64,
:        "Title": "GVP2.0_RFA_SG_TSA",
+
:        "Name": "RecomendadoUX1",
:        "Description": "Description for GVP2.0_RFA_SG_TSA\r\nUsed for GVP2.0 RFA tets cases",
+
:        "Url": "",
:        "ShortDescription": "Short description about this purchase",
+
:        "Description": "",
:        "DateStart": 1339538400,
+
:        "Keywords": "",
:        "DateEnd": 1434751200,
+
:        "CatalogItemType": 1,
:        "Type": 1,
+
:        "CatalogItemId": 565,
:        "Status": 1,
+
:        "ResizableImages": [
:        "TrialDays": 0,
+
::         {
:       "Images": [
+
:::            Array of [[Image]]
::         Array of [[Image]] object
+
::          }
:        ]
+
:        ],
:        "RequiredDays": 45,
+
:        "EventStartDate": 0
 
}
 
}
  

Revision as of 03:00, 20 March 2015


Members

Field Data Type Description
ID int Editorial content id
Name String The name of the editorial content
Url String Taken from URL column in the Editorial Content info
Description String Taken from Description column in the Editorial Content info
Keywords String Taken from Keywords column in the Editorial Content info
CatalogItemType int Property taken from object linked to the Editorial Content (0 if there is no catalog item related to the editorial content, just a banner)
CatalogItemId int Property taken from object linked to the Editorial Content (0 if there is no catalog item related to the editorial content, just a banner)
ResizableImages Array of Image It will only return the image matching the request deviceType, else it will use the default one (if exists). Thumbbox will not be used.
EventStartDate Long Timestamp that represents a date of event start.


Example

{

"ID": 64,
"Name": "RecomendadoUX1",
"Url": "",
"Description": "",
"Keywords": "",
"CatalogItemType": 1,
"CatalogItemId": 565,
"ResizableImages": [
{
Array of Image
}
],
"EventStartDate": 0

}


Known issues

None


Version history

API Version Number Change description Changes author
3.0 Initial data type implementation Ricardo Calvo


See also