Skip to main content
POST
Retrieve available P&L data for multiple report runs.

Authorizations

Authorization
string
header
required

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

Body

The body containing the collection of opaque P&L report-run identifiers. ReturnRawData is exposed by the schema but has no established effect for this operation.

Report-run identifiers and output-shape choice for retrieving multiple results.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.Reports.ApiGetReportsDataByIdRequest, Derivitec.Web.Core
report_ids
string[] | null

Opaque identifiers of the report runs whose result data is requested.

return_raw_data
boolean

Whether to return the raw result representation instead of formatted report data.

Response

Returns the available P&L data items, or an unsuccessful envelope when no reports are returned or validation messages are present.

P&L result data returned for the selected report runs.

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

data
object[] | null

P&L result entries returned for the selected report runs.