POST api/MFData/GetStock

Request Information

URI Parameters

None.

Body Parameters

StockInputModels
NameDescriptionTypeAdditional information
GrouID

string

Required

MembID

string

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

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StockOutputModels
NameDescriptionTypeAdditional information
Stock

Collection of StockModels

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:
{
  "Stock": [
    {
      "CompanyName": "sample string 1",
      "NoOfShares": "sample string 2",
      "AvgCost": "sample string 3",
      "PortfolioWeight": "sample string 4",
      "SharePrice": "sample string 5",
      "AsOnDate": "sample string 6",
      "MarketValue": "sample string 7",
      "AbsRet": "sample string 8",
      "XIRR": "sample string 9",
      "ScriID": "sample string 10",
      "GroupID": "sample string 11",
      "IsGroupWise": true,
      "ShorName": "sample string 13",
      "Total": "sample string 14",
      "GrandTotal": "sample string 15",
      "MembID": 16,
      "MembName": "sample string 17",
      "AMCName": "sample string 18",
      "FundID": "sample string 19",
      "FundShortName": "sample string 20",
      "FundFullName": "sample string 21",
      "FolioNumber": "sample string 22",
      "FolioID": "sample string 23"
    },
    {
      "CompanyName": "sample string 1",
      "NoOfShares": "sample string 2",
      "AvgCost": "sample string 3",
      "PortfolioWeight": "sample string 4",
      "SharePrice": "sample string 5",
      "AsOnDate": "sample string 6",
      "MarketValue": "sample string 7",
      "AbsRet": "sample string 8",
      "XIRR": "sample string 9",
      "ScriID": "sample string 10",
      "GroupID": "sample string 11",
      "IsGroupWise": true,
      "ShorName": "sample string 13",
      "Total": "sample string 14",
      "GrandTotal": "sample string 15",
      "MembID": 16,
      "MembName": "sample string 17",
      "AMCName": "sample string 18",
      "FundID": "sample string 19",
      "FundShortName": "sample string 20",
      "FundFullName": "sample string 21",
      "FolioNumber": "sample string 22",
      "FolioID": "sample string 23"
    }
  ],
  "Status": "sample string 1",
  "Message": "sample string 2",
  "MobileOtp": 3,
  "LoginUserSessionID": 4,
  "IsWMPRO": true,
  "IsMagic": "sample string 6"
}

application/xml, text/xml

Sample:
<StockOutputModels 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>
  <Stock>
    <StockModels>
      <AMCName>sample string 18</AMCName>
      <FolioID>sample string 23</FolioID>
      <FolioNumber>sample string 22</FolioNumber>
      <FundFullName>sample string 21</FundFullName>
      <FundID>sample string 19</FundID>
      <FundShortName>sample string 20</FundShortName>
      <MembID>16</MembID>
      <MembName>sample string 17</MembName>
      <AbsRet>sample string 8</AbsRet>
      <AsOnDate>sample string 6</AsOnDate>
      <AvgCost>sample string 3</AvgCost>
      <CompanyName>sample string 1</CompanyName>
      <GrandTotal>sample string 15</GrandTotal>
      <GroupID>sample string 11</GroupID>
      <IsGroupWise>true</IsGroupWise>
      <MarketValue>sample string 7</MarketValue>
      <NoOfShares>sample string 2</NoOfShares>
      <PortfolioWeight>sample string 4</PortfolioWeight>
      <ScriID>sample string 10</ScriID>
      <SharePrice>sample string 5</SharePrice>
      <ShorName>sample string 13</ShorName>
      <Total>sample string 14</Total>
      <XIRR>sample string 9</XIRR>
    </StockModels>
    <StockModels>
      <AMCName>sample string 18</AMCName>
      <FolioID>sample string 23</FolioID>
      <FolioNumber>sample string 22</FolioNumber>
      <FundFullName>sample string 21</FundFullName>
      <FundID>sample string 19</FundID>
      <FundShortName>sample string 20</FundShortName>
      <MembID>16</MembID>
      <MembName>sample string 17</MembName>
      <AbsRet>sample string 8</AbsRet>
      <AsOnDate>sample string 6</AsOnDate>
      <AvgCost>sample string 3</AvgCost>
      <CompanyName>sample string 1</CompanyName>
      <GrandTotal>sample string 15</GrandTotal>
      <GroupID>sample string 11</GroupID>
      <IsGroupWise>true</IsGroupWise>
      <MarketValue>sample string 7</MarketValue>
      <NoOfShares>sample string 2</NoOfShares>
      <PortfolioWeight>sample string 4</PortfolioWeight>
      <ScriID>sample string 10</ScriID>
      <SharePrice>sample string 5</SharePrice>
      <ShorName>sample string 13</ShorName>
      <Total>sample string 14</Total>
      <XIRR>sample string 9</XIRR>
    </StockModels>
  </Stock>
</StockOutputModels>