---
title: "List User Adjustable params for a rule"
method: POST
path: "/pws/pws_list_rule_params"
tags: ["Decision Engine"]
---

# List User Adjustable params for a rule

`POST /pws/pws_list_rule_params`

This web service allows to list User Adjustable params for a rule

## Request body

- PwsListRuleParamsModel — This web service allows to list custom rule parameters.
  - `api_call_unique_identifier` string, required — Unique number that must be passed at each API request. Identifier to make each API request unique
  - `client_id` integer, required — Unique identifier for the client which Paymentology will provide at outset
  - `rule_id` integer, required — Rule id
  - `user_id` string — User Id of the Customer who triggered the API request.
  - `remarks` string — Remarks for API request

## Response `200`

Successful Response

- PwsListRuleParamsResponse
  - `header` ResponseHeader
    - `error_id` integer — Error Id
    - `error_desc` string — Error Message
  - `body` PwsListRuleParamsResponseBody
    - `params` PwsListRuleParam[]
      - `name` string — The name of the parameter defined in the rule predicate
      - `type` ParamType — Parameter type definition
        - `kind` 'SCALAR' | 'LIST', required — Whether the parameter is a single value (SCALAR) or a list (LIST)
        - `name` 'TEXT' | 'DECIMAL' | 'TIME_SPAN' | 'MONEY' | 'ENUM', required — The name of parameter type
        - `enumType` string — For ENUM types, specifies the enum class name
        - `timeSpanType` 'CARD_TXN_HISTORY' | 'MERCHANT_TXN_HISTORY' — The type of period. It can only be used with time span params.
      - `defaultValue` object — The parameter value. Can be any JSON value (string, number, object, or array)
      - `constraints` object — Parameter constraints definition as a map of constraint names to values

## Other responses

- `404` — Webservices does not exist
- `500` — Internal Server error

---

[API](https://skmtc.net/paymentology/apis/payapi-docs.md) · [All operations](https://skmtc.net/paymentology/apis/payapi-docs/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/paymentology/payapi-docs/revisions/a675891b0365/schema)
