Publicis Sapient Interview Question

A intermediate-level machine coding problem involving fetching data from an external API and displaying details of a selected entity: It allows users to select an entity from the response. When the user selects an entity, it should populate and display its detailed information.