POST api/MFData/GetStockLedger

Request Information

URI Parameters

None.

Body Parameters

StockLedgerInputModels
NameDescriptionTypeAdditional information
MembID

string

None.

GrouID

string

Required

ScriID

string

None.

IsGroupWise

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

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StockLedgerOutputModels
NameDescriptionTypeAdditional information
StockLedger

Collection of StockLedgerModels

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:
{
  "StockLedger": [
    {
      "policyHolder": [
        {
          "Name": "sample string 1",
          "ID": "sample string 2"
        },
        {
          "Name": "sample string 1",
          "ID": "sample string 2"
        }
      ],
      "Date": "sample string 1",
      "TranType": "sample string 2",
      "Quantity": "sample string 3",
      "Price": "sample string 4",
      "Amount": "sample string 5",
      "STT": "sample string 6",
      "Brokerage": "sample string 7",
      "Debit": "sample string 8",
      "Credit": "sample string 9",
      "Remarks": "sample string 10",
      "Ledger": [
        {
          "InvestedSince": "sample string 1",
          "Bought": "sample string 2",
          "Sold": "sample string 3",
          "Bonus": "sample string 4",
          "NettInvestment": "sample string 5",
          "NoOfShares": "sample string 6",
          "Price": "sample string 7",
          "AsOn": "sample string 8",
          "MarketValue": "sample string 9",
          "AbsRet": "sample string 10",
          "XIRR": "sample string 11"
        },
        {
          "InvestedSince": "sample string 1",
          "Bought": "sample string 2",
          "Sold": "sample string 3",
          "Bonus": "sample string 4",
          "NettInvestment": "sample string 5",
          "NoOfShares": "sample string 6",
          "Price": "sample string 7",
          "AsOn": "sample string 8",
          "MarketValue": "sample string 9",
          "AbsRet": "sample string 10",
          "XIRR": "sample string 11"
        }
      ],
      "MembID": 11,
      "MembName": "sample string 12",
      "AMCName": "sample string 13",
      "FundID": "sample string 14",
      "FundShortName": "sample string 15",
      "FundFullName": "sample string 16",
      "FolioNumber": "sample string 17",
      "FolioID": "sample string 18"
    },
    {
      "policyHolder": [
        {
          "Name": "sample string 1",
          "ID": "sample string 2"
        },
        {
          "Name": "sample string 1",
          "ID": "sample string 2"
        }
      ],
      "Date": "sample string 1",
      "TranType": "sample string 2",
      "Quantity": "sample string 3",
      "Price": "sample string 4",
      "Amount": "sample string 5",
      "STT": "sample string 6",
      "Brokerage": "sample string 7",
      "Debit": "sample string 8",
      "Credit": "sample string 9",
      "Remarks": "sample string 10",
      "Ledger": [
        {
          "InvestedSince": "sample string 1",
          "Bought": "sample string 2",
          "Sold": "sample string 3",
          "Bonus": "sample string 4",
          "NettInvestment": "sample string 5",
          "NoOfShares": "sample string 6",
          "Price": "sample string 7",
          "AsOn": "sample string 8",
          "MarketValue": "sample string 9",
          "AbsRet": "sample string 10",
          "XIRR": "sample string 11"
        },
        {
          "InvestedSince": "sample string 1",
          "Bought": "sample string 2",
          "Sold": "sample string 3",
          "Bonus": "sample string 4",
          "NettInvestment": "sample string 5",
          "NoOfShares": "sample string 6",
          "Price": "sample string 7",
          "AsOn": "sample string 8",
          "MarketValue": "sample string 9",
          "AbsRet": "sample string 10",
          "XIRR": "sample string 11"
        }
      ],
      "MembID": 11,
      "MembName": "sample string 12",
      "AMCName": "sample string 13",
      "FundID": "sample string 14",
      "FundShortName": "sample string 15",
      "FundFullName": "sample string 16",
      "FolioNumber": "sample string 17",
      "FolioID": "sample string 18"
    }
  ],
  "Status": "sample string 1",
  "Message": "sample string 2",
  "MobileOtp": 3,
  "LoginUserSessionID": 4,
  "IsWMPRO": true,
  "IsMagic": "sample string 6"
}

application/xml, text/xml

