Batch Update Portfolio Measures
put
/primeapi/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
Supported Media Types
- application/json
Portfolio Measure objects to be updated.
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
200 Response
A collection of object IDs mapped to a canonical link of the object. For example - {"links":{"1":"https://:/primeapi/restapi/
400 Response
Invalid input for a baseline portfolio measure.