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

HTTP + XML

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

POST /xml/reply/GetInvestmentReportRequest HTTP/1.1 
Host: 107.22.237.214 
Content-Type: application/xml
Content-Length: length

<ReportTransport.GetInvestmentReportRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Transport">
  <AppKey xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest">0</AppKey>
  <Token xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest">String</Token>
  <CalcOption>Accrual</CalcOption>
  <Date>0001-01-01T00:00:00</Date>
  <DisplayCurrency>String</DisplayCurrency>
  <PortfolioId>00000000-0000-0000-0000-000000000000</PortfolioId>
</ReportTransport.GetInvestmentReportRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ReportTransport.GetInvestmentReportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Transport">
  <_x003C_ErrorMessage_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest">
    <_x003C_Message_x003E_k__BackingField>String</_x003C_Message_x003E_k__BackingField>
    <_x003C_StatusCode_x003E_k__BackingField>0</_x003C_StatusCode_x003E_k__BackingField>
  </_x003C_ErrorMessage_x003E_k__BackingField>
  <_x003C_Response_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest.Resource.Report" xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest">
    <d2p1:CashFlowMaturityByInterval>
      <d2p1:InvestmentResultResource>
        <d2p1:AccumulatedTotal>0</d2p1:AccumulatedTotal>
        <d2p1:CounterPartyValues>
          <d2p1:InvestmentCounterPartyResource>
            <d2p1:Description>String</d2p1:Description>
            <d2p1:MarketData>
              <d2p1:Inflation>0</d2p1:Inflation>
              <d2p1:PostFixed>0</d2p1:PostFixed>
              <d2p1:Prefixed>0</d2p1:Prefixed>
            </d2p1:MarketData>
            <d2p1:Value>0</d2p1:Value>
          </d2p1:InvestmentCounterPartyResource>
        </d2p1:CounterPartyValues>
        <d2p1:Date>0001-01-01T00:00:00</d2p1:Date>
        <d2p1:Total>0</d2p1:Total>
      </d2p1:InvestmentResultResource>
    </d2p1:CashFlowMaturityByInterval>
    <d2p1:FinalNetWorthByInterval>
      <d2p1:InvestmentResultResource>
        <d2p1:AccumulatedTotal>0</d2p1:AccumulatedTotal>
        <d2p1:CounterPartyValues>
          <d2p1:InvestmentCounterPartyResource>
            <d2p1:Description>String</d2p1:Description>
            <d2p1:MarketData>
              <d2p1:Inflation>0</d2p1:Inflation>
              <d2p1:PostFixed>0</d2p1:PostFixed>
              <d2p1:Prefixed>0</d2p1:Prefixed>
            </d2p1:MarketData>
            <d2p1:Value>0</d2p1:Value>
          </d2p1:InvestmentCounterPartyResource>
        </d2p1:CounterPartyValues>
        <d2p1:Date>0001-01-01T00:00:00</d2p1:Date>
        <d2p1:Total>0</d2p1:Total>
      </d2p1:InvestmentResultResource>
    </d2p1:FinalNetWorthByInterval>
    <d2p1:Intervals>
      <d2p1:InvestmentDateRangeResource>
        <d2p1:EndDate>0001-01-01T00:00:00</d2p1:EndDate>
        <d2p1:Name>String</d2p1:Name>
        <d2p1:StartDate>0001-01-01T00:00:00</d2p1:StartDate>
      </d2p1:InvestmentDateRangeResource>
    </d2p1:Intervals>
    <d2p1:NetIncomeByInterval>
      <d2p1:InvestmentResultResource>
        <d2p1:AccumulatedTotal>0</d2p1:AccumulatedTotal>
        <d2p1:CounterPartyValues>
          <d2p1:InvestmentCounterPartyResource>
            <d2p1:Description>String</d2p1:Description>
            <d2p1:MarketData>
              <d2p1:Inflation>0</d2p1:Inflation>
              <d2p1:PostFixed>0</d2p1:PostFixed>
              <d2p1:Prefixed>0</d2p1:Prefixed>
            </d2p1:MarketData>
            <d2p1:Value>0</d2p1:Value>
          </d2p1:InvestmentCounterPartyResource>
        </d2p1:CounterPartyValues>
        <d2p1:Date>0001-01-01T00:00:00</d2p1:Date>
        <d2p1:Total>0</d2p1:Total>
      </d2p1:InvestmentResultResource>
    </d2p1:NetIncomeByInterval>
    <d2p1:NetRentabilityByInterval>
      <d2p1:InvestmentNetRentabilityResource>
        <d2p1:Benchmarks>
          <d2p1:InvestmentBenchmarkRentabilityResource>
            <d2p1:Description>String</d2p1:Description>
            <d2p1:Value>0</d2p1:Value>
            <d2p1:marketData>
              <d2p1:InvestmentMarketDataResource>
                <d2p1:Description>String</d2p1:Description>
                <d2p1:Type>Annualized</d2p1:Type>
                <d2p1:Value>0</d2p1:Value>
              </d2p1:InvestmentMarketDataResource>
            </d2p1:marketData>
          </d2p1:InvestmentBenchmarkRentabilityResource>
        </d2p1:Benchmarks>
        <d2p1:CounterPartyRentabilities>
          <d2p1:InvestmentCounterPartyPercentageResource>
            <d2p1:Description>String</d2p1:Description>
            <d2p1:Value>0</d2p1:Value>
          </d2p1:InvestmentCounterPartyPercentageResource>
        </d2p1:CounterPartyRentabilities>
        <d2p1:Date>0001-01-01T00:00:00</d2p1:Date>
        <d2p1:IndexType>
          <d2p1:Inflation>0</d2p1:Inflation>
          <d2p1:PostFixed>0</d2p1:PostFixed>
          <d2p1:Prefixed>0</d2p1:Prefixed>
        </d2p1:IndexType>
        <d2p1:PrincipalBenchmarkDiscountedNetWorth>0</d2p1:PrincipalBenchmarkDiscountedNetWorth>
        <d2p1:Rentability>
          <d2p1:Accumulated>0</d2p1:Accumulated>
          <d2p1:AccumulatedAnnualized>0</d2p1:AccumulatedAnnualized>
          <d2p1:Annualized>0</d2p1:Annualized>
          <d2p1:NetPeriod>0</d2p1:NetPeriod>
        </d2p1:Rentability>
      </d2p1:InvestmentNetRentabilityResource>
    </d2p1:NetRentabilityByInterval>
  </_x003C_Response_x003E_k__BackingField>
  <_x003C_Status_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/M2M.Affluenza.Core.Rest">Success</_x003C_Status_x003E_k__BackingField>
</ReportTransport.GetInvestmentReportResponse>