Example: Preparing the health check report

Here’s a sample POST request that prepares the health check report for download. The request is made using a system-level user account that includes the administrator role.

Request with cURL command line

curl -X POST -k -b hcp-api-auth="HCP ZGVa3b9c17d52107f34fhdb83c7a5" https://admin.hcp.example.com:9090/mapi/healthCheckReport/prepare

Request headers

POST /mapi/healthCheckReport/prepare HTTP/1.1
Host: admin.hcp.example.com:9090
Authorization: HCP ZGVa3b9c17d52107f34fhdb83c7a5
Content-Type: application/xml
Content-Length: 37

Response headers

HTTP/1.1 200 OK
X-HCP-SoftwareVersion: 9.0.0.2
Content-Length: 0

© 2015, 2020 Hitachi Vantara LLC. All rights reserved.