==== <span style="color:#7DC04E">THIS DATA TYPE IS A DRAFT FOR GVP 2.4</span> ====Represents a Service object. Services provide access to an specific feature such as rPVR, nPVR, RestarTVRestartTV (Timeshift), etc.
Services are not purchased standalone, they are always commercialized inside [[Subscriptions]].
{{!}}- valign="top"
! ServiceTypeServiceTypeId
{{!}} int
{{!}} The value for the [[ServiceType]] enum that indicates the type of service.
{{!}}- valign="top"
! DateStartServiceTypeName{{!}} intString{{!}} The commercialization start date (in Unix Timestamp) of name for the Service. Out of this time, the service cannot be purchased.Type
{{!}}- valign="top"
! DateEndInstanceId
{{!}} 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"
! StatusRequiresUserAgreement{{!}} intboolean{{!}} Represents the Purchase Type of this subscription (BottomUp, TD or Both). See [[UNIAPI_Specificationbgcolor="#SubscriptionPurchaseType|SubscriptionPurchaseType]] enumeration for more information7DC04E" {{!}} '''NEW IN 4.1!''' Indicates if the service needs to be accepted by the user before enjoy it
{{!}}- valign="top"
! Age RatingUserAgreementText{{!}} [[AgeRating]] objectstring{{!}} bgcolor="#FF26007DC04E" {{!}} '''DEPRECATEDNEW IN 4.1!'''. Since GVP 2.4, this object Text that will not be returned anymore inside Subcription object.shown in the agreement pop-up of the service
{{!}}- valign="top"
! StarsAgreementAccepted{{!}} intstring{{!}} bgcolor="#FF26007DC04E" {{!}} '''DEPRECATEDNEW IN 4.1!'''. Since GVP 2.4Only for GetUserServices Response, this object will not be returned anymore inside Subcription object.indicates if the user Has Accepted the user agreement
{{!}}- valign="top"
! Tags
{{!}} Array of [[UserTags]] object
{{!}} bgcolor="#FF2600" {{!}} '''DEPRECATED'''. Since GVP 2.4, this object will not be returned anymore inside Subcription object.
{{!}}- valign="top"
! CanWatch
{{!}} [[CanWatch]] object
{{!}} Indicates the grants of this subscription for the current user. Provides the information if the user owns this Subscription, the pricing model used, etc.
{{!}}- valign="top"
! CanAcquire
{{!}} bool
{{!}} bgcolor="orange" {{!}} Indicates if the user is able to purchase this subscription. The logic for calculating this is based on.
{{!}}- valign="top"
! HaveVoDAccess
{{!}} bool
{{!}} bgcolor="orange" {{!}} Same as CanAcquire property, but..
{{!}}- valign="top"
! ChildCount
{{!}} int
{{!}} bgcolor="orange" {{!}} Indicates the count of objects that this Subscription provides.
{{!}}- valign="top"
! DateIns
{{!}} int
{{!}} bgcolor="#FF2600" {{!}} '''DEPRECATED'''. Since GVP 2.4, this object will not be returned anymore inside Subcription object.
{{!}}- valign="top"
! MediaRoomSync
{{!}} bool
{{!}} bgcolor="#FF2600" {{!}} '''DEPRECATED'''. Since GVP 2.4, this object will not be returned anymore inside Subcription object.
{{!}}- valign="top"
! IsOtt
{{!}} bool
{{!}} bgcolor="#FF2600" {{!}} '''DEPRECATED'''. Since GVP 2.4, this object will not be returned anymore inside Subcription object.
{{!}}- valign="top"
! IsIptv
{{!}} bool
{{!}} bgcolor="#FF2600" {{!}} '''DEPRECATED'''. Since GVP 2.4, this object will not be returned anymore inside Subcription object.
{{!}}- valign="top"
! IsHybrid
{{!}} bool
{{!}} bgcolor="#FF2600" {{!}} '''DEPRECATED'''. Since GVP 2.4, this object will not be returned anymore inside Subcription object.
{{!}}- valign="top"
! UpdateSender
{{!}} bool
{{!}} bgcolor="#FF2600" {{!}} '''DEPRECATED'''. Since GVP 2.4, this object will not be returned anymore inside Subcription object.
{{!}}- valign="top"
! Upgrade
{{!}} Array of int
{{!}} bgcolor="#7DC04E" {{!}} '''NEW IN 2.4'''. Returns an array of Subscription IDs that this Subscription has '''upgrade'''' relationship with.
{{!}}- valign="top"
! Incompatible
{{!}} Array of int
{{!}} bgcolor="#7DC04E" {{!}} '''NEW IN 2.4'''. Returns an array of Subscription IDs that this Subscription has '''incompatible'''' relationship with.
{{!}}- valign="top"
! RequiredDays
{{!}} int
{{!}} bgcolor="#7DC04E" {{!}} '''NEW IN 2.4'''. Number of days since the purchase that the user will not be able to perform upgrade operations having this subscription purchased until the time passes. Applications should use this information combined with [[CanWatch]] information to block users from purchasing subscriptions that have upgrade relationship with a Subscription that has not passed the required days.
{{!}}- valign="top"
{{!}}}
|Example=
<syntaxhighlight lang="javascript">
{
: "ID": 51,: "TitleName": "GVP2.0_RFA_SG_TSAnPVR Service",: "Description": "Description for GVP2.0_RFA_SG_TSA\r\nUsed for GVP2.0 RFA tets cases",: "ShortDescription": "Short description about this purchase",: "DateStartnPVR Service": 1339538400,: "DateEnd": 1434751200,: "TypeServiceTypeId": 1,: "StatusServiceTypeName": 1,: "TrialDaysGlobal service": 0,: "ImagesInstanceId": [:: Array of [[Image]] object: ]14,: "ResizableImages": [:: Array of [[Image]] object: Images],: "PurchaseType": 3,: "CanWatch": {:: [[CanWatch]] Object: },: "CanAcquire": true,: "HaveVoDAccessRequiresUserAgreement": true,: "ChildCountUserAgreementText": 1,: "IsOtt": trueThis Service grant access to nPVR recordings service,: "IsIptvdo you agree to keep network recorded copies of your contents?": false,: "IsHybrid": false,: "Upgrade": [13,14],: "Incompatible": [12,32,43,54,55],: "RequiredDays": 45,