Amdocs interview question

Write a REST API for fetching users.