> ## 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.

# List tradable identifiers held by a portfolio.

> Returns tradable identifiers represented by an accessible portfolio's positions at the end of the supplied calendar date in the caller's time zone. Duplicate identifiers can be retained. This synchronous operation is read-only.



## OpenAPI

````yaml /risk-and-pricing/atoti-risk-services/apis-endpoints/openapi/openapi.mintlify.json post /api/Tradable/GetTradableIdsFromPortfolio
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:
  /api/Tradable/GetTradableIdsFromPortfolio:
    post:
      tags:
        - Tradable
      summary: List tradable identifiers held by a portfolio.
      description: >-
        Returns tradable identifiers represented by an accessible portfolio's
        positions at the end of the supplied calendar date in the caller's time
        zone. Duplicate identifiers can be retained. This synchronous operation
        is read-only.
      operationId: GetTradableIdsFromPortfolio
      requestBody:
        description: >-
          JSON request with non-empty `PortfolioName`, optional `PortfolioType`
          when unambiguous, and meaningful `AsOfDateTime`. This operation has no
          market-data environment selector.
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/ApiGetTradableIdsFromPortfolioRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/ApiGetTradableIdsFromPortfolioRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ApiGetTradableIdsFromPortfolioRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ApiGetTradableIdsFromPortfolioRequest'
      responses:
        '200':
          description: >-
            Returns the identifier list, or an unsuccessful payload when the
            portfolio is unavailable to the caller.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiGetTradableIdsFromPortfolioResponse'
        '400':
          description: BadRequest
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - oauth2: []
        - apikey: []
components:
  schemas:
    ApiGetTradableIdsFromPortfolioRequest:
      required:
        - $type
      type: object
      properties:
        portfolio_name:
          type: string
          description: Name of the portfolio whose tradable identifiers are requested.
          nullable: true
        as_of_date_time:
          type: string
          description: >-
            Date whose end-of-day portfolio snapshot supplies the tradable
            identifiers; the time-of-day is discarded and request context
            supplies the timezone.
          format: date-time
        portfolio_type:
          enum:
            - derivitec
            - enfusion
            - orchestrade
            - liquidity_book
            - maia
            - fund_studio
            - not_set
          type: string
          description: Optional source classification of the selected portfolio.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.Tradables.ApiGetTradableIdsFromPortfolioRequest,
              Derivitec.Web.Core
      additionalProperties: false
      description: >-
        Portfolio and point-in-time selection used to retrieve its tradable
        identifiers.
    ApiGetTradableIdsFromPortfolioResponse:
      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
        tradable_ids:
          type: array
          items:
            type: string
          description: Tradable identifiers present in the selected portfolio snapshot.
          nullable: true
        $type:
          type: string
          enum:
            - >-
              Derivitec.Web.Core.Tradables.ApiGetTradableIdsFromPortfolioResponse,
              Derivitec.Web.Core
      additionalProperties: false
      description: Tradable identifiers retrieved from the selected portfolio.
  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

````