Ask Your Question

Revision history [back]

Strategic Alliance gives Bad Response on simple Actives Query

Using the following URL I am getting the following 400 response using Postman. This query stopped working on the 6th.

https://smlsa.paragonrels.com/OData/SMLSA/Strategic_17/Property?$filter=MlsStatus eq '_10__Active___Active'&$top=10

{
"error": {
    "code": 400,
    "target": null,
    "message": "Keys with secondary physical numbers cannot specify destination field: '[47.23]@Selling Office 1 PHONENUMBE R 1 DESC'",
    "details": null,
    "innerError": null
}

}

Oddly, using not equals does work. The following query works as expected.

https://smlsa.paragonrels.com/OData/SMLSA/Strategic_17/Property?$filter=MlsStatus ne '_20__Sold___Sold' and MlsStatus ne '_40__Expired___Expired' and MlsStatus ne '_50__Withdrawn___Withdrawn_Or_Cancelled' and MlsStatus ne '_51__Withdrawn___Temporary_Off_Market' and MlsStatus ne '_60__Leased___Leased'&$top=5000