skip to Main Content

Select or create Categories for an Achievement, select Achievements that will depend on this Achievement, and add metadata.

DEPENDENT ON fields

EXAMPLES

» Category Array [String]

Optional

Enables you to 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 requirement to be eligible for another / current Achievement. Dependency on another achievement can be a Must, Should or Must-not. ‘Dependent on’ Achievements cannot be seen by the player. This lets you build complex Achievement trees to meet your goals.

Example:

  • MUST – an Achievement that triggers after “5 free spins if you win once” with a dependency on an Achievement with the rule Must “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” that is dependent on two Achievements: 1. with a Should rule of “Register” means that the user has to register, and 2. with a Should rule of “Log in” means that the user cannot complete the first Achievement (5 free spins) unless they do either 1 or 2

 

  • MUST-NOT – an Achievement to get “5 free spins if you win once” with a dependency on a Must-not rule, e.g. if a player redeems a voucher means that players who redeemed a voucher will not get the 5 free spins if you win once.
*» Minimum Should Match Integer

Mandatory

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

Optional

Optional information section 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