Retrieve generated report

View as MarkdownOpen in Claude

Retrieves the Flex Query report instance identified by the ReferenceCode returned by a prior successful /SendRequest call. Depending on the size of the report, you may need to wait before calling this endpoint to allow generation to complete.

Query parameters

tstringRequired

The access token created for the Flex Web Service in Client Portal under Reporting -> Flex Queries.

qstringRequired

The ReferenceCode returned by a prior successful /SendRequest call, identifying the specific report instance to retrieve.

venumRequired

Version of the Flex Web Service. Values 2 and 3 are supported; version 3 should always be used.

Allowed values:

Response

The generated report file. The format (e.g. CSV, XML) depends on the configuration of the Flex Query template. On failure, an XML error response is returned instead.