Giter Site home page Giter Site logo

Connecting to RETS 1.7 about phrets HOT 4 CLOSED

troydavisson avatar troydavisson commented on August 16, 2024
Connecting to RETS 1.7

from phrets.

Comments (4)

troydavisson avatar troydavisson commented on August 16, 2024

This could be lots of things. My first suggestion is to check the return of SearchQuery to see if it's false. If it is false, print_r($rets->Error()) and see what that says. It'll probably hint at bad syntax, unknown field, or not satisfying a search requirement in which case you might double check your parameters and field names included in your request and make sure they match what the server understands by looking at the metadata using retsmd.com

from phrets.

thezenmonkey avatar thezenmonkey commented on August 16, 2024

I'm getting Invalid Query Type (20203) my query string is
$query = "(Idx_dt=2012-10-31+),(Timestap_sql=00:00:00+)";

At this point in developemnt it may be more cost/time effecient to hire someone who knows phRETS, if you're interested or know anyone it would be great.

from phrets.

troydavisson avatar troydavisson commented on August 16, 2024

I'm going to guess that the cause is because either (or maybe both) Idx_dt and Timestap_sql are DateTime fields which means they require a full timestamp. RETS has those formatted like:

2012-12-07T16:53:17

If you look at the metadata using retsmd.com, you'll be able to tell the data type for those fields.

from phrets.

thezenmonkey avatar thezenmonkey commented on August 16, 2024

Thanks, looks like Idx_dt was just a the date while timestamp_sql was a full timestamp. The documentation provided by board was misleading.

Sent from my iPhone

On 2012-12-07, at 4:54 PM, Troy Davisson [email protected] wrote:

I'm going to guess that the cause is because either (or maybe both) Idx_dt and Timestap_sql are DateTime fields which means they require a full timestamp. RETS has those formatted like:

2012-12-07T16:53:17

If you look at the metadata using retsmd.com, you'll be able to tell the data type for those fields.


Reply to this email directly or view it on GitHub.

from phrets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.