Gets the agent states for the given @wfm_agent_sids from the given @start_datetime to the @end_datetime or the current time if not set (start time not inclusive, end time inclusive). Agent states will be grouped by wfm_agent_sid and ordered by date in ascending order. It also returns the latest datetime amongst all the states returned. It can also include the violations against the published schedule for each of the requested agents if @include_violations is set to True. Errors:
grpc.Invalid: arguments in the request are invalid.
grpc.Internal: error occurs when getting the 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/listadherenceagentstates' \
--header'Content-Type: application/json' \
--data-raw''