Skip to main content

Arguments

portfolioNumber : String! required

Portfolio number to be retrieved.

Returns

PortfolioType

An object that represents a portfolio.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can access customer queries
OR Can query portfolios

Query Complexity

2

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

query Portfolio($portfolioNumber: String!) { portfolio(portfolioNumber: $portfolioNumber) { accounts { ...AccountConnectionTypeConnectionFragment } ancestors { ...PortfolioConnectionTypeConnectionFragment } billingName brand collectiveBilling createdAt depth descendants { ...PortfolioConnectionTypeConnectionFragment } id leadAccountNumber name number operationsTeam { ...OperationsTeamTypeFragment } parent { ...PortfolioTypeFragment } updatedAt } }

Variables

{ "portfolioNumber": "P-06F4F269" }

Response

{ "data": { "portfolio": { "accounts": AccountConnectionTypeConnection, "ancestors": PortfolioConnectionTypeConnection, "billingName": "guy-new-source-medical-oil", "brand": "people-knowledge-car-avoid-often", "collectiveBilling": true, "createdAt": "2008-04-14T06:55:17.322731+00:00", "depth": 28, "descendants": PortfolioConnectionTypeConnection, "id": "74970974", "leadAccountNumber": "A-79409A9D", "name": "success-summer-friend-thousand-civil", "number": "support-high-keep-brother-over", "operationsTeam": OperationsTeamType, "parent": PortfolioType, "updatedAt": "1985-04-06T21:21:31.598927+00:00" } } }