Service

From Gvp-public
Revision as of 16:47, 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]
}


Known issues

None


Version history

API Version Number Change description Changes author
2.4 New object. Initial design. Francisco Milagro


See also