---
title: "Get Rule Assignments for a card and rule"
method: GET
path: "/pws/cards/{public_token}/assigned-rules/{rule_id}/assignments"
tags: ["Card Rule Assignments"]
---

# Get Rule Assignments for a card and rule

`GET /pws/cards/{public_token}/assigned-rules/{rule_id}/assignments`

## Request

- Base URL: `https://api.uat.paymentology.com/ppws/api`
- URL: `https://api.uat.paymentology.com/ppws/api/pws/cards/{public_token}/assigned-rules/{rule_id}/assignments`
- Auth: none declared. Required headers: `Client-Id`, `Api-Call-Unique-Identifier`

Returns the flat list of Rule Assignments for one card and one underlying rule. This is assignment-oriented so repeated entries are valid when the same rule has been assigned multiple times to the same card.

## Path parameters

- `public_token` string, required
- `rule_id` string, required

## Headers

- `Client-Id` integer, required
- `Api-Call-Unique-Identifier` string, required

## Response `200`

Successful Response

- PwsListRuleAssignmentsResponse
  - `header` DecisionEnginePwsResponseHeader
    - `error_id` integer: Error Id
    - `error_desc` string: Error Message
  - `body` PwsListRuleAssignmentsResponseBody
    - `assignments` RuleAssignment[]
      - `id` integer
      - `ruleId` integer
      - `cardId` string
      - `parameterOverrides` RuleParamValue[]
        - `name` string
        - `type` string
        - `value` object
      - `state` 'ENABLED' | 'DISABLED'
      - `disabledUntil` string

## Other responses

- `404`: If the token or rule id doesn’t exist
- `500`: Internal error

---

[API](https://skmtc.dev/paymentology/apis/decision-engine.md) - [All operations](https://skmtc.dev/paymentology/apis/decision-engine/llms.txt) - [OpenAPI document](https://skmtc.dev/paymentology/apis/decision-engine/revisions/23310170026e?raw)
