action i_cue_post_forecast_forecast_top_down { label: "Top down forecasting" description: "Calculate forecast based on sum of of lower level timeseries and distribute forecast down based on ratios. Great feature for planning levels with dynamic timeseries." provider: i_cue method: POST path: "/forecast/forecast-top-down" encoding: json input: { type: "object" properties: { Token: { type: "string" } data: { type: "array" items: { type: "object" properties: { historyValues: { type: "array" items: { type: "number" format: "double" } } timeSeriesId: { type: "string" } } additionalProperties: false } } method: { type: "string" } override: { type: "boolean" } params: { type: "object" required: ["discardData", "errorType", "holdOutPeriod", "noFcst", "outlierDetection", "periodicity"] properties: { discardData: { type: "boolean" } errorType: { type: "string" enum: ["MeanAbsolutePercentageError", "MeanSquaredError", "MeanAbsoluteError", "MedianAbsoluteDeviation", "None"] } holdOutPeriod: { type: "integer" format: "int32" } noFcst: { type: "integer" format: "int32" } outlierDetection: { type: "boolean" } periodicity: { type: "integer" format: "int32" } } additionalProperties: false } planningLevelId: { type: "string" } startDate: { type: "string" } } required: ["method", "planningLevelId", "startDate"] additionalProperties: false } output: { type: "object" additionalProperties: true } }