Batch Create Portfolio Measures
post
/api/restapi/portfolioMeasure/batch
Send a request to this endpoint to create one or more portfolio measures. An application object will be created for each JSON object provided in the request body.
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
Supported Media Types
- application/json
201 Response
The object was successfully created.
Root Schema : List<ApiEntityPortfolioMeasure>
Type:
array
Title:
Show Source
List<ApiEntityPortfolioMeasure>
-
Array of:
object ApiEntityPortfolioMeasure
Title:
ApiEntityPortfolioMeasure
Nested Schema : ApiEntityPortfolioMeasure
Type:
object
Title:
Show Source
ApiEntityPortfolioMeasure
-
enabledFlag: 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)
The self-link to the object. This field is populated only in the responses generated by the batch create APIs.
-
measureId: integer
(int64)
The unique identifier of a portfolio measure.
-
measureName: string
Maximum Length:
255
The name of the measure. -
portfolioId: 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)
Date when the record was last updated.
-
workspaceCode: string
Minimum Length:
0
Maximum Length:60
The user-specified identifier of a workspace.
400 Response
Invalid input for a baseline portfolio measure.