---
title: "Creates Component Contribution Override Values for a given locked model"
method: POST
path: "/componentcontributionoverridevalues"
tags: ["ComponentContributionOverrideValues"]
---

# Creates Component Contribution Override Values for a given locked model

`POST /componentcontributionoverridevalues`

## Request body

- ComponentContributionOverrideValuesRequest
  - `forecastModelId` string, uuid — The id of the forecast model that will have its Component Contribution values overridden.
  - `frequency` 1 | 2 | 4 | 12 | 52 — The frequency of the data. Weekly: 52 Monthly: 12 Quarterly: 4 SemiAnnual: 2 Annual: 1
  - `entryId` string, uuid — The entry id of the indicator that will have its value overridden.
  - `contributionPeriods` ComponentContribution[], nullable — A list of override values, with a date and value for each.
    - `date` string, date-time
    - `value` number, double

## Response `200`

If Contribution Override Values were retrieved successfully

- ComponentContributionOverrideValues
  - `forecastModelId` string, uuid
  - `frequency` 0 | 1 | 2 | 4 | 12 | 52 | 365 | 1000 — The frequency of the data. Daily: 365 Weekly: 52 Monthly: 12 Quarterly: 4 SemiAnnual: 2 Annual: 1
  - `entryId` string, uuid
  - `contributionPeriods` ComponentContribution[], nullable
    - `date` string, date-time
    - `value` number, double

## Other responses

- `401` — If the user isn't authenticated
- `403` — Forbidden
- `404` — If model wasn't found
- `422` — Forecast model is expired or is not a production model
- `429` — If the user has sent too many requests

---

[API](https://skmtc.net/prevedere/apis/board-foresight-api-v1.md) · [All operations](https://skmtc.net/prevedere/apis/board-foresight-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/prevedere/board-foresight-api-v1/revisions/c5ac8232e334/schema)
