GET api/FinancialData/GetFDCalculators

Request Information

URI Parameters

None.

Body Parameters

FDInputModels
NameDescriptionTypeAdditional information
PresentValue

decimal number

None.

NoOfYear

integer

None.

RateOfInterest

decimal number

None.

ComMode

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PresentValue": 1.1,
  "NoOfYear": 2,
  "RateOfInterest": 3.0,
  "ComMode": 4
}

application/xml, text/xml

Sample:
<FDInputModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WMDataService.Models">
  <ComMode>4</ComMode>
  <NoOfYear>2</NoOfYear>
  <PresentValue>1.1</PresentValue>
  <RateOfInterest>3</RateOfInterest>
</FDInputModels>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

FDOutputModels
NameDescriptionTypeAdditional information
FDCalculator

Collection of FDModels

None.

Status

string

Required

Message

string

Required

MobileOtp

integer

None.

LoginUserSessionID

integer

Required

IsWMPRO

boolean

None.

IsMagic

string

None.

Response Formats

application/json, text/json

Sample:
{
  "FDCalculator": [
    {
      "PresentAmount": "sample string 1"
    },
    {
      "PresentAmount": "sample string 1"
    }
  ],
  "Status": "sample string 1",
  "Message": "sample string 2",
  "MobileOtp": 3,
  "LoginUserSessionID": 4,
  "IsWMPRO": true,
  "IsMagic": "sample string 6"
}

application/xml, text/xml

Sample:
<FDOutputModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WMDataService.Models">
  <IsMagic>sample string 6</IsMagic>
  <IsWMPRO>true</IsWMPRO>
  <LoginUserSessionID>4</LoginUserSessionID>
  <Message>sample string 2</Message>
  <MobileOtp>3</MobileOtp>
  <Status>sample string 1</Status>
  <FDCalculator>
    <FDModels>
      <PresentAmount>sample string 1</PresentAmount>
    </FDModels>
    <FDModels>
      <PresentAmount>sample string 1</PresentAmount>
    </FDModels>
  </FDCalculator>
</FDOutputModels>