portfolio
Get details about a portfolio, using its portfolio number.
Arguments
Portfolio number to be retrieved.
Possible Errors
Allowed Viewers
Required Permissions
Can access customer queriesCan query portfolios
Query Complexity
2Examples
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 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"
}
}
}