- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
What is the correct base URL for the REST API call in sandbox?
Followed the details in the kowledge base but get a Page Not fund error for sandbox. The production REST api call works.
Here's my test -
Gauri
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi @gbordawekar,
I've just tried this out myself using the Knowledge Centre article as the guide, and my URL looks as follows:
https://apisandbox-api.zuora.com/rest/v1/notification-history/email?startTime=2015-01-12T00:00:00&endTime=2015-01-15T00:00:00&failedOnly=false&eventCategory=1000&pageSize=1
I've tried this out on a Chrome extension called Postman, and these are the results:
Please try to replicate the scenario as shown above and let me know if you're still experiencing an issue thereafter.
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
Hi @gbordawekar,
I've just tried this out myself using the Knowledge Centre article as the guide, and my URL looks as follows:
https://apisandbox-api.zuora.com/rest/v1/notification-history/email?startTime=2015-01-12T00:00:00&endTime=2015-01-15T00:00:00&failedOnly=false&eventCategory=1000&pageSize=1
I've tried this out on a Chrome extension called Postman, and these are the results:
Please try to replicate the scenario as shown above and let me know if you're still experiencing an issue thereafter.
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
Re: Not found error in sandbox for Email notification REST API
Hi @OmarArroum
I used your URL and it worked for me through Postman.
Then I compared all the 3 URLs (KB, mine with error, yours) and noticed that the URL is case senstitive. KB mentions the sandbox URL with "V1" which results in error. It needs to be "v1" for a success response. I was able to switch the URLs and can replicate the error in Postman.
suggest to fix the typo in the KB 🙂
Thanks for your help.
Gauri
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Re: Not found error in sandbox for Email notification REST API
Hi @gbordawekar,
Great find, I'll make sure to let our Documentation team know that there is a typo in the article 🙂
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √