List the real time agent states for published schedule and the org sending the request, starting on the given @start_datetime. If the @end_datetime is set, all agent state sequences will be returned for the range between @start_datetime and @end_datetime. If @end_datetime is not set, the agent state sequences will be returned over a 24 hour period or until the current time, whichever is shorter. DEPRECATED as of Dec/10/2024 - Use ListRealTimeManagementStates instead. Errors:
grpc.Invalid: the @start_datetime is invalid or beyond the current datetime.
grpc.Internal: error occurs when listing the agent states.
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/listagentstatesforday' \
--header'Content-Type: application/json' \
--data-raw''