Move Companies Between Portfolios

This endpoint allows you to move companies from one portfolio to single (or) multiple portfolios. Removes the companies from the portfolio provided in the path parameter.

SecuritybearerToken
Request
path Parameters
portfolioId
required
number

The unique identifier of the portfolio you want to move companies from, obtained from /portfolios.

query Parameters
removeAll
boolean
Default: false

When RemoveAll query parameter is False, a portfolios and companies list needs to be passed. When RemoveAll query parameter is True, only portfolios need to be passed and companies List must be empty. All companies are moved and deleted from current portfolio.

Request Body schema: application/json
required
portfolios
required
Array of integers

Comma separated portfolioId(s).

Array of objects (Connect.Monitoring.CopyAndMoveCompaniesBodyCompanies)

Array of companies to copy.

Responses
200
400
401
404
post/monitoring/portfolios/{portfolioId}/companies/remove
Request samples
application/json
{
  • "portfolios": [
    ],
  • "companies": [
    ]
}
Response samples
application/json
{
  • "correlationId": "23921650-c073-11ea-860f-06bc8182190e",
  • "data": {
    }
}