Answer Server 12.12

# ResponseFormat

The format in which you want to receive the action output. You can use one of the following response formats:

- `XML`. XML format.

- `Config`. Config format (that is, similar to the Answer Server configuration file).

- `json`. Default JSON format, as you configure in JSONFormat.

- `json/0`. A JSON format that returns single-element lists as objects, rather than arrays.
- `json/1`. A JSON format that returns single-element lists as arrays, for consistency with multiple-element lists.
- `simplejson`. A simplified JSON format, which omits `autn:` prefixes in node names, and does not use `$` nodes to represent XML nodes unless the equivalent XML node contains attributes.

For more information about the JSON formats, see JSONFormat

Type: | String
Default: | XML
Example: | `ResponseFormat=XML`
See Also: | JSONFormat

© Copyright 2016-2022 Micro Focus or one of its affiliates
Version 12.12 | Last updated June 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Answer Server 12.12

Topic Title: ResponseFormat