Comments (6)
That definitely seems like an odd response, but I would need more information to help debug your issue. If you could show me the code you ran that got this error I might be able to offer more advice.
from rets.
Closing this for now, if you want to discuss further @edenlin18, feel free to add more information and reopen.
from rets.
Sorry to reply this late. was caught up with my work lately.
I am not able to re-open this issue as it was closed by a repo collaborator.
The code I was using is as follows:
result = client.find :all, search_type: search_resource,
class: search_class,
query: search_query,
limit: search_limit
where
search_resource = 'OpenHouse'
search_class = 'OpenHouse'
search_query = '(ListingKeyNumeric=#some_numeric_val#),(OpenHouseStatus=ACT)'
limit = 0
Please let me know if I am using your library incorrectly.
Thanks!
from rets.
Unless I'm misunderstanding things, I believe your query needs to use select
like this:
search_resource = 'OpenHouse'
search_class = 'OpenHouse'
search_query = 'ListingKeyNumeric=#some_numeric_val#'
search_select = 'OpenHouseStatus=ACT'
search_limit = 0
result = client.find :all, search_type: search_resource, class: search_class, query: search_query, select: search_select, limit: search_limit
See client.rb
from rets.
@nanosplit thanks for your comment.
I am not sure why I need to use select
in this case.
My intention is to get all fields of active open house.
select
seems to apply in cases where you only want subset of fields from the data that mls is returning.
Please correct me if I am wrong.
Thanks in advance.
from rets.
@edenlin18 sorry for the late reply, I never received a notice =\
Correct, select returns just that set of fields. Your query looked similar to our providers example for using select, so I just connected those dots.
Unfortunately I'm not sure how you're supposed to search based on multiple conditions like you're needing, we just pull all the data from our provider then handle the queries in the app.
from rets.
Related Issues (20)
- how to get valid object_types for RETS object ?
- retscli HOT 1
- More complete examples? HOT 3
- RESO Web API 1.x HOT 1
- Getting Agent/Office details using unique identifiers HOT 3
- Auth/Logout Failure HOT 1
- can I set the User Agent value when connecting to the MLS? HOT 1
- Handling Pagination HOT 2
- Update capability HOT 5
- Create new release HOT 3
- Translating values using metadata on the fly? HOT 3
- Status 407 When Using a Proxy HOT 4
- Which version(s) of the RETS standard does this library work with? HOT 4
- Fetching images binary data from CRML HOT 13
- images issues HOT 1
- Error on login
- Key is not known in rets. HOT 2
- Get Lookup values HOT 1
- Retrieve photos in bulk
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rets.