GET
/
v1
/
rule-sets
curl --request GET \
  --url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/spend-control/v1/rule-sets
[
  {
    "id": "<string>",
    "name": "<string>",
    "operatorType": "ANY",
    "rules": [
      {
        "id": "<string>",
        "ruleType": "DECLINE",
        "name": "<string>",
        "filterOperatorType": "ANY",
        "filters": [
          {
            "id": "<string>",
            "type": "MCC",
            "reversed": true
          }
        ]
      }
    ]
  }
]

Query Parameters

auditUser
string
required

The audit user to log the request

entity-id
string

The unique identifier of the entity to which the rule or parameter should be associated. This can be either a card ID or a hierarchy group ID.

entity-type
enum<string>
Available options:
CARD,
CARD_HIERARCHY_GROUP

Response

200
application/json
Successful operation
id
string
name
string
operatorType
enum<string>

Defines whether all rules should pass or if it's enough for just one rule to pass.

Available options:
ANY,
ALL
rules
object[]