# Create Determining Attribute (Range-based)

In the example shown below, we are creating a determining attribute called ‘amount\_1’ as a numerical range determining attribute, with 3 values:  0 – 250, 250.01 – 2500, and 2500.01 – 25000.  We are creating this in the ‘imp\_payments\_demo’ project, version 1.0

&#x20;

The API is defined as

<figure><img src="/files/RhGhct4XBeQYRNqPPPPL" alt=""><figcaption><p>URL format</p></figcaption></figure>

&#x20;

&#x20;

Where ‘<http://99.99.99.99:8080/> is the protocol://server:port where TDO resides.

&#x20;

```
{
    "context": {
        "user": "mj_test",
        "password": "xxxx",
        "project": {
            "name": "imp_payments_demo",
            "version": "1.0"
        }
    },
    "entity": {
        "name": "amount_1",
        "dataType": "NUMBER",
        "type": "RANGE",
        "values": [
            {
                "minValue": 0.01,
                "maxValue": 250
            },
            {
                "minValue": 250.01,
                "maxValue": 2500
            },
            {
                "minValue": 2500.01,
                "maxValue": 25000
            }
        ]
    }
}
```

&#x20;

This screen print shows the results code in Postman.  You will also note that the parameters screen is set up with the type of call (POST) and the full URL for the call (server name/port + URL from the initial table).

&#x20;

&#x20;

<figure><img src="/files/jmXvGCbu5YYCgt14ubeQ" alt=""><figcaption><p>Results message with determining attribute details</p></figcaption></figure>

&#x20;

&#x20;

Here is how the determining attribute looks in TDO.

<figure><img src="/files/5lJf4ibPBIRF439zZxNF" alt=""><figcaption><p>Determining attribute in TDO after creation</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.apica.io/platform-docs/test-data-orchestrator-tdo/user-documentation/api-guide/determining-attribute-apis/create-determining-attribute-range-based.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
