Api views renamed and now they use generic views

Form for API record.