Difference between revisions of "Service"

From Gvp-public
Jump to navigation Jump to search
Line 3: Line 3:
 
{{Api_DataType_Spec
 
{{Api_DataType_Spec
 
|Description=
 
|Description=
Represents a Service object. Services provide access to an specific feature such as rPVR, nPVR, RestarTV, etc.  
+
Represents a Service object. Services provide access to an specific feature such as nPVR, RestartTV (Timeshift), etc.  
 
Services are not purchased standalone, they are always commercialized inside [[Subscriptions]].
 
Services are not purchased standalone, they are always commercialized inside [[Subscriptions]].
  
Line 30: Line 30:
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
! ServiceType
+
! ServiceTypeId
 
{{!}} int
 
{{!}} int
 
{{!}} The value for the [[ServiceType]] enum that indicates the type of service.
 
{{!}} The value for the [[ServiceType]] enum that indicates the type of service.
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
! DateStart
+
! ServiceTypeName
{{!}} int
+
{{!}} String
{{!}} The commercialization start date (in Unix Timestamp) of the Service. Out of this time, the service cannot be purchased.
+
{{!}} The name for the Service Type
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
! DateEnd
+
! InstanceId
 
{{!}} int
 
{{!}} int
{{!}} The commercialization end date (in Unix Timestamp) of the subscription. Out of this time, the service cannot be purchased.
+
{{!}} InstanceId
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  
Line 58: Line 58:
 
{
 
{
 
         "ID": 51,
 
         "ID": 51,
         "Name": "rPVR Service",
+
         "Name": "nPVR Service",
         "Description": "Description for rPVR Service",
+
         "Description": "Description for nPVR Service",
         "ServiceType": 1,
+
         "ServiceTypeId": 1,
         "DateStart": 1339538400,
+
         "ServiceTypeName": "Global service",
         "DateEnd": 1434751200,
+
         "InstanceId": 14,
 
         "ResizableImages": [Array of Images]
 
         "ResizableImages": [Array of Images]
 
}
 
}
Line 79: Line 79:
 
! 2.4
 
! 2.4
 
{{!}} New object. Initial design.
 
{{!}} New object. Initial design.
{{!}} Francisco Milagro
+
{{!}} Jose A. Jimenez
 
{{!}}}
 
{{!}}}
  

Revision as of 13:52, 11 November 2014

THIS DATA TYPE IS A DRAFT FOR GVP 2.4

Represents a Service object. Services provide access to an specific feature such as nPVR, RestartTV (Timeshift), 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.
ServiceTypeId int The value for the ServiceType enum that indicates the type of service.
ServiceTypeName String The name for the Service Type
InstanceId int InstanceId
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": "nPVR Service",
        "Description": "Description for nPVR Service",
        "ServiceTypeId": 1,
        "ServiceTypeName": "Global service",
        "InstanceId": 14,
        "ResizableImages": [Array of Images]
}


Known issues

None


Version history

API Version Number Change description Changes author
2.4 New object. Initial design. Jose A. Jimenez


See also