TIES api call working