Authorization: Bearer ********************
{
"hunt_group_script": {
"script_category": "SCRIPT_CATEGORY_UNSPECIFIED",
"name": "string",
"description": "string",
"auto_script_progression": true,
"acts": [
{
"dispositions": [
{
"response_type": "SCRIPT_RESPONSE_TYPE_UNSPECIFIED",
"header": "string",
"prompt": "string",
"required": true,
"default_value": "string",
"bypass_auto_script_progression": true,
"response_options": [
"string"
],
"order": 0,
"response_evaluator": 0
}
],
"verbiages": [
{
"header": "string",
"body": "string",
"order": 0
}
],
"conditional_navigations": [
{
"complex_boolean_expression_list": {
"complex_boolean_expressions": [
{
"compare_expression_list": {
"simple_compare_expression": [
{
"operator_type": "COMPARE_OPERATOR_TYPE_UNSPECIFIED",
"disposition_header": "string",
"compare_value": "string",
"act_index": 0
}
]
}
}
]
},
"target_act_index": 0
}
],
"default_conditional_navigation_target": 0,
"page_arrival_recording_control": 0,
"page_exit_recording_control": 0
}
],
"script_sid": 0
},
"hunt_group_sid": 0,
"script_sid": 0
}
curl --location --request POST 'https://api.cbf.tcn.com/api/v1alpha1/org/huntgroup/updatehuntgroupscript' \
--header 'Content-Type: application/json' \
--data-raw '{
"hunt_group_script": {
"script_category": "SCRIPT_CATEGORY_UNSPECIFIED",
"name": "string",
"description": "string",
"auto_script_progression": true,
"acts": [
{
"dispositions": [
{
"response_type": "SCRIPT_RESPONSE_TYPE_UNSPECIFIED",
"header": "string",
"prompt": "string",
"required": true,
"default_value": "string",
"bypass_auto_script_progression": true,
"response_options": [
"string"
],
"order": 0,
"response_evaluator": 0
}
],
"verbiages": [
{
"header": "string",
"body": "string",
"order": 0
}
],
"conditional_navigations": [
{
"complex_boolean_expression_list": {
"complex_boolean_expressions": [
{
"compare_expression_list": {
"simple_compare_expression": [
{
"operator_type": "COMPARE_OPERATOR_TYPE_UNSPECIFIED",
"disposition_header": "string",
"compare_value": "string",
"act_index": 0
}
]
}
}
]
},
"target_act_index": 0
}
],
"default_conditional_navigation_target": 0,
"page_arrival_recording_control": 0,
"page_exit_recording_control": 0
}
],
"script_sid": 0
},
"hunt_group_sid": 0,
"script_sid": 0
}'
{}