POST api/MFSales/GetSWPPerformance

Request Information

URI Parameters

None.

Body Parameters

SWPPerformanceInputModels
NameDescriptionTypeAdditional information
CustName

string

None.

AMC

string

None.

Fund

string

None.

Frequency

string

None.

InitialAmount

string

None.

BasedOn

boolean

None.

WithdrawalFrom

boolean

None.

WithdrawalAmount

string

None.

StartDay

string

None.

Withdrawals

string

None.

DateFrom

string

None.

DateTo

string

None.

XIRR

boolean

None.

UserID

string

Required

Password

string

Required

IFAID

string

Required

Token

string

Required

DbInUse

string

None.

Sourceid

integer

None.

Forgot_UserID

string

None.

IsWMPRO

boolean

None.

LoginUserSessionID

integer

Required

IsMagic

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustName": "sample string 1",
  "AMC": "sample string 2",
  "Fund": "sample string 3",
  "Frequency": "sample string 4",
  "InitialAmount": "sample string 5",
  "BasedOn": true,
  "WithdrawalFrom": true,
  "WithdrawalAmount": "sample string 8",
  "StartDay": "sample string 9",
  "Withdrawals": "sample string 10",
  "DateFrom": "sample string 11",
  "DateTo": "sample string 12",
  "XIRR": true,
  "UserID": "sample string 14",
  "Password": "sample string 15",
  "IFAID": "sample string 16",
  "Token": "sample string 17",
  "DbInUse": "sample string 18",
  "Sourceid": 19,
  "Forgot_UserID": "sample string 20",
  "IsWMPRO": true,
  "LoginUserSessionID": 22,
  "IsMagic": "sample string 23"
}

application/xml, text/xml

Sample:
<SWPPerformanceInputModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WMDataService.Models">
  <IsMagic>sample string 23</IsMagic>
  <IsWMPRO>false</IsWMPRO>
  <LoginUserSessionID>22</LoginUserSessionID>
  <DbInUse>sample string 18</DbInUse>
  <Forgot_UserID>sample string 20</Forgot_UserID>
  <IFAID>sample string 16</IFAID>
  <IsWMPRO>true</IsWMPRO>
  <Password>sample string 15</Password>
  <Sourceid>19</Sourceid>
  <Token>sample string 17</Token>
  <UserID>sample string 14</UserID>
  <AMC>sample string 2</AMC>
  <BasedOn>true</BasedOn>
  <CustName>sample string 1</CustName>
  <DateFrom>sample string 11</DateFrom>
  <DateTo>sample string 12</DateTo>
  <Frequency>sample string 4</Frequency>
  <Fund>sample string 3</Fund>
  <InitialAmount>sample string 5</InitialAmount>
  <StartDay>sample string 9</StartDay>
  <WithdrawalAmount>sample string 8</WithdrawalAmount>
  <WithdrawalFrom>true</WithdrawalFrom>
  <Withdrawals>sample string 10</Withdrawals>
  <XIRR>true</XIRR>
</SWPPerformanceInputModels>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SWPPerformanceOutputModels
NameDescriptionTypeAdditional information
SWPPerformance

Collection of SWPPerformanceModels

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:
{
  "SWPPerformance": [
    {
      "TranDate": "sample string 1",
      "CashFlow": "sample string 2",
      "NAV": "sample string 3",
      "Units": "sample string 4",
      "InvestedAmount": "sample string 5",
      "BalanceUnits": "sample string 6",
      "MarketValue": "sample string 7",
      "XIRR": "sample string 8",
      "MVOD": "sample string 9",
      "TotalInvestment": "sample string 10"
    },
    {
      "TranDate": "sample string 1",
      "CashFlow": "sample string 2",
      "NAV": "sample string 3",
      "Units": "sample string 4",
      "InvestedAmount": "sample string 5",
      "BalanceUnits": "sample string 6",
      "MarketValue": "sample string 7",
      "XIRR": "sample string 8",
      "MVOD": "sample string 9",
      "TotalInvestment": "sample string 10"
    }
  ],
  "Status": "sample string 1",
  "Message": "sample string 2",
  "MobileOtp": 3,
  "LoginUserSessionID": 4,
  "IsWMPRO": true,
  "IsMagic": "sample string 6"
}

application/xml, text/xml

Sample:
<SWPPerformanceOutputModels 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>
  <SWPPerformance>
    <SWPPerformanceModels>
      <BalanceUnits>sample string 6</BalanceUnits>
      <CashFlow>sample string 2</CashFlow>
      <InvestedAmount>sample string 5</InvestedAmount>
      <MVOD>sample string 9</MVOD>
      <MarketValue>sample string 7</MarketValue>
      <NAV>sample string 3</NAV>
      <TotalInvestment>sample string 10</TotalInvestment>
      <TranDate>sample string 1</TranDate>
      <Units>sample string 4</Units>
      <XIRR>sample string 8</XIRR>
    </SWPPerformanceModels>
    <SWPPerformanceModels>
      <BalanceUnits>sample string 6</BalanceUnits>
      <CashFlow>sample string 2</CashFlow>
      <InvestedAmount>sample string 5</InvestedAmount>
      <MVOD>sample string 9</MVOD>
      <MarketValue>sample string 7</MarketValue>
      <NAV>sample string 3</NAV>
      <TotalInvestment>sample string 10</TotalInvestment>
      <TranDate>sample string 1</TranDate>
      <Units>sample string 4</Units>
      <XIRR>sample string 8</XIRR>
    </SWPPerformanceModels>
  </SWPPerformance>
</SWPPerformanceOutputModels>