Code solution – API connection to the Person object