Skip to main content
POST
Request or check a historical PnL report for a VaR observation date.

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, optional VaR selection fields, and ObservationDate as a date-time with no declared non-default range.

Requests historical P&L report data for one observation date.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.VarReportQuery.ApiVarReportQueryRunHistoricalPnlReportRequest, 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
observation_date
string<date-time>

Historical observation date for which P&L report data is requested.

Response

Returns whether the historical PnL report is ready, or an unsuccessful response envelope for an unusable observation date.

Reports whether the requested historical P&L report is ready to query.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.VarReportQuery.ApiVarReportQueryRunHistoricalPnlReportResponse, 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.

report_ready
boolean

true when the requested report data is loaded and ready; false when processing has been requested or is still incomplete.