Skip to Content
0

SAP HCP Gamification Service API calls in UI5

Feb 20, 2017 at 08:28 PM

84

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Ulrich Block
Feb 21, 2017 at 09:14 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
Chirag Mistry Feb 21, 2017 at 04:58 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member
Feb 21, 2017 at 05:15 PM
0

Hi Chirag,

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

Help Desk Demo

Share
10 |10000 characters needed characters left characters exceeded
Chirag Mistry Feb 21, 2017 at 06:25 PM
0

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

Thanks,

Chirag

Share
10 |10000 characters needed characters left characters exceeded