Authorization: ********************
{
"evaluation": {
"evaluation_id": 0,
"scorecard_id": 0,
"scorer_id": "string",
"call_sid": 0,
"score": 0,
"evaluation_state": "EVALUATION_IN_PROGRESS",
"evaluation_sections": [
{
"evaluation_section_id": 0,
"evaluation_id": 0,
"section_id": 0,
"points": 0,
"possible_points": 0,
"sort_order": 0,
"deleted_at": "1s",
"created_at": "1s",
"evaluation_questions": [
{
"evaluation_question_id": 0,
"evaluation_id": 0,
"scorecard_question_id": 0,
"skipped": true,
"points": 0,
"answers": [
{
"answer_points": 0
}
],
"evaluation_section_id": 0,
"comment": "string",
"sort_order": 0
}
],
"auto_evaluation_questions": [
{
"auto_evaluation_question_id": 0,
"auto_evaluation_id": 0,
"auto_evaluation_section_id": 0,
"auto_question_id": 0,
"flagged": [
0
],
"passed": true,
"sort_order": 0,
"risk_level": "RISK_LEVEL_NONE",
"expression_matched": true
}
],
"skipped": true
}
],
"completed_at": "1s",
"deleted_at": "1s",
"agent_user_id": "string",
"call_type": "INBOUND",
"transcript_sid": 0,
"custom_fields": [
{
"key": "string",
"field": "string"
}
],
"deleted_by": "string",
"is_recoverable": true,
"channel_type": "CHANNEL_TYPE_EMAIL",
"call_metadata": {
"call_sid": 0,
"call_type": "INBOUND"
},
"conversation_metadata": {
"conversation_sid": 0
}
},
"scorecard": {
"scorecard_id": 0,
"author_id": "string",
"title": "string",
"description": "string",
"pass_score": 0,
"score_type": "SCORE_SIMPLE_SUM",
"evaluation_type": "EVALUATE_MANUAL",
"allow_feedback": true,
"distribute_weights": true,
"category": {
"category_id": 0,
"author_id": "string",
"title": "string",
"description": "string",
"skill_profiles": [
0
],
"version": 0,
"call_types": [
"INBOUND"
],
"is_system": true,
"category_type": "INVALID",
"skill_profile_group_sids": [
0
]
},
"sections": [
{
"section_id": 0,
"scorecard_id": 0,
"title": "string",
"description": "string",
"weight": 0,
"questions": [
{
"scorecard_question_id": 0,
"question": "string",
"description": "string",
"question_id": 0,
"allow_skip": true,
"answers": [
{
"answer_points": 0
}
],
"multi_select": {
"max_points": 0
},
"scorecard_id": 0,
"section_id": 0,
"version": 0,
"sort_order": 0
}
],
"version": 0,
"sort_order": 0,
"auto_questions": [
{
"auto_question_id": 0,
"flag_sid": 0,
"scorecard_id": 0,
"auto_section_id": 0,
"sort_order": 0,
"flag_expression": {
"and": [
{}
],
"or": [
{}
],
"flag": {
"flag_sid": 0
},
"not": {}
},
"question": "string",
"description": "string",
"question_id": 0,
"risk_level": "RISK_LEVEL_NONE"
}
],
"smart_questions": [
{
"smart_question_id": 0,
"scorecard_id": 0,
"section_id": 0,
"question_id": 0,
"description": "string",
"question": "string",
"answers": [
{
"fail_type": "FAIL_QUESTION"
}
],
"focus": "QUESTION_FOCUS_UNSPECIFIED",
"sort_order": 0
}
]
}
],
"version": 0,
"state": "SCORECARD_IS_DRAFT",
"is_ad_hoc": true,
"custom_field_keys": [
"string"
],
"call_types": [
"INBOUND"
],
"updated_at": "1s",
"channels": [
"CHANNEL_TYPE_EMAIL"
],
"minimum_call_length": "string",
"minimum_sms_message_count": 0
}
}
curl --location --request POST 'https://api.cbf.tcn.com/api/v1alpha1/scorecards/scorecards/previewevaluationscore' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"evaluation": {
"evaluation_id": 0,
"scorecard_id": 0,
"scorer_id": "string",
"call_sid": 0,
"score": 0,
"evaluation_state": "EVALUATION_IN_PROGRESS",
"evaluation_sections": [
{
"evaluation_section_id": 0,
"evaluation_id": 0,
"section_id": 0,
"points": 0,
"possible_points": 0,
"sort_order": 0,
"deleted_at": "1s",
"created_at": "1s",
"evaluation_questions": [
{
"evaluation_question_id": 0,
"evaluation_id": 0,
"scorecard_question_id": 0,
"skipped": true,
"points": 0,
"answers": [
{
"answer_points": 0
}
],
"evaluation_section_id": 0,
"comment": "string",
"sort_order": 0
}
],
"auto_evaluation_questions": [
{
"auto_evaluation_question_id": 0,
"auto_evaluation_id": 0,
"auto_evaluation_section_id": 0,
"auto_question_id": 0,
"flagged": [
0
],
"passed": true,
"sort_order": 0,
"risk_level": "RISK_LEVEL_NONE",
"expression_matched": true
}
],
"skipped": true
}
],
"completed_at": "1s",
"deleted_at": "1s",
"agent_user_id": "string",
"call_type": "INBOUND",
"transcript_sid": 0,
"custom_fields": [
{
"key": "string",
"field": "string"
}
],
"deleted_by": "string",
"is_recoverable": true,
"channel_type": "CHANNEL_TYPE_EMAIL",
"call_metadata": {
"call_sid": 0,
"call_type": "INBOUND"
},
"conversation_metadata": {
"conversation_sid": 0
}
},
"scorecard": {
"scorecard_id": 0,
"author_id": "string",
"title": "string",
"description": "string",
"pass_score": 0,
"score_type": "SCORE_SIMPLE_SUM",
"evaluation_type": "EVALUATE_MANUAL",
"allow_feedback": true,
"distribute_weights": true,
"category": {
"category_id": 0,
"author_id": "string",
"title": "string",
"description": "string",
"skill_profiles": [
0
],
"version": 0,
"call_types": [
"INBOUND"
],
"is_system": true,
"category_type": "INVALID",
"skill_profile_group_sids": [
0
]
},
"sections": [
{
"section_id": 0,
"scorecard_id": 0,
"title": "string",
"description": "string",
"weight": 0,
"questions": [
{
"scorecard_question_id": 0,
"question": "string",
"description": "string",
"question_id": 0,
"allow_skip": true,
"answers": [
{
"answer_points": 0
}
],
"multi_select": {
"max_points": 0
},
"scorecard_id": 0,
"section_id": 0,
"version": 0,
"sort_order": 0
}
],
"version": 0,
"sort_order": 0,
"auto_questions": [
{
"auto_question_id": 0,
"flag_sid": 0,
"scorecard_id": 0,
"auto_section_id": 0,
"sort_order": 0,
"flag_expression": {
"and": [
{}
],
"or": [
{}
],
"flag": {
"flag_sid": 0
},
"not": {}
},
"question": "string",
"description": "string",
"question_id": 0,
"risk_level": "RISK_LEVEL_NONE"
}
],
"smart_questions": [
{
"smart_question_id": 0,
"scorecard_id": 0,
"section_id": 0,
"question_id": 0,
"description": "string",
"question": "string",
"answers": [
{
"fail_type": "FAIL_QUESTION"
}
],
"focus": "QUESTION_FOCUS_UNSPECIFIED",
"sort_order": 0
}
]
}
],
"version": 0,
"state": "SCORECARD_IS_DRAFT",
"is_ad_hoc": true,
"custom_field_keys": [
"string"
],
"call_types": [
"INBOUND"
],
"updated_at": "1s",
"channels": [
"CHANNEL_TYPE_EMAIL"
],
"minimum_call_length": "string",
"minimum_sms_message_count": 0
}
}'
{
"evaluation": {
"evaluation_id": 0,
"scorecard_id": 0,
"scorer_id": "string",
"call_sid": 0,
"score": 0,
"evaluation_state": "EVALUATION_IN_PROGRESS",
"evaluation_sections": [
{
"evaluation_section_id": 0,
"evaluation_id": 0,
"section_id": 0,
"points": 0,
"possible_points": 0,
"sort_order": 0,
"deleted_at": "1s",
"created_at": "1s",
"evaluation_questions": [
{
"evaluation_question_id": 0,
"evaluation_id": 0,
"scorecard_question_id": 0,
"skipped": true,
"points": 0,
"answers": [
{
"answer_points": 0
}
],
"evaluation_section_id": 0,
"comment": "string",
"sort_order": 0
}
],
"auto_evaluation_questions": [
{
"auto_evaluation_question_id": 0,
"auto_evaluation_id": 0,
"auto_evaluation_section_id": 0,
"auto_question_id": 0,
"flagged": [
0
],
"passed": true,
"sort_order": 0,
"risk_level": "RISK_LEVEL_NONE",
"expression_matched": true
}
],
"skipped": true
}
],
"completed_at": "1s",
"deleted_at": "1s",
"agent_user_id": "string",
"call_type": "INBOUND",
"transcript_sid": 0,
"custom_fields": [
{
"key": "string",
"field": "string"
}
],
"deleted_by": "string",
"is_recoverable": true,
"channel_type": "CHANNEL_TYPE_EMAIL",
"call_metadata": {
"call_sid": 0,
"call_type": "INBOUND"
},
"conversation_metadata": {
"conversation_sid": 0
}
}
}