Create or update a single portfolio property value for a portfolio company profile.
Pass the portfolio property and portfolio company profile identifiers along with the value, and the API will either create a new record
or update the existing one if it already exists for that (portfolio_property_id, portfolio_company_profile_id) pair.
For properties with data_type of select or multiselect, you must send option IDs instead of option labels:
- For
selectproperties, useportfolio_property_option_idwith the UUID of a single option. - For
multiselectproperties, useportfolio_property_option_idswith an array of option UUIDs. For all other data types (string, text, url, number, date, rich_text) use the genericvaluefield.
Responses
-
Portfolio property value successfully created
-
Portfolio property value successfully updated
-
Bad Request - The request is invalid or malformed
-
Unauthorized - Invalid or missing authentication token
-
Forbidden - The authenticated user does not have access to the requested resource
-
Unprocessable Entity - The request is valid but contains semantic errors
-
Too Many Requests - Rate limit exceeded
curl \
--request PUT 'https://api.visible.vc/portfolio_property_values' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"portfolio_property_value":{"value":"Some text value","portfolio_property_id":"cad09a10-73e8-4205-ae67-4e6156f37be8","portfolio_company_profile_id":"b9bd9bb5-9b12-48bb-ae93-cdd2eba9af98"}}'
{
"portfolio_property_value": {
"value": "Some text value",
"portfolio_property_id": "cad09a10-73e8-4205-ae67-4e6156f37be8",
"portfolio_company_profile_id": "b9bd9bb5-9b12-48bb-ae93-cdd2eba9af98"
}
}
{
"portfolio_property_value": {
"portfolio_property_id": "e2f345b9-3cde-5678-90ab-4d56e789f123",
"portfolio_company_profile_id": "b9bd9bb5-9b12-48bb-ae93-cdd2eba9af98",
"portfolio_property_option_id": "9d243039-85e2-4396-881f-7e971a3200c4"
}
}
{
"portfolio_property_value": {
"portfolio_property_id": "c4e567f8-9abc-0123-4567-89def0123456",
"portfolio_company_profile_id": "b9bd9bb5-9b12-48bb-ae93-cdd2eba9af98",
"portfolio_property_option_ids": [
"9d243039-85e2-4396-881f-7e971a3200c4",
"a1395c0e-30dc-428b-883b-42455c84e6c2"
]
}
}
{
"portfolio_property_value": "Sample text value"
}
{
"portfolio_property_value": "Sample text value"
}
{
"errors": [
{
"type": "parameter_invalid",
"field": "filter",
"message": "must be an object"
}
]
}
{
"errors": [
{
"type": "unauthorized"
}
]
}
{
"errors": [
{
"type": "forbidden"
}
]
}
{
"errors": [
{
"type": "attribute_invalid",
"field": "value",
"message": "required"
}
]
}
{
"errors": [
{
"type": "rate_limit_exceeded"
}
]
}