NiCE Interview Question

I asked to develop a microservice with a simle logic