Copy Companies Between Portfolios

This endpoint allows you to copy companies from one portfolio to another. You can specify the source and destination portfolios to perform the copy operation.

SecuritybearerToken
Request
path Parameters
portfolioId
required
number

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

query Parameters
copyAll
boolean
Default: false

When CopyAll query parameter is False, portfolios and companies list needs to be passed. When CopyAll query parameter is True, only portfolios need to be passed and companies List must be empty. All companies are copied from current portfolio are considered here.

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/copy
Request samples
application/json
{
  • "portfolios": [
    ],
  • "companies": [
    ]
}
Response samples
application/json
{
  • "correlationId": "23921650-c073-11ea-860f-06bc8182190e",
  • "data": {
    }
}