Service

From Gvp-public
Revision as of 16:39, 2 June 2014 by Id02256 (talk | contribs)
Jump to navigation Jump to search

THIS DATA TYPE IS A DRAFT FOR GVP 2.4

Represents a Service object. Services provide access to an specific feature such as rPVR, nPVR, RestarTV, etc. Services are not purchased standalone, they are always commercialized inside Subscriptions.

Members

Field Data Type Description
ID int Unique identifier for the Service
Name String The name for the Service
Description String A long description of the Service that will be shown to end users.
ServiceType int The value for the ServiceType enum that indicates the type of service.
DateStart int The commercialization start date (in Unix Timestamp) of the Service. Out of this time, the service cannot be purchased.
DateEnd int The commercialization end date (in Unix Timestamp) of the subscription. Out of this time, the service cannot be purchased.
ResizableImages Array of Image object NEW IN 2.3!

It provides the list of original images (non resized) associated with this Subscription. The application should use the Thumbox Service to perform dynamic resizing of the images in order to adapt them to the User Interface.


Example

{
        "ID": 51,
        "Name": "rPVR Service",
        "Description": "Description for rPVR Service",
        "ServiceType": 1,
        "DateStart": 1339538400,
        "DateEnd": 1434751200,
        "ResizableImages": [Array of Images]
}

{

"ID": 51,
"Name": "GVP2.0_RFA_SG_TSA",
"Description": "Description for GVP2.0_RFA_SG_TSA\r\nUsed for GVP2.0 RFA tets cases",
"ShortDescription": "Short description about this purchase",
"DateStart": 1339538400,
"DateEnd": 1434751200,
"Type": 1,
"Status": 1,
"TrialDays": 0,
"Images": [
Array of Image object
],
"ResizableImages": [
Array of Image object
],
"PurchaseType": 3,
"CanWatch": {
CanWatch Object
},
"CanAcquire": true,
"HaveVoDAccess": true,
"ChildCount": 1,
"IsOtt": true,
"IsIptv": false,
"IsHybrid": false,
"Upgrade": [13,14],
"Incompatible": [12,32,43,54,55],
"RequiredDays": 45,

}


Known issues

None


Version history

API Version Number Change description Changes author
1.0 Initial data type implementation Harley Cabral
2.3 ResizableImages object added (for Thumbox resizing) Francisco Milagro
2.4 Deprecated some member fields:
  • Icon
  • Banner
  • TrialDays
  • Images
  • AgeRating
  • Stars
  • Tags
  • DateIns
  • MediaRoomSync
  • IsOtt
  • IsIptv
  • IsHybrid
  • UpdateSender
Francisco Milagro


See also