realtorca icon indicating copy to clipboard operation
realtorca copied to clipboard

Get details API is not available

Open gmolaire opened this issue 4 years ago • 6 comments

Getting the details doesn't seem to be available. Even making a call directly to the API returns this:

{ "ErrorCode": { "Id": 500, "Description": "Internal server error. Please contact [email protected] - ApplicationId of '' was fetched via '' and was not found within Application enumeration", "LogId": "dcb5f097-d9fb-4604-9c58-3ced29d56853", "ProductName": "! Push to PR-Stage - Realtor API (Maintenance)^29183 [Monday, September 14, 2020 1:17:36 PM]", "Version": "1.0.7562.23983" } } Any idea?

Good work by the way!

gmolaire avatar Sep 28 '20 15:09 gmolaire

hey @gmolaire, that's fascinating. What was the request that you used?

Doing a call on PropertyDetails still works for me at the moment.

Froren avatar Sep 30 '20 03:09 Froren

I'm using your documentation (although not your code) and it's been extremely helpful and my application is working nicely now, thank you! One parameter your documentation is missing is LandSizeRange which is a min-max field representing the number of acres. Possible values in the website GUI are: " " = any; 1-0; 2-0; 5-0; 10-0; 50-0; 100-0; 200-0; 300-0; 400-0; 500-0; 1000-0

I am now looking to use the PropertyDetails part of the API but your documentation is lacking at this point, other than saying GET https://api37.realtor.ca/Listing.svc/PropertyDetails

Do you have an example of what the request should look like to request details on a specific property? Presumably the OP's problem is related to a malformed query.

JamesHeinrich avatar Sep 30 '20 12:09 JamesHeinrich

hey @gmolaire, that's fascinating. What was the request that you used?

Doing a call on PropertyDetails still works for me at the moment.

Either through a REST client application or from a command line using curl https://api37.realtor.ca/Listing.svc/PropertyDetails

I am probably missing parameters here. When I add query parameters, I still get the same error. How do you use this API?

gmolaire avatar Sep 30 '20 12:09 gmolaire

I am probably missing parameters here. When I add query parameters, I still get the same error. How do you use this API?

I haven't yet had a chance to update the code to reflect this new API that was documented, PropertyDetails.

It was added by @iwasrobbed and you can see an example of his usage on https://github.com/Froren/realtorca/issues/19.

Froren avatar Sep 30 '20 18:09 Froren

Thanks, that contains all the useful details needed.

JamesHeinrich avatar Sep 30 '20 19:09 JamesHeinrich

Amazing, thanks @Froren!

gmolaire avatar Sep 30 '20 21:09 gmolaire