This section explains configuration properties that are set on the /atg/rest/output/JSONOutputCustomizer component for Legacy REST Web Services.

Property

Description

enableFormatDateOutput

This configuration property specifies whether the Legacy REST Web Services server will return date properties in the following format:

MM/dd/yyyy HH:mm:ss z

If this property is set to true, dates will be returned in this format. If the property is set to false, dates will be returned as a string representation of the java.util.Date object.

See Date Format in Returned Data.

enablePerRequestFilters

This configuration property controls whether the Legacy REST Web Services server will accept filtering control parameters that are presented with REST requests. See Property Filtering with Legacy REST.

This property affects requests that will return results formatted with JSON markup. See Choosing Output Markup.

If this property is set to true, the server will accept the control parameters. If it is set to false the server will ignore them.

enablePerRequestComponentFilters

This configuration property controls whether the Legacy REST Web Services server will accept filtering control parameters that affect Nucleus components when they are presented with REST requests. See Property Filtering with Legacy REST.

This property affects requests that will return results formatted with JSON markup. See Choosing Output Markup.

If this property is set to true, the server will accept the control parameters. If it is set to false the server will ignore them.

enablePerRequestRepositoryFilters

This configuration property controls whether the Legacy REST Web Services server will accept filtering control parameters that affect repositories when they are presented with REST requests. See Property Filtering with Legacy REST.

This property affects requests that will return results formatted with JSON markup. See Choosing Output Markup.

If this property is set to true, the server will accept the control parameters. If it is set to false the server will ignore them.

enablePerRequestClassFilters

This configuration property controls whether the Legacy REST Web Services server will accept filtering control parameters that affect components that subclass or implement specific Java classes when they are presented with REST requests. See Property Filtering with Legacy REST.

This property affects requests that will return results formatted with JSON markup. See Choosing Output Markup.

If this property is set to true, the server will accept the control parameters. If it is set to false the server will ignore them.

showRestPaths

This configuration property specifies whether the Legacy REST Web Services server will return complex property values as Nucleus paths or by including the actual complex data in an HTTP response. See Expanding Multiple Values and Complex Objects.

Setting the showRestPaths property on the /atg/rest/output/JSONOutputCustomizer component only affects returned data that is formatted using JSON markup.

The following example specifies that multiple values and complex objects should be expanded in returned data.

showRestPaths=false


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