---
title: "ResponseListViews"
url: "https://developer-beta.morningstar.com/apis/investment-details-feed-api/versions/bc1f8f4b-464c-40a5-af50-a06cce9f3980/schemas/ResponseListViews"
---

> Full API specification: https://developer-beta.morningstar.com/apis/investment-details-feed-api/versions/bc1f8f4b-464c-40a5-af50-a06cce9f3980.md

# ResponseListViews

Response containing entitled view packages and their associated dataset viewIds.

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Investment Details Feed API
  version: "1.0"
servers:
  - url: https://www.us-api.morningstar.com
    description: Americas
  - url: https://www.apac-api.morningstar.com
    description: APAC
  - url: https://www.emea-api.morningstar.com
    description: EMEA
components:
  schemas:
    OutputViewDetails:
      title: OutputViewDetails
      type: object
      description: A view package and the dataset viewIds it contains.
      required:
        - package
        - datasets
      properties:
        package:
          $ref: "#/components/schemas/OutputViewPackage"
        datasets:
          type: array
          description: Dataset viewIds included in this package.
          items:
            $ref: "#/components/schemas/OutputViewDataset"
          minItems: 0
      additionalProperties: false
    OutputMetadata:
      type: object
      properties:
        requestId:
          type: string
          nullable: true
        time:
          type: string
          format: date-time
          readOnly: true
        portfolioDate:
          type: string
          nullable: true
        portfolioCurrency:
          type: string
          nullable: true
        messages:
          type: array
          items:
            $ref: "#/components/schemas/OutputMetadataMessages"
          nullable: true
      additionalProperties: false
      title: OutputMetadata
    OutputViewPackage:
      title: OutputViewPackage
      type: object
      description: Identifies the entitled package-level view.
      required:
        - viewId
      properties:
        viewId:
          $ref: "#/components/schemas/OutputViewId"
      additionalProperties: false
    OutputViewDataset:
      title: OutputViewDataset
      type: object
      description: Identifies a dataset viewId associated with a package.
      required:
        - viewId
      properties:
        viewId:
          $ref: "#/components/schemas/OutputViewId"
      additionalProperties: false
    OutputMetadataMessages:
      type: object
      properties:
        type:
          type: string
          nullable: true
        code:
          type: string
          nullable: true
        investments:
          type: array
          items:
            $ref: "#/components/schemas/OutputInvalidInvestments"
          nullable: true
        message:
          type: string
          nullable: true
      additionalProperties: false
      title: OutputMetadataMessages
    OutputViewId:
      title: OutputViewId
      type: string
      description: >
        Identifier of an entitled view or dataset. Use this value as `viewId` in
        investment detail requests.
      minLength: 1
      example: equity-short-interest
    OutputInvalidInvestments:
      type: object
      properties:
        id:
          type: string
          nullable: true
        idType:
          type: string
          nullable: true
        status:
          type: string
          nullable: true
        datapointId:
          type: array
          items:
            type: string
          nullable: true
        errorCode:
          type: string
          nullable: true
        performanceId:
          type: string
          description: Performance ID (if not passed in request).
          nullable: true
        companyId:
          type: string
          description: Company ID (if not passed in request).
          nullable: true
        baseCurrency:
          type: string
          description: Input base currency used to look up Investment identifier
          nullable: true
        domicile:
          type: string
          description: Input domicile used to look up Investment identifier.
          nullable: true
        exchangeCountry:
          type: string
          description: Input exchange country used to look up Investment identifier.
          nullable: true
        exchangeId:
          type: string
          description: Input exchange id used to look up Investment identifier.
          nullable: true
      additionalProperties: false
      title: OutputInvalidInvestments
    ResponseListViews:
      title: ResponseListViews
      type: object
      description: >
        Response containing entitled view packages and their associated dataset
        viewIds.
      required:
        - views
        - metadata
      properties:
        views:
          type: array
          description: List of entitled view packages and their datasets.
          items:
            $ref: "#/components/schemas/OutputViewDetails"
        metadata:
          $ref: "#/components/schemas/OutputMetadata"
      additionalProperties: false
```
