Returns the list of options for a given portfolio property.
Options are used by select and multiselect portfolio properties to define the allowed values.
Query parameters
-
ID of the portfolio property whose options you want to list
-
Optional label to filter options by (case-insensitive match)
GET
/portfolio_property_options
curl \
--request GET 'https://api.visible.vc/portfolio_property_options?portfolio_property_id=string' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"portfolio_property_options": [
{
"id": "ec5252fe-9abc-4096-85e9-1374e70a3182",
"label": "Option A",
"portfolio_property_id": "cad09a10-73e8-4205-ae67-4e6156f37be8"
},
{
"id": "f1d234a8-2bcd-4567-89ef-3c45d6789012",
"label": "Option B",
"portfolio_property_id": "cad09a10-73e8-4205-ae67-4e6156f37be8"
}
]
}
Response examples (400)
{
"errors": [
{
"type": "parameter_invalid",
"field": "filter",
"message": "must be an object"
}
]
}
Response examples (401)
{
"errors": [
{
"type": "unauthorized"
}
]
}
Response examples (403)
{
"errors": [
{
"type": "forbidden"
}
]
}
Response examples (429)
{
"errors": [
{
"type": "rate_limit_exceeded"
}
]
}