Stream: implementers
Topic: using search parameters with operations
Eric Haas (Jun 28 2017 at 05:19):
With operations using the POST syntax can you add other search parameters inline instead of in the body?
POST [base]/Appointment/$availability{?_count=3&location.address=[Bruce's Zip Code]}
plus the payload
here I am intending to limit the number of returned appointments using the _count search parameter and filter using a chained search parameter.
Grahame Grieve (Jun 28 2017 at 06:17):
yes you can do that
Brian Postlethwaite (Jul 06 2017 at 00:44):
That's a good unit test too.
Eric Haas (Jul 06 2017 at 00:57):
They could be input parameters as well like 'count" and "location" above. Right?
Last updated: Apr 12 2022 at 19:14 UTC