Additional Supported Output Types for Form Service and Data Service (API 1.3.1 and EnterpriseOne Tools 9.2.0.2)

You can use the outputType parameter to enable the requester to control the format of the JSON response from either a form service or a data service.

Valid values in the outputType parameter for the supported output types are:

  • GRID_DATA_OUTPUT_TYPE

    This output type returns only data in the grid in simplified name-value pairs.

  • VERSION2_OUTPUT_TYPE

    This output type returns column-level information moved out of the grid row cell to a columnInfo section. Only cell specific information in each grid row cell is returned. Only non-default values are returned for fields on form and in the grid.

Note: For Application Stack calls, the output type must be set at the top level ApplicationStack object; all responses for that stack object will have the indicated output type. For example:
ApplicationStack appStackObj = new ApplicationStack();
appStackObj.setOutputType(FormRequest.VERSION2_OUTPUT_TYPE);