Authorization: Bearer ********************
{
"dashboard_preferences": {
"default_call_types": {
"outbound": true,
"inbound": true,
"manual_dial": true,
"preview_dial": true
},
"default_info_sort_by_value": "AGENT_INFO_SORT_BY_NONE",
"default_barge_in_filtering": {
"hunt_group": {
"any": true,
"hunt_group_sid": 0
},
"agent_status": {
"any": true,
"waiting": true,
"on_call": true,
"wrap_up": true,
"paused": true,
"transfer": true,
"preview": true,
"manual": true,
"pbx": true,
"intercom": true
}
},
"default_info_view": true,
"default_table_inclusion": true,
"default_info_grouping": true,
"default_small_icon": true,
"default_descending_sort": true,
"table_template_sid": 0
},
"field_mask": "string"
}
curl --location --request POST 'https://api.cbf.tcn.com/api/v0alpha/org/preferences/reports/dashboard/update' \
--header 'Content-Type: application/json' \
--data-raw '{
"dashboard_preferences": {
"default_call_types": {
"outbound": true,
"inbound": true,
"manual_dial": true,
"preview_dial": true
},
"default_info_sort_by_value": "AGENT_INFO_SORT_BY_NONE",
"default_barge_in_filtering": {
"hunt_group": {
"any": true,
"hunt_group_sid": 0
},
"agent_status": {
"any": true,
"waiting": true,
"on_call": true,
"wrap_up": true,
"paused": true,
"transfer": true,
"preview": true,
"manual": true,
"pbx": true,
"intercom": true
}
},
"default_info_view": true,
"default_table_inclusion": true,
"default_info_grouping": true,
"default_small_icon": true,
"default_descending_sort": true,
"table_template_sid": 0
},
"field_mask": "string"
}'
{}