Created functionality to look up regioncodes based on destinationstring and write to DB if pulling code from API