Replaces @wfm_agent_sid_to_remove with @wfm_agent_sid_to_add on the shifts for the given parameters on the published schedule for the org sending the request. If @skip_overlapping_shifts, shifts with an overlap conflict will be skipped, otherwise overlap conflicts will cause a diagnostic to be returned. Does not enforce skill proficiencies. To check skill proficiencies for shift replacement use ListValidAgentsForReplacement. Only replaces the agent on the published schedule. To replace the agent on a draft schedule use the ReplaceAgentOnScheduleV1 endpoint. Errors:
grpc.Invalid: the request data is invalid.
grpc.Internal: error occurs when replacing the @wfm_agent_sid_to_remove.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
No schema defined
Example
Request 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/replaceagentonpublishedschedule' \
--header'Content-Type: application/json' \
--data-raw''