appointment api controller started