---
title: "Create named list element"
method: POST
path: "/pws/pws_create_named_list_element"
tags: ["Named Lists"]
---

# Create named list element

`POST /pws/pws_create_named_list_element`

## Request

- Base URL: `https://api.uat.paymentology.com/ppws/api`
- URL: `https://api.uat.paymentology.com/ppws/api/pws/pws_create_named_list_element`
- Auth: none declared

This web service allows to create an element for a named list.

## Request body

- PwsCreateNamedListElementModel: This web service allows the creation of an element of a 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
  - `value` string, required: value
  - `user_id` string: User Id of the Customer who triggered the API request.
  - `remarks` string: Remarks for API request

## Response `200`

Successful Response

- PwsCreateNamedListElementResponse
  - `header` ResponseHeader
    - `error_id` integer: Error Id
    - `error_desc` string: Error Message
  - `body` PwsCreateNamedListElementResponseBody
    - `element` ElementData
      - `id` integer
      - `namedListId` integer
      - `value` string

## Other responses

- `404`: Webservices does not exist
- `500`: Internal Server 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)
