Affluenza REST API

<back to all web services

GetInvestmentReportRequest

The following routes are available for this service:
POST,OPTIONS/reports/Investment

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/GetInvestmentReportRequest HTTP/1.1 
Host: www.plusrated.com 
Content-Type: application/json
Content-Length: length

{"portfolioId":"00000000000000000000000000000000","date":"0001-01-01T00:00:00.0000000","calcOption":"Accrual","displayCurrency":"String","appKey":0,"token":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"status":"Success","response":{"intervals":[{"name":"String","startDate":"0001-01-01T00:00:00.0000000","endDate":"0001-01-01T00:00:00.0000000"}],"finalNetWorthByInterval":[{"date":"0001-01-01T00:00:00.0000000","counterPartyValues":[{"description":"String","marketData":{"inflation":0,"prefixed":0,"postFixed":0},"value":0}],"total":0,"accumulatedTotal":0}],"cashFlowMaturityByInterval":[{"date":"0001-01-01T00:00:00.0000000","counterPartyValues":[{"description":"String","marketData":{"inflation":0,"prefixed":0,"postFixed":0},"value":0}],"total":0,"accumulatedTotal":0}],"netIncomeByInterval":[{"date":"0001-01-01T00:00:00.0000000","counterPartyValues":[{"description":"String","marketData":{"inflation":0,"prefixed":0,"postFixed":0},"value":0}],"total":0,"accumulatedTotal":0}],"netRentabilityByInterval":[{"date":"0001-01-01T00:00:00.0000000","counterPartyRentabilities":[{"description":"String","value":0}],"indexType":{"inflation":0,"prefixed":0,"postFixed":0},"rentability":{"netPeriod":0,"annualized":0,"accumulated":0,"accumulatedAnnualized":0},"benchmarks":[{"marketData":[{"description":"String","value":0,"type":"Annualized"}],"value":0,"description":"String"}],"principalBenchmarkDiscountedNetWorth":0}]},"errorMessage":{"message":"String","statusCode":0}}