Retrieve pick list presets

Retrieve all presets for a pick list by ID.

These endpoints allow you to retrieve the values of a pick list(s).

Get all presets for a pick list by ID

GET https://ris.rightsline.com/v4/pick-list-preset/:listID

Retrieve list of presets pick list by ID.

Path Parameters

Name
Type
Description

listID*

guid

The pick list ID.

Headers

Name
Type
Description

Authorization*

String

Authorization token.

x-api-key*

String

Your company's API key.

[
    {
        "id": "44452549-f014-4c71-b85f-2c49778bfall",
        "name": "My Favorite Values"
    },
    {
        "id": "99908a1b-6f50-4cae-9fe9-b31547c31234",
        "name": "Another Picklist Preset"
    }
]

Get preset details by pick list ID and preset ID

GEThttps://ris.rightsline.com/v4/pick-list-preset/:listID/:presetID

Retrieve all details of a preset, including the values it contains.

Path Parameters

Name
Type
Description

listID

guid

The pick list ID.

presetID

guid

The preset ID.

{
    "id": "44452549-f014-4c71-b85f-2c49778bfall",
    "name": "My Favorite Values",
    "values":
    [
        {
            "id": 44,
            "label": "United States of America",
            "description": "United States of America",
            "xref": "US",
            "status": "Active"
        },
        {
            "id": 55,
            "label": "Canada",
            "xref": "CAN",
            "status": "Active"
        },
    ]
}

Last updated

Was this helpful?