Happy Business Starts Here

Support SME

How do I filter my results via REST?

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 √

1 REPLY 1
Highlighted
Support SME

Re: How do I filter my results via REST?

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 √

Tags (2)