POST api/FundData/GetTopGainers

Request Information

URI Parameters

None.

Body Parameters

TopGainersInputModels
NameDescriptionTypeAdditional information
TopX

integer

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:
{
  "TopX": 1,
  "UserID": "sample string 2",
  "Password": "sample string 3",
  "IFAID": "sample string 4",
  "Token": "sample string 5",
  "DbInUse": "sample string 6",
  "Sourceid": 7,
  "Forgot_UserID": "sample string 8",
  "IsWMPRO": true,
  "LoginUserSessionID": 10,
  "IsMagic": "sample string 11"
}

application/xml, text/xml

Sample:
<TopGainersInputModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WMDataService.Models">
  <IsMagic>sample string 11</IsMagic>
  <IsWMPRO>false</IsWMPRO>
  <LoginUserSessionID>10</LoginUserSessionID>
  <DbInUse>sample string 6</DbInUse>
  <Forgot_UserID>sample string 8</Forgot_UserID>
  <IFAID>sample string 4</IFAID>
  <IsWMPRO>true</IsWMPRO>
  <Password>sample string 3</Password>
  <Sourceid>7</Sourceid>
  <Token>sample string 5</Token>
  <UserID>sample string 2</UserID>
  <TopX>1</TopX>
</TopGainersInputModels>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TopGainersOutputModels
NameDescriptionTypeAdditional information
TopGainers

Collection of TopGainersModels

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:
{
  "TopGainers": [
    {
      "GainAmount": "sample string 1",
      "GainPercentage": "sample string 2",
      "GainRank": "sample string 3",
      "FundID": "sample string 4",
      "AMCName": "sample string 5",
      "FundShortName": "sample string 6",
      "FundFullName": "sample string 7",
      "FundCategory": "sample string 8",
      "FundClass": "sample string 9"
    },
    {
      "GainAmount": "sample string 1",
      "GainPercentage": "sample string 2",
      "GainRank": "sample string 3",
      "FundID": "sample string 4",
      "AMCName": "sample string 5",
      "FundShortName": "sample string 6",
      "FundFullName": "sample string 7",
      "FundCategory": "sample string 8",
      "FundClass": "sample string 9"
    }
  ],
  "Status": "sample string 1",
  "Message": "sample string 2",
  "MobileOtp": 3,
  "LoginUserSessionID": 4,
  "IsWMPRO": true,
  "IsMagic": "sample string 6"
}

application/xml, text/xml

Sample:
<TopGainersOutputModels 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>
  <TopGainers>
    <TopGainersModels>
      <AMCName>sample string 5</AMCName>
      <FundCategory>sample string 8</FundCategory>
      <FundClass>sample string 9</FundClass>
      <FundFullName>sample string 7</FundFullName>
      <FundID>sample string 4</FundID>
      <FundShortName>sample string 6</FundShortName>
      <GainAmount>sample string 1</GainAmount>
      <GainPercentage>sample string 2</GainPercentage>
      <GainRank>sample string 3</GainRank>
    </TopGainersModels>
    <TopGainersModels>
      <AMCName>sample string 5</AMCName>
      <FundCategory>sample string 8</FundCategory>
      <FundClass>sample string 9</FundClass>
      <FundFullName>sample string 7</FundFullName>
      <FundID>sample string 4</FundID>
      <FundShortName>sample string 6</FundShortName>
      <GainAmount>sample string 1</GainAmount>
      <GainPercentage>sample string 2</GainPercentage>
      <GainRank>sample string 3</GainRank>
    </TopGainersModels>
  </TopGainers>
</TopGainersOutputModels>