Batch Update Portfolio Measures
put
/api/restapi/portfolioMeasure/batch
Send a request to this endpoint to update one or more portfolio measures. For each JSON object provided in the request body, an application object with a matching ID value will be updated to reflect the JSON contents.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : List<ApiEntityPortfolioMeasureInput>
Type:
array
Title:
Show Source
List<ApiEntityPortfolioMeasureInput>
-
Array of:
object ApiEntityPortfolioMeasureInput
Title:
ApiEntityPortfolioMeasureInput
This entity represents a PortfolioMeasure object, a unique PortfolioMeasure object can be identified by the following combinations of the fields.- portfolioMeasureId
- measureId,portfolioId
- measureName,portfolioId,workspaceCode
- measureName,portfolioName,workspaceCode
- measureId,portfolioName,workspaceCode
Nested Schema : ApiEntityPortfolioMeasureInput
Type:
object
Title:
ApiEntityPortfolioMeasureInput
This entity represents a PortfolioMeasure object, a unique PortfolioMeasure object can be identified by the following combinations of the fields.
Show Source
- portfolioMeasureId
- measureId,portfolioId
- measureName,portfolioId,workspaceCode
- measureName,portfolioName,workspaceCode
- measureId,portfolioName,workspaceCode
-
enabledFlag(required): boolean
Indicates the state of the measure. Enabled measures can be associated with portfolios.
-
lastCalculatedDate: string
(date-time)
The date on which the measure was last calculated.
-
link: string(url)Read Only:true
Deprecated. As of 24.5.The self-link to the object. This field is populated only in the responses generated by the batch create APIs. -
measureId(required): integer
(int64)
The unique identifier of a portfolio measure.
-
measureName: string
Maximum Length:
255
The name of the measure. -
portfolioId(required): integer
(int64)
The unique identifier for the portfolio.The portfolio object can also be identified by its unique criteria.
-
portfolioMeasureId: integer
(int64)
The unique identifier of a portfolio measure.
-
portfolioName: string
Minimum Length:
1
Maximum Length:255
The name of the portfolio. -
updateDate: string(date-time)Read Only:true
Deprecated. As of 24.5.Date when the record was last updated. -
workspaceCode: string
Minimum Length:
0
Maximum Length:60
The user-specified identifier of a workspace.
Examples
Back to Top
Response
200 Response
A collection of object IDs mapped to a canonical link of the object. For example - {"links":{"1":"https://[host]:[port]/api/restapi/[object]/1","2":"https://[host]:[port]/api/restapi/[object]/2"}}
400 Response
Invalid input for a baseline portfolio measure.