Sample:
<StockLedgerOutputModels 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>
  <StockLedger>
    <StockLedgerModels>
      <AMCName>sample string 13</AMCName>
      <FolioID>sample string 18</FolioID>
      <FolioNumber>sample string 17</FolioNumber>
      <FundFullName>sample string 16</FundFullName>
      <FundID>sample string 14</FundID>
      <FundShortName>sample string 15</FundShortName>
      <MembID>11</MembID>
      <MembName>sample string 12</MembName>
      <Amount>sample string 5</Amount>
      <Brokerage>sample string 7</Brokerage>
      <Credit>sample string 9</Credit>
      <Date>sample string 1</Date>
      <Debit>sample string 8</Debit>
      <Ledger>
        <Ledger>
          <AbsRet>sample string 10</AbsRet>
          <AsOn>sample string 8</AsOn>
          <Bonus>sample string 4</Bonus>
          <Bought>sample string 2</Bought>
          <InvestedSince>sample string 1</InvestedSince>
          <MarketValue>sample string 9</MarketValue>
          <NettInvestment>sample string 5</NettInvestment>
          <NoOfShares>sample string 6</NoOfShares>
          <Price>sample string 7</Price>
          <Sold>sample string 3</Sold>
          <XIRR>sample string 11</XIRR>
        </Ledger>
        <Ledger>
          <AbsRet>sample string 10</AbsRet>
          <AsOn>sample string 8</AsOn>
          <Bonus>sample string 4</Bonus>
          <Bought>sample string 2</Bought>
          <InvestedSince>sample string 1</InvestedSince>
          <MarketValue>sample string 9</MarketValue>
          <NettInvestment>sample string 5</NettInvestment>
          <NoOfShares>sample string 6</NoOfShares>
          <Price>sample string 7</Price>
          <Sold>sample string 3</Sold>
          <XIRR>sample string 11</XIRR>
        </Ledger>
      </Ledger>
      <Price>sample string 4</Price>
      <Quantity>sample string 3</Quantity>
      <Remarks>sample string 10</Remarks>
      <STT>sample string 6</STT>
      <TranType>sample string 2</TranType>
      <policyHolder>
        <policyHolder>
          <ID>sample string 2</ID>
          <Name>sample string 1</Name>
        </policyHolder>
        <policyHolder>
          <ID>sample string 2</ID>
          <Name>sample string 1</Name>
        </policyHolder>
      </policyHolder>
    </StockLedgerModels>
    <StockLedgerModels>
      <AMCName>sample string 13</AMCName>
      <FolioID>sample string 18</FolioID>
      <FolioNumber>sample string 17</FolioNumber>
      <FundFullName>sample string 16</FundFullName>
      <FundID>sample string 14</FundID>
      <FundShortName>sample string 15</FundShortName>
      <MembID>11</MembID>
      <MembName>sample string 12</MembName>
      <Amount>sample string 5</Amount>
      <Brokerage>sample string 7</Brokerage>
      <Credit>sample string 9</Credit>
      <Date>sample string 1</Date>
      <Debit>sample string 8</Debit>
      <Ledger>
        <Ledger>
          <AbsRet>sample string 10</AbsRet>
          <AsOn>sample string 8</AsOn>
          <Bonus>sample string 4</Bonus>
          <Bought>sample string 2</Bought>
          <InvestedSince>sample string 1</InvestedSince>
          <MarketValue>sample string 9</MarketValue>
          <NettInvestment>sample string 5</NettInvestment>
          <NoOfShares>sample string 6</NoOfShares>
          <Price>sample string 7</Price>
          <Sold>sample string 3</Sold>
          <XIRR>sample string 11</XIRR>
        </Ledger>
        <Ledger>
          <AbsRet>sample string 10</AbsRet>
          <AsOn>sample string 8</AsOn>
          <Bonus>sample string 4</Bonus>
          <Bought>sample string 2</Bought>
          <InvestedSince>sample string 1</InvestedSince>
          <MarketValue>sample string 9</MarketValue>
          <NettInvestment>sample string 5</NettInvestment>
          <NoOfShares>sample string 6</NoOfShares>
          <Price>sample string 7</Price>
          <Sold>sample string 3</Sold>
          <XIRR>sample string 11</XIRR>
        </Ledger>
      </Ledger>
      <Price>sample string 4</Price>
      <Quantity>sample string 3</Quantity>
      <Remarks>sample string 10</Remarks>
      <STT>sample string 6</STT>
      <TranType>sample string 2</TranType>
      <policyHolder>
        <policyHolder>
          <ID>sample string 2</ID>
          <Name>sample string 1</Name>
        </policyHolder>
        <policyHolder>
          <ID>sample string 2</ID>
          <Name>sample string 1</Name>
        </policyHolder>
      </policyHolder>
    </StockLedgerModels>
  </StockLedger>
</StockLedgerOutputModels>