Added generic API caller and AccountDetail method