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 .csv suffix or ?format=csv

HTTP + CSV

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

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

PortfolioId,Date,CalcOption,DisplayCurrency,AppKey,Token
00000000000000000000000000000000,0001-01-01,Accrual,String,0,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

Status,Response,ErrorMessage
Success,"{intervals:[{name:String,startDate:0001-01-01,endDate:0001-01-01}],finalNetWorthByInterval:[{date:0001-01-01,counterPartyValues:[{description:String,marketData:{inflation:0,prefixed:0,postFixed:0},value:0}],total:0,accumulatedTotal:0}],cashFlowMaturityByInterval:[{date:0001-01-01,counterPartyValues:[{description:String,marketData:{inflation:0,prefixed:0,postFixed:0},value:0}],total:0,accumulatedTotal:0}],netIncomeByInterval:[{date:0001-01-01,counterPartyValues:[{description:String,marketData:{inflation:0,prefixed:0,postFixed:0},value:0}],total:0,accumulatedTotal:0}],netRentabilityByInterval:[{date:0001-01-01,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}]}","{message:String,statusCode:0}"