- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Question:
How do I filter my results via REST? E.g. I'd like to query invoices created between specific dates.
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Answer:
For this purpose, you can use the action/query call:
POST https://rest.zuora.com/v1/action/query {
"queryString": "select id, invoicenumber, invoicedate from invoice where invoicedate > '2016-12-01' and invoicedate < '2016-12-31'"
}
Supporting reference:
https://www.zuora.com/developer/api-reference/#operation/Action_POSTquery
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Answer:
For this purpose, you can use the action/query call:
POST https://rest.zuora.com/v1/action/query {
"queryString": "select id, invoicenumber, invoicedate from invoice where invoicedate > '2016-12-01' and invoicedate < '2016-12-31'"
}
Supporting reference:
https://www.zuora.com/developer/api-reference/#operation/Action_POSTquery
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √