Your requirement closely matches to this Passing data from API to interactive form/form in ISC. Please check