HCP Tenant Management Help


prettyprint

The prettyprint query parameter causes the XML or JSON returned in response to a GET request to be formatted for readability. For example, with the prettyprint parameter, the returned XML for a list of namespaces looks like this:

<namespaces>
    <name>Accounts-Payable</name>
    <name>Accounts-Receivable</name>
</namespaces>

Without the prettyprint parameter, the returned XML looks like this:

<?xml version="1.0" encoding="UTF-8"?><namespaces><name>Accounts-Payable</name>
<name>Accounts-Receivable</name></namespaces>

The prettyprint parameter increases the time it takes to process a request. Therefore, you should use it only for testing purposes and not in production applications.

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