---
title: "Get named list rules"
method: POST
path: "/pws/pws_get_named_list_rules"
tags: ["Decision Engine"]
---

# Get named list rules

`POST /pws/pws_get_named_list_rules`

This web service allows to get the rules that use this named list.

## Request body

- PwsGetNamedListRulesModel — This web service allows to get the rules that use this named list.
  - `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
  - `list_id` integer, required — list id
  - `user_id` string — User Id of the Customer who triggered the API request.
  - `remarks` string — Remarks for API request

## Response `200`

Successful Response

- PwsGetNamedListRulesResponse
  - `header` ResponseHeader
    - `error_id` integer — Error Id
    - `error_desc` string — Error Message
  - `body` PwsGetNamedListRulesResponseBody
    - `rules` RuleData[]
      - `id` integer
      - `name` string
      - `description` string
      - `decisionTreeId` integer

## Other responses

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

---

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