# Return all bonus rules

Methods that returns all the rules and activitys that qualifies to bonuses.

Endpoint: GET /bonus/rules
Version: 4.3.2
Security: api_key

## Response 200 fields (application/json):

  - `bonusRuleId` (string)
    Id of bonus rule
    Example: "2"

  - `name` (string)
    Name of rule
    Example: "Registrering"

  - `bonusRuleType` (string)
    Type of rule, for example a bonus rule that is triggered by customer registration
    Example: "REGISTER"

  - `value` (string)
    Value of bonus rule
    Example: "30"

  - `validFrom` (string)
    Start date for when the rule is active
    Example: "2022-01-01T00:00:00"

  - `validTo` (string)
    End date for when the rule is set to inactive. null = no end date otherwise same format as validFrom

  - `created` (string)
    Timestamp for when the rule was created
    Example: "2021-01-01T00:00:00"


## Response 400 fields

## Response 401 fields

## Response 403 fields
