Authorization: ********************
{
"clause": {
"adherence_departmental_rule_clause_id": 0,
"adherence_departmental_rule_id": 0,
"action": {
"action_type": "ADHERENCE_DEPARTMENTAL_RULE_ACTION_TYPE_CALLS_ANSWERED"
},
"condition": "ADHERENCE_RULE_CONDITION_GREATER_THAN",
"amount": 0,
"unit": "ADHERENCE_RULE_UNIT_SECONDS",
"per_amount": 0,
"per_unit": "ADHERENCE_RULE_UNIT_SECONDS"
}
}
curl --location --request POST 'https://api.cbf.tcn.com/api/v1alpha1/wfm/createadherencedepartmentalruleclause' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"clause": {
"adherence_departmental_rule_clause_id": 0,
"adherence_departmental_rule_id": 0,
"action": {
"action_type": "ADHERENCE_DEPARTMENTAL_RULE_ACTION_TYPE_CALLS_ANSWERED"
},
"condition": "ADHERENCE_RULE_CONDITION_GREATER_THAN",
"amount": 0,
"unit": "ADHERENCE_RULE_UNIT_SECONDS",
"per_amount": 0,
"per_unit": "ADHERENCE_RULE_UNIT_SECONDS"
}
}'
{
"adherence_departmental_rule_clause_id": 0
}