Authorization: Bearer ********************
{
"evaluation": {
"evaluation_state": "EVALUATION_IN_PROGRESS",
"completed_at": "1s",
"deleted_at": "1s",
"call_type": "INBOUND",
"channel_type": "CHANNEL_TYPE_EMAIL",
"call_metadata": {
"call_type": "INBOUND",
"call_sid": 0
},
"conversation_metadata": {
"conversation_sid": 0
},
"scorer_id": "string",
"score": 0,
"evaluation_sections": [
{
"deleted_at": "1s",
"created_at": "1s",
"points": 0,
"possible_points": 0,
"sort_order": 0,
"evaluation_questions": [
{
"skipped": true,
"answers": [
{
"answer_points": 0
}
],
"comment": "string",
"sort_order": 0,
"evaluation_question_id": 0,
"evaluation_id": 0,
"scorecard_question_id": 0,
"points": 0,
"evaluation_section_id": 0
}
],
"auto_evaluation_questions": [
{
"risk_level": "RISK_LEVEL_NONE",
"passed": true,
"sort_order": 0,
"expression_matched": true,
"auto_evaluation_question_id": 0,
"auto_evaluation_id": 0,
"auto_evaluation_section_id": 0,
"auto_question_id": 0,
"flagged": [
0
]
}
],
"skipped": true,
"evaluation_section_id": 0,
"evaluation_id": 0,
"section_id": 0
}
],
"agent_user_id": "string",
"custom_fields": [
{
"key": "string",
"field": "string"
}
],
"deleted_by": "string",
"is_recoverable": true,
"evaluation_id": 0,
"scorecard_id": 0,
"call_sid": 0,
"transcript_sid": 0
},
"update_mask": "string"
}
curl --location --request POST 'https://api.cbf.tcn.com/api/v1alpha1/scorecards/scorecards/updateevaluation' \
--header 'Content-Type: application/json' \
--data-raw '{
"evaluation": {
"evaluation_state": "EVALUATION_IN_PROGRESS",
"completed_at": "1s",
"deleted_at": "1s",
"call_type": "INBOUND",
"channel_type": "CHANNEL_TYPE_EMAIL",
"call_metadata": {
"call_type": "INBOUND",
"call_sid": 0
},
"conversation_metadata": {
"conversation_sid": 0
},
"scorer_id": "string",
"score": 0,
"evaluation_sections": [
{
"deleted_at": "1s",
"created_at": "1s",
"points": 0,
"possible_points": 0,
"sort_order": 0,
"evaluation_questions": [
{
"skipped": true,
"answers": [
{
"answer_points": 0
}
],
"comment": "string",
"sort_order": 0,
"evaluation_question_id": 0,
"evaluation_id": 0,
"scorecard_question_id": 0,
"points": 0,
"evaluation_section_id": 0
}
],
"auto_evaluation_questions": [
{
"risk_level": "RISK_LEVEL_NONE",
"passed": true,
"sort_order": 0,
"expression_matched": true,
"auto_evaluation_question_id": 0,
"auto_evaluation_id": 0,
"auto_evaluation_section_id": 0,
"auto_question_id": 0,
"flagged": [
0
]
}
],
"skipped": true,
"evaluation_section_id": 0,
"evaluation_id": 0,
"section_id": 0
}
],
"agent_user_id": "string",
"custom_fields": [
{
"key": "string",
"field": "string"
}
],
"deleted_by": "string",
"is_recoverable": true,
"evaluation_id": 0,
"scorecard_id": 0,
"call_sid": 0,
"transcript_sid": 0
},
"update_mask": "string"
}'
{
"evaluation": {
"evaluation_state": "EVALUATION_IN_PROGRESS",
"completed_at": "1s",
"deleted_at": "1s",
"call_type": "INBOUND",
"channel_type": "CHANNEL_TYPE_EMAIL",
"call_metadata": {
"call_type": "INBOUND",
"call_sid": 0
},
"conversation_metadata": {
"conversation_sid": 0
},
"scorer_id": "string",
"score": 0,
"evaluation_sections": [
{
"deleted_at": "1s",
"created_at": "1s",
"points": 0,
"possible_points": 0,
"sort_order": 0,
"evaluation_questions": [
{
"skipped": true,
"answers": [
{
"answer_points": 0
}
],
"comment": "string",
"sort_order": 0,
"evaluation_question_id": 0,
"evaluation_id": 0,
"scorecard_question_id": 0,
"points": 0,
"evaluation_section_id": 0
}
],
"auto_evaluation_questions": [
{
"risk_level": "RISK_LEVEL_NONE",
"passed": true,
"sort_order": 0,
"expression_matched": true,
"auto_evaluation_question_id": 0,
"auto_evaluation_id": 0,
"auto_evaluation_section_id": 0,
"auto_question_id": 0,
"flagged": [
0
]
}
],
"skipped": true,
"evaluation_section_id": 0,
"evaluation_id": 0,
"section_id": 0
}
],
"agent_user_id": "string",
"custom_fields": [
{
"key": "string",
"field": "string"
}
],
"deleted_by": "string",
"is_recoverable": true,
"evaluation_id": 0,
"scorecard_id": 0,
"call_sid": 0,
"transcript_sid": 0
}
}