Example: Retrieving the health check reports download status
Here is a sample GET request that retrieves the health check reports download status. The request is made using a system-level user account that includes the administrator role.
Request with cURL command line
curl -k -b hcp-api-auth="HCP ZGVa3b9c17d52107f34fhdb83c7a5" https://admin.hcp.example.com:9090/mapi/healthCheckReport?prettyprint
Request headers
GET /mapi/healthCheckReport HTTP/1.1 Host: admin.hcp.example.com:9090 Authorization: HCP ZGVa3b9c17d52107f34fhdb83c7a5
Response headers
HTTP/1.1 200 OK Content-Type: application/xml X-HCP-SoftwareVersion: 9.2.27 Content-Length: 383
Response body in XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <healthCheckDownloadStatus> <readyForStreaming>true</readyForStreaming> <streamingInProgress>false</streamingInProgress> <error>false</error> <started>true</started> <content>HCR</content> </healthCheckDownloadStatus>