- Java
- .NET
- Go
- Python
- CLI
- TS/JS
Copy
Ask AI
PortfoliosService portfoliosService = PrimeServiceFactory.createPortfoliosService(client);
GetPortfolioCreditInformationRequest request = new GetPortfolioCreditInformationRequest.Builder()
.portfolioId("PORTFOLIO_ID_HERE")
.build();
GetPortfolioCreditInformationResponse response = portfoliosService.getPortfolioCreditInformation(request);
Copy
Ask AI
var portfoliosService = new PortfoliosService(client);
var request = new GetPortfolioCreditInformationRequest("PORTFOLIO_ID_HERE");
var response = portfoliosService.GetPortfolioCreditInformation(request);
Copy
Ask AI
portfoliosService := portfolios.NewPortfoliosService(client)
request := &portfolios.GetPortfolioCreditInformationRequest{
PortfolioId: "PORTFOLIO_ID_HERE",
}
response, err := portfoliosService.GetPortfolioCreditInformation(context.Background(), request)
Copy
Ask AI
prime_client = PrimeClient(credentials)
request = GetPortfolioCreditInformationRequest(
portfolio_id="PORTFOLIO_ID_HERE",
)
response = prime_client.get_portfolio_credit_information(request)
Copy
Ask AI
primectl get-credit --help
Copy
Ask AI
const portfoliosService = new PortfoliosService(client);
portfoliosService.getPortfolioCredit({
portfolioId: 'PORTFOLIO_ID_HERE'
}).then(async (response) => {
console.log('Portfolio Credit: ', response);
})