def get_matching_students_page(params)
      api_path = "/ws/v1/district/student"
      params[:page_size]   ||= 100
      params[:page_number] ||= 1
      # pp params
      options = { query:
                  { "pagesize"    => "#{params[:page_size]}",
                    "page"        => "#{params[:page_number]}"} }
      query    = build_query(params)
      options[:query]["q"] = query     unless query.empty?
      return {"errorMessage"=>{"message"=>"A valid parameter must be entered."}} if query.empty?
      # pp options
      answer = api(:get, api_path, options)
      return answer.parsed_response         if answer.code.to_s.eql? "200"
      return {"errorMessage"=>"#{answer.response}"}
    end
def get_matching_students_page(params)
      api_path = "/ws/v1/district/student"
      params[:page_size]   ||= 100
      params[:page_number] ||= 1
      # pp params
      options = { query:
                  { "pagesize"    => "#{params[:page_size]}",
                    "page"        => "#{params[:page_number]}"} }
      query    = build_query(params)
      options[:query]["q"] = query     unless query.empty?
      return {"errorMessage"=>{"message"=>"A valid parameter must be entered."}} if query.empty?
      # pp options
      answer = api(:get, api_path, options)
      return answer.parsed_response         if answer.code.to_s.eql? "200"
      return {"errorMessage"=>"#{answer.response}"}
    end
NOT RECURSIVE - simple call to get one page of student summaries
 params = {username: "xxxxxxx"} or {local_id: "12345"}
 or       {enroll_status: "x"} or {status_code: "0"}
 or       {first_name: "John"} or {last_name: "Brown"}
 api_path = "/ws/v1/district/student?expansions=school_enrollment,contact&q=student_username==xxxxxx237"
 @return [Hash] - returns one page of students
 {"students"=>
   {"@expansions"=>
     "demographics, addresses, alerts, phones, school_enrollment, ethnicity_race, contact, contact_info, initial_enrollment, schedule_setup, fees, lunch",
    "@extensions"=>
     "s_stu_crdc_x,activities,c_studentlocator,u_students_extension,u_studentsuserfields,s_stu_ncea_x,s_stu_edfi_x,studentcorefields",
    "student"=>
     [{"id"=>4916, "local_id"=>112406, "student_username"=>"cccc406", "name"=>{"first_name"=>"Ssssss", "last_name"=>"CCCCC"}},
      {"id"=>4932,
       "local_id"=>112520,
       "student_username"=>"jjjjjjjj520",
       "name"=>{"first_name"=>"Ppppppp", "last_name"=>"JJJJJJJJ"}},
      {"id"=>4969,
       "local_id"=>112766,
       "student_username"=>"aaaaaaaa766",
       "name"=>{"first_name"=>"Sssss", "middle_name"=>"Aaaaaaaa", "last_name"=>"Aaaaaaaaaa"}}
     ]
   }
 }