Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add filter parameter to query? #2

Open
billyswifty opened this issue Jan 27, 2023 · 0 comments
Open

Add filter parameter to query? #2

billyswifty opened this issue Jan 27, 2023 · 0 comments

Comments

@billyswifty
Copy link

Is there a way to add a URL parameter to the request?

I am querying Properties with the URL below using client.properties:
https://api-prod.corelogic.com/trestle/odata/Property

The Web API allows me to pass a $filter parameter to the request, i.e. I could query for a specific listing with:
https://api-prod.corelogic.com/trestle/odata/Property?$filter=ListingId+eq+'146546'
to query for only the listing with ID 146546.

Is there a way to pass this $filter parameter through client.properties ?
Something like client.properties("ListingId eq '146546'") would work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant