Environment
Onomondo API: GET Retrieve All Usage
API query filters:
Time: year
Time: month
Limit: 20
Issue
API times out during GET Retrieve All Usage request
API /usage endpoint times out when fetching monthly usage records
API /usage endpoint times out when fetching yearly usage records
Solution
Use GET Retrieve Usage of specific SIM query instead. Run it through a list of all SIMs.
The above can be done either in Postman or using a custom script.
Workaround
Fetch "Individual SIM Breakdown" CSV report from the Usage tab in the Onomondo app.
Cause
The /usage endpoint may time out when you try to fetch large volumes of data at once. We are working on improving the performance of our database.
β