Happy Business Starts Here

Retrieve Credit Memos based on updatedDate from Rest API

Newly Enrolled

Retrieve Credit Memos based on updatedDate from Rest API

I want to retrieve credit memos where updatedDate > 'yyyy-MM-dd 00:00:00' or updatedDate = 'yyyy-MM-dd' through the REST API. But I tried it seems only support "?updatedDate=2018-05-21 08:51:22" How can I form the url parameters?

1 REPLY 1
Zuora Staff
Zuora Staff

Re: Retrieve Credit Memos based on updatedDate from Rest API

I'm not very familiar with the Credit Memo API, so I will suggest something that might work for you.

 

First, familiarize yourself with Data Query: https://knowledgecenter.zuora.com/Central_Platform/Query/Data_Query/A_Overview_of_Data_Query.  Then, look up the data you are interested in (CreditMemo in your case): https://knowledgecenter.zuora.com/Central_Platform/Query/Data_Query/BA_SQL_Queries_in_Data_Query#sec... Finally, you can use the Data Query APIs to run the query https://www.zuora.com/developer/api-reference/#tag/Data-Queries to generate a file for you to download.