Calculates the averages for call characteristics using the historical data of the given @skill_profile_sids, @skill_profile_group_sids and org sending the request. If no @skill_profile_sids are given, it will calculate the averages for all skill profiles for the org sending the request. If no @skill_profile_group_sids are given, it will calculate the averages for all skill profile groups for the org sending the request. Averages will be weighted by the number of calls that each historical data interval has. Once the averages are calculated, they will be updated in the db for those skill profiles.If a nil @datetime_range is given then the range used will be @training_data_range_end_datetime - @averages_calculation_range_in_months to the @training_data_range_end_datetime from the forecasting parameters. If @averages_calculation_range_in_months is 0, it will use the @training_data_range_start_datetime as the start datetime of the range.If @exclude_skill_profiles_with_manual_averages is true, it will exclude skill profiles and groups that have manual averages from the calculation even if those skill profiles and groups are in @skill_profile_sids or @skill_profile_group_sids respectively.Errors:
grpc.Internal: error occurs when calculating the averages from the historical 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/updateskillprofileaveragesusinghistoricaldata' \
--header'Content-Type: application/json' \
--data-raw''