How to filter by room type ?

52 views
Skip to first unread message

Hamed Al-Khabaz

unread,
Jul 24, 2013, 4:28:27 PM7/24/13
to roomor...@googlegroups.com
Greetings comrades.

I want to filter the roomtype so it returns only "type":"room".


How can I inject the parameter to return me a specific Room Types and Subtypes

Thanks

Donald Piret

unread,
Jul 24, 2013, 11:32:42 PM7/24/13
to roomor...@googlegroups.com
Hi Hamed,

You can use the types parameter in your query, passing in either a comma separated string of parameters or an array of types as values.

or 

Donald Piret
CTO

Roomorama
Skype:  donaldpiret | Email:  don...@roomorama.com
https://roomorama.com

Facebook | Twitter | YouTube

--
You received this message because you are subscribed to the Google Groups "Roomorama API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to roomorama-ap...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Hamed Al-Khabaz

unread,
Jul 25, 2013, 4:50:39 PM7/25/13
to roomor...@googlegroups.com
Thanks for the help.

However this does not seem to work at al!! I'm getting houses, cottages, and apartments for either of those links:

What's up ? 

Donald Piret

unread,
Jul 26, 2013, 5:19:42 AM7/26/13
to roomor...@googlegroups.com
Aha, that should be room_types, my bad. Will update the documentation to reflect this.

Hamed Al-Khabaz

unread,
Jul 30, 2013, 2:59:56 PM7/30/13
to roomor...@googlegroups.com
Thanks for the help, it works. 

Hamed
CEO at Outpost (http://outpost.travel)
Reply all
Reply to author
Forward
0 new messages