Builds a regression forecast for the org using the given @regression_template and saves the resulting intervals in the db. It will generate forecast intervals for the skill profiles sids in @save_forecasts_for_skill_profile_sids, if the list is empty or has no valid skill profile sids, it will generate and save forecasts for all active skill profiles. If any intervals produced already exist in the db, they will be replaced with the ones produced. Errors:
grpc.Invalid: the @regression_template in the request is invalid.
grpc.Internal: error occurs when upserting the regression forecast.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
Example
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.cbf.tcn.com/api/v1alpha1/wfm/upsertregressionforecast' \
--header'Content-Type: application/json' \
--data-raw''