Go to All Forums

API: Get SLA Report via API?

Can an SLA report be retrieved using the API?  I can see where SLA settings can be retrieved and changed, but how do I get the results using the API?
Like (1) Reply
Replies (1)

Hi Jeff,

The API's for the SLA Report are not released yet. Until then you can use the SLA API's that are used by our Native Apps

GET /api/reports/mobile/sla_reports/{sla_id}?monitor_id=monitor_id}&period=5&business_hours_id= { business_hours_id }

where 
period=1   ( For 1 day, )

period=2   ( For 1week )

period=3   ( For 1 month )

period=4   ( For 3 months )

period=5   ( For 6 months )


Hope this help. Get back to us for further queries.


Thanks,
Yamini

Like (0) Reply

Was this post helpful?