Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 09, 2018 at 02:40 AM

    Hello, Sara There is two createLevel methods with different parameters. The method you are using The number of parameters is not correct.

    Add comment
    10|10000 characters needed characters exceeded