Skip to main content

We've Moved!

Product Documentation has moved to docs.hitachivantara.com
Hitachi Vantara Knowledge

Management API XML schema


HCP uses an XML schema to validate the XML in management API request bodies and to generate the XML in management API response bodies. To retrieve this schema from the HCP system, you use a URL with this format:

https://(admin|tenant-name).hcp-domain-name:9090/static/
    mapi-8_1_0.xsd

To retrieve the schema, you need a system-level or tenant-level user account with the administrator role.

Here’s a sample curl command that retrieves the management API schema and writes it to a file named mapi_schema.xsd:

curl -k -i -H "Accept: application/xml"
    -H "Authorization: HCP YWxscm9sZXM=:04EC9F614D89FF5C7126D32ACB448382"
    "https://admin.hcp.example.com:9090/s...mapi-8_1_0.xsd"
    > mapi_schema.xsd

© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.

 

  • Was this article helpful?