How to populate activity fields from an external API?