GET /api/v1/calls/{id звонка}
Пример ответа:
{
...
"client":"+79001720004",
"client_freezing":0.0,
"client_freezing_count":0,
"client_interjections_count":1,
"client_interjections_count_abs":1,
"client_interjections_duration":3.42,
"client_longest_silence_duration":30.0,
"client_longest_speech_duration":7.5,
"client_silence_duration":230.25,
"client_speech_duration":192.51,
"date_of_call":1552087240,
"day_of_week":"4",
"duration":422.78,
"duration_answer":0.0,
"hour_of_day":"15",
"id":12078611,
"interjections_count":2,
"interjections_count_abs":2,
"interjections_duration":5.73,
"longest_interjection":3.42,
"month_name":"05",
"operator":"101",
"operator_freezing":0.0,
"operator_freezing_count":0,
"silence_duration":99.42,
"silence_longest_duration":3.99,
"speech_rate_client":229.079008882655,
"speech_rate_operator":165.055762081784,
"status":"ACCEPTED",
"telephony_id":"573360.123154143",
"transcript_status":"READY",
...
}
Данный json содержит информацию о звонке:
Информацию об оценках можно получить используя один из следующих методов:
GET /api/v1/calls/{id звонка}/rating_details
GET /api/v1/calls/{id звонка}/rating_details/{rating_template_id}
Пример ответа:
{
"rating_details":{
"22695205":[
{
"grade":1,
"limiting":true,
"metric_label":"E7D5DD05_Slova_parazity86481161",
"metric_name":"Слова паразиты",
"metric_value":36
},
{
"grade":4,
"limiting":true,
"metric_label":"5080B475_Nekompetentnost'_operatora35684599",
"metric_name":"Некомпетентность оператора",
"metric_value":1
},
{
"grade":4,
"limiting":false,
"metric_label":"operator_interjections_count_abs",
"metric_name":"Оператор перебил клиента",
"metric_value":1
},
{
"grade":4,
"limiting":false,
"metric_label":"operator_speech_duration",
"metric_name":"Речь оператора",
"metric_value":161.4
},
{
"grade":5,
"limiting":true,
"metric_label":"duration_answer",
"metric_name":"Время до снятия трубки",
"metric_value":0.0
},
...
],
"91840530":[ ... ]
},
"ratings":{
"22695205":1,
"91840530":2
},
}
Доступные rating_template_id можно получить из запроса:
GET /api/v1/project/{id проекта}/rating/templates
https://www.notion.so/3f355a6d86cb4b4f858b3028f3e8d18f#adfc88d07b494cbf82bde63c41470346
Моменты, которые вызывают вопросы: