Skip to main content
POST
Export a VaR report as an Excel workbook.

Authorizations

Authorization
string
header
required

OAuth2 access-token requested from AWS Cognito and provided as a Auth Bearer header

Body

The body containing the opaque ReportId and optional PortfolioType, ConfidenceLevel, RowQuery, and WeightingVarDefinition.

Requests an XLSX export of a VaR report.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.VarReportQuery.ApiVarReportQueryExportToExcelRequest, Derivitec.Web.Core
confidence_level
number<double> | null

Optional VaR confidence-level override expressed as a decimal fraction; null retains the report's configured level.

Example:

0.99

row_query
object

Base selection criterion for a named report-data field.

weighting_var_definition
object

Configuration used to select VaR weighting behaviour.

row_restriction_filter
object

Base selection criterion for a named report-data field.

full_report_filter
object

Nested filter group that combines child criteria with a logical operator.

report_configuration
object

Optional named overrides used when querying or exporting a historical VaR report.

report_id
string | null

Opaque identifier of the report run to retrieve or query. The value must not be null or empty.

portfolio_type
enum<string> | null

Portfolio category used to resolve the requested portfolio. It may be omitted when the portfolio name resolves unambiguously.

Available options:
derivitec,
enfusion,
orchestrade,
liquidity_book,
maia,
fund_studio,
not_set

Response

Returns the Excel workbook as base64 content together with its file name and XLSX content type.

Returns an XLSX workbook for a VaR report.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.VarReportQuery.ApiVarReportQueryExportToExcelResponse, Derivitec.Web.Core
is_success
boolean

Whether the operation completed successfully. The default is true; error outcomes set it to false.

Example:

true

error_messages
string[] | null

Messages explaining operation-level failures. The collection is empty by default.

excel_workbook
string | null

Base64-encoded XLSX workbook content.

file_name
string | null

Generated filename for the workbook.

content_type
string | null
read-only

MIME type of excel_workbook.

Example:

"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"