Froren / realtorca

API wrapper for realtor.ca MLS website
199 stars 76 forks source link

Property Search POST CultureID Error #29

Open matrix303 opened 3 years ago

matrix303 commented 3 years ago

Trying the following POST using postman application to get the error below.

POST URL: https://api37.realtor.ca/Listing.svc/PropertySearch_Post?CultureId=1&ApplicationId=37&PropertySearchTypeId=1&LongitudeMin=-79.6758985519409&LongitudeMax=-79.6079635620117&LatitudeMin=43.57601549736786&LatitudeMax=43.602250137362276&PriceMin=100000&PriceMax=410000

Response: ''' { "ErrorCode": { "Id": 400, "Description": "The request was invalid. - Invalid CultureID", "LogId": "", "ProductName": "! Push to PR-Stage - Realtor API (Maintenance)^30886 + UTMCode fix [Tuesday, April 27, 2021 12:36:06 PM]", "Version": "1.0.7787.22690" }, "Paging": { "RecordsPerPage": 0, "CurrentPage": 0, "TotalRecords": 0, "MaxRecords": 0, "TotalPages": 0, "RecordsShowing": 0, "Pins": 0 }, "Results": [], "Pins": [] } '''

I have also tried "CultureID" instead of CultureId.

The following GET propertydetails works:

https://api37.realtor.ca/Listing.svc/PropertyDetails?PropertyId=23130944&ReferenceNumber=W5212558&ApplicationId=37&CultureId=1