Create detail view and API call to populate the view