Happy Business Starts Here

Email notification REST API returns no data when ""FailedOnly"is set to false

gbordawekar
Valued Scholar

Email notification REST API returns no data when ""FailedOnly"is set to false

 

 

Request URL: https://api.zuora.com/rest/v1/notification-history/email

 

I have set the "FailedOnly" setting to false but the call is not returning any records.

 

Here is my request header for the email notification REST call   - 

 

GET /rest/v1/notification-history/email HTTP/1.1
Host: api.zuora.com
startTime: 2016-08-31T00:00:00
endTime: 2016-09-01T00:00:00
failedOnly: false
eventCategory: 2120
pageSize: 1
Authorization: Basic ########
Cache-Control: no-cache
Postman-Token: 009f41dc-786d-20e1-aeaf-7c3f36857669

 

Postman returns the response as  { "emailHistories" : [ ], "success" : true }

 

Ideally the eventCategory is different than the one I have used above but for testing purposes I am using 2120 (Payment Processed). 

 

Any idea why the call is not returning all records for the given date range/ category?

 

1 REPLY 1
scottb
Zuora Staff

Re: Email notification REST API returns no data when ""FailedOnly"is set to false

Hi @gbordawekar

Your parameters appear to be good and should produce a result assuming there are email events from the category in question.  If this is the case, I would suggest that you file a case with support so we can review this in more detail.



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √