Added API call to get parent event ids