NiCE interview question

I asked to develop a microservice with a simle logic