PortfolioLinkApi

<back to all web services

AdditionalGetIncomeCashFlowRequest

Requires Authentication
The following routes are available for this service:
All Verbs/projections/additionalincome
AdditionalGetIncomeCashFlowRequest Parameters:
NameParameterData TypeRequiredDescription
AdditionalGetIncomeCashFlowRequestsqueryList<GetIncomeCashFlowRequest>No
GetIncomeCashFlowRequest Parameters:
NameParameterData TypeRequiredDescription
KeyIndexformintNo
IncomeLabelformstringNo
IncomeIncludeZeroIncomeYearsformboolNo
IncomeformdecimalNo
TaxRateformdecimalNo
IncomeToLastformintNo
CurrentAgeformintNo
IncomeGrowthformdecimalNo
IncomeGrowthFrequencyformdecimalNo
PayoutFrequencyformintNo
StartYearformintNo
HasAdhocCashFlowformboolNo
AdhocCashFlowAge1formintNo
AdhocCashFlow1formdecimalNo
AdhocCashFlowAge2formintNo
AdhocCashFlow2formdecimalNo
AdhocCashFlowAge3formintNo
AdhocCashFlow3formdecimalNo
ApplySmileformboolNo
GetIncomeCashFlowResponse Parameters:
NameParameterData TypeRequiredDescription
IncomesformList<IncomeView>No
IndividualIncomesformList<GetIncomeCashFlowResponse>No
IncomeView Parameters:
NameParameterData TypeRequiredDescription
YearformintNo
IncomeformdecimalNo

To override the Content-type in your clients, use the 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 /projections/additionalincome HTTP/1.1 
Host: api.portfoliolink.co.za 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<AdditionalGetIncomeCashFlowRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortfolioLinkApi.ServiceModel">
  <AdditionalGetIncomeCashFlowRequests>
    <GetIncomeCashFlowRequest>
      <AdhocCashFlow1>0</AdhocCashFlow1>
      <AdhocCashFlow2>0</AdhocCashFlow2>
      <AdhocCashFlow3>0</AdhocCashFlow3>
      <AdhocCashFlowAge1>0</AdhocCashFlowAge1>
      <AdhocCashFlowAge2>0</AdhocCashFlowAge2>
      <AdhocCashFlowAge3>0</AdhocCashFlowAge3>
      <ApplySmile>false</ApplySmile>
      <CurrentAge>0</CurrentAge>
      <HasAdhocCashFlow>false</HasAdhocCashFlow>
      <Income>0</Income>
      <IncomeGrowth>0</IncomeGrowth>
      <IncomeGrowthFrequency>0</IncomeGrowthFrequency>
      <IncomeIncludeZeroIncomeYears>false</IncomeIncludeZeroIncomeYears>
      <IncomeLabel>String</IncomeLabel>
      <IncomeToLast>0</IncomeToLast>
      <KeyIndex>0</KeyIndex>
      <PayoutFrequency>0</PayoutFrequency>
      <SmilePercentages xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfintdecimal>
          <d4p1:Key>0</d4p1:Key>
          <d4p1:Value>0</d4p1:Value>
        </d4p1:KeyValueOfintdecimal>
      </SmilePercentages>
      <StartYear>0</StartYear>
      <TaxRate>0</TaxRate>
    </GetIncomeCashFlowRequest>
  </AdditionalGetIncomeCashFlowRequests>
</AdditionalGetIncomeCashFlowRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetIncomeCashFlowResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortfolioLinkApi.ServiceModel">
  <Incomes xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortfolioLinkApi.ServiceModel.Types">
    <d2p1:IncomeView>
      <d2p1:Income>0</d2p1:Income>
      <d2p1:Year>0</d2p1:Year>
    </d2p1:IncomeView>
  </Incomes>
  <IndividualIncomes>
    <GetIncomeCashFlowResponse>
      <Incomes xmlns:d4p1="http://schemas.datacontract.org/2004/07/PortfolioLinkApi.ServiceModel.Types">
        <d4p1:IncomeView>
          <d4p1:Income>0</d4p1:Income>
          <d4p1:Year>0</d4p1:Year>
        </d4p1:IncomeView>
      </Incomes>
      <IndividualIncomes>
        <GetIncomeCashFlowResponse>
          <Incomes xmlns:d6p1="http://schemas.datacontract.org/2004/07/PortfolioLinkApi.ServiceModel.Types">
            <d6p1:IncomeView>
              <d6p1:Income>0</d6p1:Income>
              <d6p1:Year>0</d6p1:Year>
            </d6p1:IncomeView>
          </Incomes>
          <IndividualIncomes>
            <GetIncomeCashFlowResponse>
              <Incomes xmlns:d8p1="http://schemas.datacontract.org/2004/07/PortfolioLinkApi.ServiceModel.Types">
                <d8p1:IncomeView>
                  <d8p1:Income>0</d8p1:Income>
                  <d8p1:Year>0</d8p1:Year>
                </d8p1:IncomeView>
              </Incomes>
              <IndividualIncomes i:nil="true" />
            </GetIncomeCashFlowResponse>
          </IndividualIncomes>
        </GetIncomeCashFlowResponse>
      </IndividualIncomes>
    </GetIncomeCashFlowResponse>
  </IndividualIncomes>
</GetIncomeCashFlowResponse>