Skip to main content

Get portfolio data

Get portfolio data of member.

base_url/graphql/member-signin-services

Request#

query{  get_portfolio_data{        portfolio_value,        fund_invested,        ledger_balance,        portfolio_data{            scrip_name,            holding_qty,            rate_per_share,            total_value        }          }}

Response#

{  "data": {    "get_portfolio_data": {      "portfolio_value": "96423.72",      "fund_invested": "100000",      "ledger_balance": "18,848.13",      "portfolio_data": [        {          "scrip_name": "ADANIPORTS",          "holding_qty": "1",          "rate_per_share": "665.2",          "total_value": "665.2"        },        {          "scrip_name": "BOSCHLTD",          "holding_qty": "1",          "rate_per_share": "14986.85",          "total_value": "14986.85"        },        {          "scrip_name": "CANBK",          "holding_qty": "155",          "rate_per_share": "143.1",          "total_value": "22180.5"        },        {          "scrip_name": "EICHERMOT",          "holding_qty": "2",          "rate_per_share": "2549.95",          "total_value": "5099.9"        },        .        .        .        .        .        {          "scrip_name": "ZEEL",          "holding_qty": "2",          "rate_per_share": "200.6",          "total_value": "401.2"        },        {          "scrip_name": "Total :",          "holding_qty": "433",          "rate_per_share": null,          "total_value": "75653.85"        }      ]    }  }}