get json unapproved/approved appointments