PortfolioLinkApi

<back to all web services

GetProjectionStats

The following routes are available for this service:
All Verbs/projections/stats
GetProjectionStats Parameters:
NameParameterData TypeRequiredDescription
MoreLikelyZScorequerydecimalNo
LessLikelyZScorequerydecimalNo
InitialInvestmentquerydecimalNo
LocalCashquerydecimalNo
LocalBondsquerydecimalNo
LocalBondsHedgequerydecimalNo
LocalEquityquerydecimalNo
LocalEquityHedgequerydecimalNo
LocalPropertyquerydecimalNo
LocalPropertyHedgequerydecimalNo
ForeignCashquerydecimalNo
ForeignBondsquerydecimalNo
ForeignBondsHedgequerydecimalNo
ForeignEquityquerydecimalNo
ForeignPropertyquerydecimalNo
ForeignEquityHedgequerydecimalNo
ForeignPropertyHedgequerydecimalNo
AfricaquerydecimalNo
CommodityquerydecimalNo
PlatformFeequerydecimalNo
AdvisorFeequerydecimalNo
OtherChargesquerydecimalNo
TicquerydecimalNo
GetProjectionStatsResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformList<MinMaxView>No
MinMaxView Parameters:
NameParameterData TypeRequiredDescription
LabelformstringNo
YearformintNo
TrrformdecimalNo
MinformdecimalNo
MaxformdecimalNo
MaxReturnformdecimalNo
MinReturnformdecimalNo
AverageformdecimalNo
AverageReturnformdecimalNo

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/stats HTTP/1.1 
Host: api.portfoliolink.co.za 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<GetProjectionStats xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortfolioLinkApi.ServiceModel">
  <AdvisorFee>0</AdvisorFee>
  <Africa>0</Africa>
  <Commodity>0</Commodity>
  <ForeignBonds>0</ForeignBonds>
  <ForeignBondsHedge>0</ForeignBondsHedge>
  <ForeignCash>0</ForeignCash>
  <ForeignEquity>0</ForeignEquity>
  <ForeignEquityHedge>0</ForeignEquityHedge>
  <ForeignProperty>0</ForeignProperty>
  <ForeignPropertyHedge>0</ForeignPropertyHedge>
  <InitialInvestment>0</InitialInvestment>
  <LessLikelyZScore>0</LessLikelyZScore>
  <LocalBonds>0</LocalBonds>
  <LocalBondsHedge>0</LocalBondsHedge>
  <LocalCash>0</LocalCash>
  <LocalEquity>0</LocalEquity>
  <LocalEquityHedge>0</LocalEquityHedge>
  <LocalProperty>0</LocalProperty>
  <LocalPropertyHedge>0</LocalPropertyHedge>
  <MoreLikelyZScore>0</MoreLikelyZScore>
  <OtherCharges>0</OtherCharges>
  <PlatformFee>0</PlatformFee>
  <Tic>0</Tic>
</GetProjectionStats>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetProjectionStatsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortfolioLinkApi.ServiceModel">
  <Result>
    <MinMaxView>
      <Average>0</Average>
      <AverageReturn>0</AverageReturn>
      <Label>String</Label>
      <Max>0</Max>
      <MaxReturn>0</MaxReturn>
      <Min>0</Min>
      <MinReturn>0</MinReturn>
      <Trr>0</Trr>
      <Year>0</Year>
    </MinMaxView>
  </Result>
</GetProjectionStatsResponse>