PortfolioLinkApi

<back to all web services

CalculateFee

Requires Authentication
The following routes are available for this service:
All Verbs/fees
CalculateFee Parameters:
NameParameterData TypeRequiredDescription
PortfolioIdqueryintNo
AmountquerydecimalNo
CalculateFeeResponse Parameters:
NameParameterData TypeRequiredDescription
EffectiveFeeformdecimalNo
AnnualFeeAmountformdecimalNo
FeeBreakdownformList<FeeInfo>No
AdvisoryFeesformCalcFeeNo
PlatformFeesformCalcFeeNo
InvestmentFeesformCalcFeeNo
FeeInfo Parameters:
NameParameterData TypeRequiredDescription
DescriptionformstringNo
FeePercentformdecimalNo
AmountformdecimalNo
CalcFee Parameters:
NameParameterData TypeRequiredDescription
EffectiveFeeformdecimalNo
AnnualFeeAmountformdecimalNo
FeeBreakdownformList<FeeInfo>No

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

<CalculateFee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortfolioLinkApi.ServiceModel">
  <Amount>0</Amount>
  <PortfolioId>0</PortfolioId>
</CalculateFee>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<CalculateFeeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortfolioLinkApi.ServiceModel">
  <AdvisoryFees>
    <AnnualFeeAmount>0</AnnualFeeAmount>
    <EffectiveFee>0</EffectiveFee>
    <FeeBreakdown>
      <FeeInfo>
        <Amount>0</Amount>
        <Description>String</Description>
        <FeePercent>0</FeePercent>
      </FeeInfo>
    </FeeBreakdown>
  </AdvisoryFees>
  <AnnualFeeAmount>0</AnnualFeeAmount>
  <EffectiveFee>0</EffectiveFee>
  <FeeBreakdown>
    <FeeInfo>
      <Amount>0</Amount>
      <Description>String</Description>
      <FeePercent>0</FeePercent>
    </FeeInfo>
  </FeeBreakdown>
  <InvestmentFees>
    <AnnualFeeAmount>0</AnnualFeeAmount>
    <EffectiveFee>0</EffectiveFee>
    <FeeBreakdown>
      <FeeInfo>
        <Amount>0</Amount>
        <Description>String</Description>
        <FeePercent>0</FeePercent>
      </FeeInfo>
    </FeeBreakdown>
  </InvestmentFees>
  <PlatformFees>
    <AnnualFeeAmount>0</AnnualFeeAmount>
    <EffectiveFee>0</EffectiveFee>
    <FeeBreakdown>
      <FeeInfo>
        <Amount>0</Amount>
        <Description>String</Description>
        <FeePercent>0</FeePercent>
      </FeeInfo>
    </FeeBreakdown>
  </PlatformFees>
</CalculateFeeResponse>