Difference between revisions of "Service"
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 | + | 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" | ||
− | ! | + | ! 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" | ||
− | ! | + | ! ServiceTypeName |
− | {{!}} | + | {{!}} String |
− | {{!}} The | + | {{!}} The name for the Service Type |
{{!}}- valign="top" | {{!}}- valign="top" | ||
− | ! | + | ! InstanceId |
{{!}} int | {{!}} int | ||
− | {{!}} | + | {{!}} InstanceId |
{{!}}- valign="top" | {{!}}- valign="top" | ||
Line 58: | Line 58: | ||
{ | { | ||
"ID": 51, | "ID": 51, | ||
− | "Name": " | + | "Name": "nPVR Service", |
− | "Description": "Description for | + | "Description": "Description for nPVR Service", |
− | " | + | "ServiceTypeId": 1, |
− | " | + | "ServiceTypeName": "Global service", |
− | " | + | "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. | ||
− | {{!}} | + | {{!}} 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
- SubscriptionType enumeration
- SubscriptionStatus enumeration
- SubscriptionService methods
- Thumbox Service for image resizing