Solution-validation settings resources

Get solution-validation settings

GET /settings/solution-validation

Response

{
    "enabled": true,
    "default_period_id": "open"
}


Update solution-validation settings

PUT /settings/solution-validation

Note: If a setting key is omitted the setting is not updated.

Parameter Type Default Description
enabled boolean false
default_period_id string - Allowed values are "open", "years_two", "years_one", "months_six", "months_three", "months_one", "weeks_one", "days_one".

Response

{
    "enabled": true,
    "default_period_id": "months_six"
}

When solution-validation gets activated, all solutions without a validity-period will have their validity-period set to open. Solutions that already have a validity period will keep the current value.