Batch Create Portfolio Measures
post
/primeapi/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
Supported Media Types
- application/json
Portfolio Measures to be created.
Root Schema : List<ApiEntityPortfolioMeasure>
Type:
array
Title:
Show Source
List<ApiEntityPortfolioMeasure>
Nested Schema : ApiEntityPortfolioMeasure
Type:
Show Source
object
-
capitalPortfolioId:
integer(int64)
The unique identifier of a portfolio.
-
enabledFlag:
boolean
Indicates the state of the measure. Enabled measures can be associated with portfolios.
-
lastCalculatedDate(optional):
string(date-time)
The date on which the measure was last calculated.
-
link(optional):
string(url)
Read Only:
true
-
measureId:
integer(int64)
The unique identifier of a portfolio measure.
-
portfolioMeasureId(optional):
integer(int64)
The unique identifier of a portfolio measure.
-
updateDate(optional):
string(date-time)
Read Only:
true
Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response.
Response
Supported Media Types
- application/json
201 Response
The object was successfully created.
Nested Schema : ApiEntityPortfolioMeasure
Type:
Show Source
object
-
capitalPortfolioId:
integer(int64)
The unique identifier of a portfolio.
-
enabledFlag:
boolean
Indicates the state of the measure. Enabled measures can be associated with portfolios.
-
lastCalculatedDate(optional):
string(date-time)
The date on which the measure was last calculated.
-
link(optional):
string(url)
Read Only:
true
-
measureId:
integer(int64)
The unique identifier of a portfolio measure.
-
portfolioMeasureId(optional):
integer(int64)
The unique identifier of a portfolio measure.
-
updateDate(optional):
string(date-time)
Read Only:
true
Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response.
400 Response
Invalid input for a baseline portfolio measure.