Nifty PM icon

Nifty PM

Interact with Nifty PM API for project management

Portfolio → Get

AI-generated

Summary

Retrieve a portfolio from Nifty PM by ID or from the user's portfolio list.

Inputs

  • portfolioId (required) — The portfolio to operate on. Can be selected from a list (searchable via getPortfolios) or provided as an ID string.
  • requestOptions — Optional request configuration for the API call, including batching, proxy, SSL validation, and timeout settings.

Output shape

array

Each item contains the portfolio's name and id as returned by the Nifty PM API. If the operation is performed via ID, a single portfolio object is returned; via list mode, results correspond to the filtered subteams list.

Examples

Example 1: Retrieve a single portfolio by its Nifty PM ID.

Set portfolioId mode to 'By ID' and provide the ID (e.g., 'abc123'). requestOptions may be left at defaults.

Example 2: List and search available portfolios.

Set portfolioId mode to 'From List'. The node fetches subteams via GET https://openapi.niftypm.com/api/v1.0/subteams and supports text search. Batching and other request options can be configured in requestOptions.

Discussion