Skip to Content

SAP HCP Gamification Service API calls in UI5

Hi,

How do I make direct Gamification API calls like createPlayer, checkPlayer, etc from UI5 app (in WebIDE)?

Or, it is only possible using ProxyServlet as mentioned in HelpDesk application on GitHub?

Thanks!

Chirag

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Feb 21, 2017 at 09:14 AM

    If you are using the HTML5 service to host your UI5 application a destination could work, given that the user has access rights to use the API calls in question.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 21, 2017 at 04:58 PM

    Hi Ulrich,

    I am hosting this UI5 application on HCP and I have destinations for gamification service gsdest and gswidget with proper authorizations.

    My question is, how I can make a call to this gamification service using jsonRPC. Could you please let me now a sample code for one of the methods of gamification API?

    Thanks,

    Chirag

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 21, 2017 at 05:15 PM

    Hi Chirag,

    Check out this example of consuming the gamification API. Code snippets should help.

    Help Desk Demo

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 21, 2017 at 06:25 PM

    If possible, please help me with code in UI5 instead of JAVA.

    Thanks,

    Chirag

    Add comment
    10|10000 characters needed characters exceeded