Difference between revisions of "ServicesUsage"

From Gvp-public
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
Request All Instance available Services using Content Api
+
Request All Instance available Services using '''Content Api'''
 
* ContentType=CHA
 
* ContentType=CHA
 
* ca_isservicetype=true
 
* ca_isservicetype=true
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]]
 
  
 +
'''UNIAPI'''
 +
* 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 accept a service, use [[AcceptServicesAgreement]]
 
  
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 (With '''AgreementAccepted''' = true)

Latest revision as of 15:32, 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


UNIAPI

  • 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 (With AgreementAccepted = true)