add endpoint framework for inquiry API