Sets the adherence service to the @agent_state_simulation_level for the org sending the request. By setting the @agent_state_simulation_level to NO_SIMULATION, the adherence manager will function normally, using the live agent states. By setting the @agent_state_simulation_level to SIMULATED_AGENT_STATES, the adherence manager will instead simulate agent states and their violations. This allows demonstrations of the adherence functions of the app to be done before the client has any agents working. Errors:
grpc.Invalid: the given @agent_state_simulation_level is invalid
grpc.Internal: error occurs when updating the simulation level for the org sending the request.
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/setagentstatesimulationlevelfororg' \
--header'Content-Type: application/json' \
--data-raw''