# View

The `View` action retrieves a single document and returns it in the response of the request.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`ConnectorGroup` | The name of the connector group to send the request to. This must match the name you specified when you configured the ConnectorGroupRouter processor in your dataflow. | Yes
`Document` | The identifier of the document to return. | Yes

## Example

    http://host:10000/action=View
                           &ConnectorGroup=FileSystem
                           &Document=...

## Response

The following XML shows an example response:

    <autnresponse>
        <action>VIEW</action>
        <response>SUCCESS</response>
        <responsedata>
            <reference>/opt/files/spreadsheet.xlsx</reference>
            <metadata>
                <FILESIZE>7523</FILESIZE>
                <LASTACCESSED>1568302040</LASTACCESSED>
                <LASTCHANGED>1568299154</LASTCHANGED>
                <LASTMODIFIED>1568299062</LASTMODIFIED>
            </metadata>
            <mime-type>application/octet-stream</mime-type>
            <filename>spreadsheet.xlsx</filename>
            <content>base64_encoded_file_content</content>
        </responsedata>
    </autnresponse>

The response includes the following elements:

- `reference` provides the document reference.
- `metadata` provides the metadata associated with the requested document. This is metadata available directly from the repository, not metadata extracted by KeyView.
- `page` elements (zero or more) provide text content, if the repository stores text alongside the document.
- `content` provides the file content, base-64 encoded.

© Copyright 2018-2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm