---
title: "Get details of a Rule Assignment by its id."
method: GET
path: "/pws/rule-assignments/{assignment_id}"
tags: ["Card Rule Assignments"]
---

# Get details of a Rule Assignment by its id.

`GET /pws/rule-assignments/{assignment_id}`

## Request

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

Get details of a Rule Assignment by its id.

## Path parameters

- `assignment_id` string, required

## Headers

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

## Response `200`

Successful Response

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

## Other responses

- `400`: Invalid request (missing headers, etc)
- `404`: If the card or rule 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)
