I am trying to connect to a Real Estate Transaction Standards (RETS) server to pull listing where Matrix_Unique_Id is in a list of bigint values.
My DMQL query IN-clause looks something like this
(Matrix_Unique_Id=|123456789456,845686745,845156413,8654543354)
However, that is giving me the following error
DMQL: Invalid BigInt criteria for field 'Matrix_Unique_ID'string
If I use the same syntax to search for a string in a list it works fine for example
(Status=|Active,Pending,Expired)
How can I search the listing where Matrix_Unique_Id in a long list of values?
It turned out to be that IN Syntax works only for string types.
To get the
bigintworking, I had to do the following nasty syntaxThe above gave me the intended result. However, since this makes the request URI much lengthier, I had to submit multiple requests to avoid HTTP error code
404or414.