> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve a temporary report Excel export as base64 content.

> Returns the workbook content and file name in a JSON response and makes the temporary export unavailable
after a successful read. A missing, expired, or already used identifier returns error messages in the
same HTTP 200 response shape. The response does not distinguish those cases with a separate documented
status.



## OpenAPI

````yaml /risk-and-pricing/atoti-risk-services/apis-endpoints/openapi/openapi.mintlify.json get /Export/Excel/DownloadV2
openapi: 3.0.4
info:
  title: Derivitec Api 1.0
  version: '1.0'
servers:
  - url: https://api.riskportal.activeviam.com
security:
  - oauth2: []
  - apikey: []
tags:
  - name: AdminUser
  - name: AtotiReport
  - name: AtotiSession
  - name: BloombergOAuth
  - name: Bond
  - name: BondYieldCurvePage
  - name: BookAccess
  - name: Books
  - name: Commodity
  - name: Counterparties
  - name: Currencies
  - name: Equity
  - name: EquityDividend
  - name: EquityPage
  - name: FeatureFlag
  - name: Fx
  - name: FxPage
  - name: GroupAccess
  - name: Home
  - name: LegacyPosition
  - name: MarketData
  - name: MarketDataProvider
  - name: MarketDataProviderAccess
  - name: Meta
  - name: Notification
  - name: Organisation
  - name: PnLReport
  - name: PortfolioAccess
  - name: Portfolios
  - name: Position
  - name: PositionFilter
  - name: PricingEnvironment
  - name: PricingEnvironmentAccess
  - name: RateAsset
  - name: RateAssetPage
  - name: Report
  - name: ReportDefinition
  - name: ReportHistoryLauncherQuery
  - name: ReportLauncher
  - name: ReportQuery
  - name: ReportQueryViewUser
  - name: ReportRestriction
  - name: ReportView
  - name: RiskReport
  - name: Tradable
  - name: TradeBooking
  - name: User
  - name: VarReport
  - name: VarReportQuery
  - name: YieldCurvePage
paths:
  /Export/Excel/DownloadV2:
    get:
      tags:
        - Report
      summary: Retrieve a temporary report Excel export as base64 content.
      description: >-
        Returns the workbook content and file name in a JSON response and makes
        the temporary export unavailable

        after a successful read. A missing, expired, or already used identifier
        returns error messages in the

        same HTTP 200 response shape. The response does not distinguish those
        cases with a separate documented

        status.
      operationId: DownloadExcelExportV2
      parameters:
        - name: exportId
          in: query
          description: >-
            The optional query-string export identifier returned when the
            temporary download was created; no format or default is declared.
          schema:
            type: string
      responses:
        '200':
          description: >-
            Returns base64 file content and a file name when available, or error
            messages when the temporary export cannot be retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiDownloadExcelResponse'
        '400':
          description: BadRequest
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - oauth2: []
        - apikey: []
components:
  schemas:
    ApiDownloadExcelResponse:
      required:
        - $type
      type: object
      properties:
        is_success:
          type: boolean
          description: >-
            Whether the operation completed successfully. The default is `true`;
            error outcomes set it to `false`.
          example: true
        error_messages:
          type: array
          items:
            type: string
          description: >-
            Messages explaining operation-level failures. The collection is
            empty by default.
          nullable: true
        file:
          type: string
          description: Base64-encoded report file content when available.
          nullable: true
        file_name:
          type: string
          description: Suggested file name when report file content is available.
          nullable: true
        content_type:
          type: string
          description: >-
            Optional media type for the downloaded file; the current JSON
            download action does not populate this field.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.Reports.ApiDownloadExcelResponse,
              Derivitec.Web.Core
      additionalProperties: false
      description: >-
        JSON response containing base64-encoded report file content and a
        suggested file name when available.
  securitySchemes:
    oauth2:
      type: oauth2
      description: >-
        OAuth2 access-token requested from AWS Cognito and provided as a Auth
        Bearer header
      flows:
        implicit:
          authorizationUrl: https://auth.riskportal.derivitec.com/oauth2/authorize
          scopes: {}
    apikey:
      type: apiKey
      description: API-Key requested via the site and provided as a header
      name: x-api-key
      in: header

````