diegoesp / erudio

A platform for looking teachers all around the world. Buy yourself piano, english or gym classes!
1 stars 0 forks source link

As an anonymous user I want to see a list of filtered teachers #20

Closed diegoesp closed 12 years ago

diegoesp commented 12 years ago

This is the last screen of the wizard where all teachers filtered are shown. We've already implemented a mock screen that gets mock data from the server.

Backend work is already implemented. This API was developed:

API for searching teachers in the wizard

#

@param [String] activity_id activity id for the teacher to match

@param [String] zone_id_csv A comma separated values list of zone id for the teacher to match

@param [String] goes_here an OPTIONAL boolean string => if true, then the teacher must be able to go to the detailed zones to teach

@param [String] receives_people_here an OPTIONAL boolean string => if true, then the teacher must be able to receive people in the detailed zones to teach

@param [String] must_have_phone an OPTIONAL boolean string => if true, then the teacher must have a phone

@param [String] must_have_email an OPTIONAL boolean string => if true, then the teacher allowed erudio to publish his email

@param [String] maximum_price_hour an OPTIONAL integer => If provided, gets the maximum allowed price per teacher

@param [String] order_by an OPTIONAL string => If provided, it must be a field of the model

@param [String] page_size an OPTIONAL number => If supplied, the search will be paginated and this page_size will be used. If page_number is not supplied an exception will be thrown.

@param [String] page_number an OPTIONAL number => If supplied, must be the page required based on page_size. If page_size was not supplied, an exception will be thrown.

@return [String] JSON with a list of teachers that includes at least teacher rating, full name, description, a link to a picture, phone (if exists), e-mail (if exists) and price (if exists)