Gets the inherited, own, and resulting bitmaps for the agent availability patterns of @entities_to_check for @schedule_scenario_sid and the org sending the request. The @schedule_scenario_sid must match the scenario of the @entities_to_check. @entities_to_check must have the entity_type field set with a wfm agent, agent group or a type of node. If an availability bitmap is requested for an agent group, the bitmaps for all of it's member agents will be returned instead. The bitmaps will be generated for the span of @datetime_range. If @bitmap_type is COMPLETE, the bitmaps will be generated using all relevant pattern data. If @bitmap_type is ONLY_WEEKMAPS, the bitmaps will be generated using only the weekmap data from the availability patterns. If @bitmap_type is ONLY_CALENDAR_ITEMS, the bitmaps will be generated using only the calendar item data from the availability patterns. Errors:
grpc.Invalid: the @entities_to_check is invalid for @schedule_scenario_sid and the org making the request. : the @datetime_range is invalid.
grpc.NotFound: the given @entities_to_check don't exist.
grpc.Internal: error occurs when getting the agent availability pattern bitmaps.
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/getavailabilitybitmaps' \
--header'Content-Type: application/json' \
--data-raw''