ATG REST Web Services returns the results of operations that you perform in an HTTP response message body. The output data can be returned in either JavaScript Object Notation (JSON) or eXtensible Markup Language (XML) format.

The following example shows output data in JSON format.

{"password": "280001"}

The following example shows output data in XML markup.

<password>280001</password>

You can configure your return output data to be provided in the format you choose by setting the default return output type on the REST server. Additionally, using the atg-rest-output command, you can override the default output type. Refer to the Adding Control Parameters section for additional information.


Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices