Composing requests in export APIs
To initiate an export, submit an HTTPS GET request to the system in the following format:
https://<BMC End User Experience ManagementHost>/<resource>?<parameters>
Where:
- <SystemHost> is the IP address, alias, or host name of your BMC Real End User Experience Monitoring Software Edition computer.
- <resource> indicates the Export API you are accessing. For example, to access the Bulk data export API, you must specify getexport as the resource.
- <parameters> is one or multiple key-value pairs. Key-value pairs must be separated by ampersands (&) and the elements in a key-value pair must be linked with equal signs (=).
You can perform a maximum of five exports at one time.
Sample request to Bulk data export API
https://10.0.0.1/getexport?usr=jdoe&pwd=pa55w0rd
Sample requests to Watchpoint summary export API
Request to return data for a given time interval
https://10.0.0.1/wpdata?usr=security&pwd=demopass3e&start=2005.10.17.0.0&end=2005.10.18.23.55&format=CSV&zip=false&id=1,12,16
Request to return data for a dynamic time interval
https://10.0.0.1/wpdata?usr=security&pwd=demopass3e&timeframe=fullday&format=CSV&zip=false&id=1,12,16
Request to return data for the past 60 minutes
https://10.0.0.1/wpdata?usr=security&pwd=demopass3e&timeframe=60&format=CSV&zip=false&id=1,12,16
Sample request to Watchpoint streaming export API
https://10.0.0.1/getstream?usr=jdoe&pwd=pa55w0rd!&pages=c-ip,s-ip,cs-method,x-errors&id=1,2,3,5
Related topics
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*