skip to Main Content

Select or create Categories for the Achievement, select Achievements that will be dependent on this achievement and add metadata.

DEPENDENT ON fields

EXAMPLES

» Category Array [String]

Optional

Lets you filter the Achievement in the back office. Multiple categories can be created for the same Achievement.
» Dependent On Array [Object]

Optional

You can specify a particular achievement (by Name) as a dependency to be eligible for your current achievement. When adding a dependency on other achievements, they can be in a mustshould or must-not rule. Dependent on achievements cannot be seen by the player. This lets you build complex achievement trees to meet your goals.

For Example:

  • MUST – an achievement that triggers after “5 free spins if you win once” with a dependent on achievement with a rule of Must of “register” means that you cannot complete the first achievement if you don’t register.

 

  • SHOULD – an achievement that triggers after “5 free spins if you win once”. Adding 2 dependent on achievements: 1 – with a Should rule of “register” means the user has to register and 2 – with a Should rule that the user has to “log in” means that you can not complete the first achievement (5 free spins) if you don’t do one of the two dependent on achievements.

 

  • MUST-NOT – an achievement that has been created to get “5 free spins if you win once” and adding a dependent on achievement with a Must-not rule that is achieved when a player “redeems a voucher” means that the players who redeemed a voucher will not get the “5 free spins if he wins once”.
*» Minimum Should Match Integer

Mandatory

Its a field that only appears when a Should dependency has been selected. The value indicates how many Should achievements will need to be achieved before getting the main one.
» Metadata Array [Object]

Optional

Optional information you can use to store reference information.

APP Example:

CategoryReturning
Dependent OnN/A
Metadata: KeyLogin
Metadata: Value1

API Example:

 

{
    "jsonClass": "Achievement",
    ...
    "category": [
        "Returning"
    ],
    "dependantOn": [],
    "metadata": [
        {
        "jsonClass": "Metadata",
            "key": "Login",
            "value": "1"
        }
    ],
    ...
}

APP Example 2:

CategoryReturning
Dependent OnMUST: Win 10 times
SHOULD: BET 10 times
SHOULD: SPIN 10 times
MUST-NOT: VIP 1
Minimum Should Match1
Metadata: KeyLogin
Metadata: Value1

API Example 2:

{
    "jsonClass": "Achievement",
    ...
    "category": [
        "Returning"
    ],
    "dependantOn": [
                {
                    "achievementId": "8YHbJG0Be43iAGUC7oFF",
                    "linkType": "Must"
                },
                {
                    "achievementId": "9oHcJG0Be43iAGUC2YEh",
                    "linkType": "Should"
                },
                {
                    "achievementId": "yANM6WYBieifaqlsWaYR",
                    "linkType": "Should"
                },
                {
                    "achievementId": "KOyUjGYBZ-qHKtWi5vx1",
                    "linkType": "Must-Not"
                }
                ],
    "minimumShouldMatch": 1,
    "metadata": [
        {
        "jsonClass": "Metadata",
            "key": "Login",
            "value": "2"
        }
    ],
    ...
}

The API example provides only a simplified version of the POST body. A full example of POST Achievement can be found in the Achievements APP API documentation here.

PREVIOUS – Click Previous and go back to the previous step.

CONTINUE – Click Next and continue to the next step.

Back To Top