Products | Versions |
---|---|
TIBCO Cloud API Management | - |
For Mashery Reporting API's one hour is the smallest time period that Mashery API can return results for. There are some methods with 30 minute intervals (for example QPS APIs ) but in general Mashery Reporting API's can return results minimum for one hour time period. As the results are picked from aggregated logs where it is maintained hourly so we cannot go granular than this time limit.
curl -i 'http://api.mashery.com/v2/rest/areaid/reports/calls/status/service/serviceID?format=csv&start_date=2017-10-16T18:00:00Z&end_date=2017-10-16T18:01:00Z&apikey=29******5khb&sig='$(php -r 'echo md5("29*******khb"."********".time());') Results : showing endDate 2017-10-16T19:00 startDate,endDate,serviceKey,callStatusSuccessful,callStatusBlocked,callStatusOther,auditInfo 2017-10-16T18:00:00Z,2017-10-16T19:00:00Z,dxxhrcvpr5uv4rsktcyavg55,40,0,0,"1508355304 CallsStatusForService"