Difference between revisions of "ServicesUsage"

From Gvp-public
Jump to navigation Jump to search
Line 6: Line 6:
 
http://contentapi-preprod.labs.gvp.telefonica.com/28/default/es-pe/contents/all?ca_isservicetype=true&fields=pid,title&contenttypes=cha
 
http://contentapi-preprod.labs.gvp.telefonica.com/28/default/es-pe/contents/all?ca_isservicetype=true&fields=pid,title&contenttypes=cha
  
In order to request User Services, use UNIAPI method [[GetUserServices]]
+
In order to request User Services (Services granted by Subscriptions rented by de user), use UNIAPI method [[GetUserServices]]
  
 +
In order to accept a service, use [[AcceptServicesAgreement]] (servicesIDs returned by GetUserServices, and not accepted services that requires agreement)
  
In order to accept a service, use [[AcceptServicesAgreement]]
+
In order to remove a agreement, previously accepted, use [[RemoveServicesAgreement]] (Services returned by GetUserServices, with agreement accepted previously)
  
In order to remove a agreement, previously accepted, use [[RemoveServicesAgreement]]
+
 
 +
In order to use AdvancedTV
 +
* LCH has ca_DeviceTypes_IsStartOverEnabled property enabled for the device (For StartOver)
 +
* LCH has ca_DeviceTypes_IsRestartTVEnabled property enabled for the device (For RestartTV)
 +
* User has accepted the AdvancedTV service in its UserServices

Revision as of 15:29, 28 November 2017

Request All Instance available Services using Content Api

  • ContentType=CHA
  • ca_isservicetype=true

http://contentapi-preprod.labs.gvp.telefonica.com/28/default/es-pe/contents/all?ca_isservicetype=true&fields=pid,title&contenttypes=cha

In order to request User Services (Services granted by Subscriptions rented by de user), use UNIAPI method GetUserServices

In order to accept a service, use AcceptServicesAgreement (servicesIDs returned by GetUserServices, and not accepted services that requires agreement)

In order to remove a agreement, previously accepted, use RemoveServicesAgreement (Services returned by GetUserServices, with agreement accepted previously)


In order to use AdvancedTV

  • LCH has ca_DeviceTypes_IsStartOverEnabled property enabled for the device (For StartOver)
  • LCH has ca_DeviceTypes_IsRestartTVEnabled property enabled for the device (For RestartTV)
  • User has accepted the AdvancedTV service in its UserServices