Calculates and returns the averages in the training data for the given @skill_profile_sid. Averages to be returned will be weighted by the number of calls that each training data interval has. The start time that the training data will be averaged can be modified based on the forecasting parameter @averages_calculation_range_in_months, which will subtract that many months from the training data range end datetime and set it as the start time. If @averages_calculation_range_in_months is 0, it will use the training data range start datetime.Errors:
grpc.Invalid: the @skill_profile_sid in the request is invalid.
grpc.NotFound: the @skill_profile_sid given is not found.
grpc.Internal: error occurs when calculating the averages from the training data.
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/calculatetrainingdataaveragesforskillprofile' \
--header'Content-Type: application/json' \
--data-raw''