def get_one_student(params)
      # api_path = "/ws/v1/district/student/{dcid}?expansions=school_enrollment,contact&q=student_username==xxxxxx237"
      ps_dcid    = params[:dcid] || params[:dc_id] || params[:id]
      api_path   = "/ws/v1/student/#{ps_dcid.to_i}"
      options    = { query:
                      { "extensions" => "s_stu_crdc_x,activities,c_studentlocator,u_students_extension,u_studentsuserfields,s_stu_ncea_x,s_stu_edfi_x,studentcorefields",
                        "expansions" => "demographics,addresses,alerts,phones,school_enrollment,ethnicity_race,contact,contact_info,initial_enrollment,schedule_setup,fees,lunch"
                      }
                    }
      return {"errorMessage"=>{"message"=>"A valid dcid must be entered."}} if "#{ps_dcid.to_i}".eql? "0"

      answer = api(:get, api_path, options)
      return { student: (answer["student"] || []) }  if answer.code.to_s.eql? "200"
      # return { student: (answer.parsed_response["student"] || []) } if answer.code.to_s.eql? "200"
      return {"errorMessage"=>"#{answer.response}"}
    end
def get_one_student(params)
      # api_path = "/ws/v1/district/student/{dcid}?expansions=school_enrollment,contact&q=student_username==xxxxxx237"
      ps_dcid    = params[:dcid] || params[:dc_id] || params[:id]
      api_path   = "/ws/v1/student/#{ps_dcid.to_i}"
      options    = { query:
                      { "extensions" => "s_stu_crdc_x,activities,c_studentlocator,u_students_extension,u_studentsuserfields,s_stu_ncea_x,s_stu_edfi_x,studentcorefields",
                        "expansions" => "demographics,addresses,alerts,phones,school_enrollment,ethnicity_race,contact,contact_info,initial_enrollment,schedule_setup,fees,lunch"
                      }
                    }
      return {"errorMessage"=>{"message"=>"A valid dcid must be entered."}} if "#{ps_dcid.to_i}".eql? "0"

      answer = api(:get, api_path, options)
      return { student: (answer["student"] || []) }  if answer.code.to_s.eql? "200"
      # return { student: (answer.parsed_response["student"] || []) } if answer.code.to_s.eql? "200"
      return {"errorMessage"=>"#{answer.response}"}
    end
retrieves all individual student's details - you must use the DCID !!!
 @param params [Hash] - use either: {dcid: "12345"} or {id: "12345"}
 @return [Hash] - in the format of:
 { :student=>
   { "@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",
     "_extension_data"=> {
       "_table_extension"=> [
         { "recordFound"=>false,
           "_field"=> [
             {"name"=>"preferredname", "type"=>"String", "value"=>"Guy"},
             {"name"=>"student_email", "type"=>"String", "value"=>"guy@las.ch"}
           ],
           "name"=>"u_students_extension"
         },
         { "recordFound"=>false,
           "_field"=> [
             {"name"=>"transcriptaddrzip", "type"=>"String", "value"=>1858},
             {"name"=>"transcriptaddrcountry", "type"=>"String", "value"=>"CH"},
             {"name"=>"transcriptaddrcity", "type"=>"String", "value"=>"Bex"},
             {"name"=>"transcriptaddrstate", "type"=>"String", "value"=>"VD"},
             {"name"=>"transcriptaddrline1", "type"=>"String", "value"=>"LAS"},
             {"name"=>"transcriptaddrline2", "type"=>"String", "value"=>"CP 108"}
           ],
           "name"=>"u_studentsuserfields"
         }
       ]
     },
     "id"=>7337,
     "local_id"=>555807,
     "student_username"=>"guy807",
     "name"=>{"first_name"=>"Mountain", "last_name"=>"BIV"},
     "demographics"=>{"gender"=>"M", "birth_date"=>"2002-08-26", "projected_graduation_year"=>2021},
     "addresses"=>"",
     "alerts"=>"",
     "phones"=>"",
     "school_enrollment"=> {
       "enroll_status"=>"A",
       "enroll_status_description"=>"Active",
       "enroll_status_code"=>0,
       "grade_level"=>9,
       "entry_date"=>"2018-06-22",
       "exit_date"=>"2019-08-06",
       "school_number"=>2,
       "school_id"=>2,
       "full_time_equivalency"=>{"fteid"=>970, "name"=>"FTE Admissions"}
     },
     "ethnicity_race"=>{"federal_ethnicity"=>"NO"},
     "contact"=>{"guardian_email"=>"guydad@orchid.ch"},
     "contact_info"=>{"email"=>"guy@las.ch"},
     "initial_enrollment"=>{"district_entry_grade_level"=>0, "school_entry_grade_level"=>0},
     "schedule_setup"=>{"next_school"=>33, "sched_next_year_grade"=>10},
     "fees"=>"",
     "lunch"=>{"balance_1"=>"0.00", "balance_2"=>"0.00", "balance_3"=>"0.00", "balance_4"=>"0.00", "lunch_id"=>0}
   }
 }
 @note the data within "u_students_extension" - is unique for each school