GithubHelp home page GithubHelp logo

call-center-service's Introduction

call-center-service

It is a Spring-boot project to calculate analytics from the call data saved for a callcenter.

Java 8

mvn clean install

Curls for Postman Collections

  1. Import Data

curl --location 'localhost:9191/analytics/import'
--header 'Content-Type: application/json'
--data '{ "fromNumber": "9999900000", "startTime": "2021-01-13T06:00:05", "endTime": "2021-01-13T06:23:06", "duration": 181 }'

  1. Import List of data

curl --location 'localhost:9191/analytics/importList'
--header 'Content-Type: application/json'
--data '[ { "fromNumber": "9999902010", "startTime": "2021-01-13T06:12:49", "endTime": "2021-01-13T06:14:44", "duration": 115 }, { "fromNumber": "9991323232", "startTime": "2022-01-13T07:02:49", "endTime": "2022-01-13T07:14:44", "duration": 715 }, { "fromNumber": "8484848484", "startTime": "2021-01-13T08:12:49", "endTime": "2021-01-13T08:14:44", "duration": 115 }, { "fromNumber": "9378373737", "startTime": "2021-01-13T10:12:49", "endTime": "2021-01-13T10:14:44", "duration": 115 }, { "fromNumber": "9837373737", "startTime": "2021-01-13T12:12:49", "endTime": "2021-01-13T12:14:44", "duration": 115 }, { "fromNumber": "9973737373", "startTime": "2021-01-13T15:12:49", "endTime": "2021-01-13T15:14:44", "duration": 115 } ]'

  1. Hour of the day when the call volume is highest.

curl --location 'localhost:9191/analytics/callWithHighestVolume'

  1. Hour of the day when the calls are longest.

curl --location 'localhost:9191/analytics/longestCallByHour'

  1. Day of the week when the call volume is highest.

curl --location 'localhost:9191/analytics/highestCallByDayOfWeek'

  1. Day of the week when the calls are longest.

curl --location 'localhost:9191/analytics/longestCallByDayOfWeek'

call-center-service's People

Contributors

rishabh378 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.