Skip to Content
Former Member
Jan 08, 2018 at 06:06 PM

Gamification API - create level



We are currently developing a gamification application that uses the SAP Gamification API service. To start we are using and exploring the trial account and trying to create levels without images using the createLevel method. We were unable to create it using the examples presented in the documentation ( using the postman or the workbench.

The following steps were tested using postman and workbench (check attachment prints).

Step 1: Run the createLevel method as described in the example of the documentation API: {"method":"createLevel", "params":["Novice", "Novice Rank","10","Experience Points", "description", null]}.

Step 2: An error occurred as following: Error: Invalid arguments for method 'createLevel' provided. Expected signature: createLevel(String, double, String, String, String, GamificationFile).

The double variable appears in second in the resulting error, and it seems like the expected signature of the createLevel deprecated method. This is a problem of the trial account or the documentation is not up to date?

Can anyone help us?

Best Regards

Sara Macedo