Skip to main content

Supported What-If Operations

Endpoint: /whatif/supported Method : GET Example endpoint: http://localhost:10010/mr-application/services/rest/v3/whatif/supported Result is a serialized array of SupportedWhatIfOperationDTOs Example Result:

What-If Execution Services

Every service below accepts the same request body, deserialized into BranchAwareAdjustmentRequestDTO:
The request body is not bean-validated, so an incomplete payload is not rejected with a 400 Bad Request. Omitting toBranch fails with a 500 Internal Server Error; omitting filters or input fails with a 500 only on services that read them, such as the PnL roll-over. Send every field marked Expected.
parentBranch was added in 6.0.9 and is optional over REST, so payloads that omit it (including every sample below) behave exactly as before.

VaR-ES Cube Scenario Add-on

  • URL: whatif/pnl-scenario-addon
  • Sample input:

VaR-ES Cube Scenario Scaling

  • URL: whatif/pnl-scenario-scaling
  • Sample input:

VaR-ES Cube Book Add-on

  • URL: whatif/pnl-book-addon
  • Sample input:

VaR-ES Cube Book Scaling

  • URL: whatif/pnl-book-scaling
  • Sample input:

VaR-ES Cube Trade Add-on

  • URL: whatif/pnl-vector-addon
  • Sample input:

VaR-ES Cube Trade Scaling

  • URL: whatif/pnl-vector-scaling
  • Sample input:

VaR-ES Cube Roll-over

  • URL: whatif/pnl-vector-substitution
  • Sample input:

Sensitivity Cube Delta Book Add-on

  • URL: whatif/delta-book-addon
  • Sample input:

Sensitivity Cube Delta Book Scaling

  • URL: whatif/delta-book-scaling
  • Sample input:

Sensitivity Cube Delta Add-on

  • URL: whatif/delta-vector-addon
  • Sample input:

Sensitivity Cube Delta Scaling

  • URL: whatif/delta-vector-scaling
  • Sample input:

Sensitivity Cube Delta Roll-over

  • URL: whatif/delta-vector-substitution
  • Sample input: