How to populate query when testing the QueryStreamEntriesWithData service?
I found an almost two year old thread that asks the following question:
“I'm trying to test the QueryStreamEntriesWithData service by selecting the "Test" button beside the service. One of the fields that needs to be populated is "query". So if I want to filter the data such that I see only the stream entries that has one of the columns equal a specific value, what do I enter into this field? “
The reply at the time appears to be in the context of version 5.0 and was “Testing a Service which takes a query parameter is probably not something you want to attempt from Composer.” and it went on to describe an alternate method. Here is the link to the original: How to populate the "query" field when testing Services that have a querying ability
Now, flash forward to today and my question:
Now that we are at version 6.x of the Composer has anything changed and thus is there a way to populate the query field when testing the QueryStreamEntriesWithData service as Loren originally requested?
I simply want to test filtering the query on Id = 1. (Id is a numeric field in the Data Stream)
I consulted the Composer 6.0 Help for this exact issue and it does have an extensive description of how to construct a query string for all the query* test services (but alas no examples). As a result, no matter what is placed in the "query" box of the QueryStreamEntriesWithData - Test Service in the Composer the error message is:
"Invalid QUERY value. Please make sure it's a valid JSON string"
Any guidance, especially with an example is greatly appreciated.
Thanks,




