An example using APMSQL REST API
for more information see SQL REST API - CA Application Performance Management - 10.7 - CA Technologies Documentation