Get Sub Limits
Request to be POSTed to URI: /NorenWClientTP/GetSubLimits
Request Details:
| Parameter Name | Possible Value | Description |
|---|---|---|
| jData* | JSON object | Should send JSON object with fields in the list below |
JSON Fields:
| Field Name | Possible Value | Description |
|---|---|---|
| uid* | Logged in User Id | |
| actid | Account id of the logged in user |
Response Details:
Response data will be in JSON array of objects with the fields below in case of success:
JSON Fields:
| Field Name | Possible Value | Description |
|---|---|---|
| stat | Ok or Not_Ok | Request success or failure indication |
| actid | Account id | |
| prd | Product name | |
| s_prdt_ali | Product display name | |
| seg | EQT/DER/FX/COM | Segment |
| exch | Exchange | |
| cash | Cash Margin available | |
| payin | Total Amount transferred using Payins today | |
| payout | Total amount requested for withdrawal today | |
| brkcollamt | Prevalued Collateral Amount | |
| unclearedcash | Uncleared Cash (Payin through cheques) | |
| daycash | Additional leverage amount / Amount added to handle system errors - by broker. | |
| marginused | Total margin / fund used today | |
| mtomcurper | Mtom current percentage | |
| cbu | CAC Buy used | |
| csc | CAC Sell Credits | |
| rpnl | Current realized PNL | |
| unmtom | Current unrealized mtom | |
| marprt | Covered Product margins | |
| span | Span used | |
| expo | Exposure margin | |
| premium | Premium used | |
| varelm | Var Elm Margin | |
| grexpo | Gross Exposure | |
| greexpo_d | Gross Exposure derivative | |
| scripbskmar | Scrip basket margin | |
| addscripbskmrg | Additional scrip basket margin | |
| brokerage | Brokerage amount | |
| collateral | Collateral calculated based on uploaded holdings | |
| grcoll | Valuation of uploaded holding pre haircut |
Sample Success Response:
[ { "request_time": "17:03:37 04-07-2022", "stat": "Ok", "prfname": "KAMBALA", "cash": "50000000.00", "daycash": "0.00", "blk_amt": "0.00", "unclearedcash": "0.00", "brkcollamt": "0.00", "payin": "320.00", "payout": "-24.00" }, { "request_time": "17:03:37 04-07-2022", "stat": "Ok", "prfname": "DEFAULT", "cash": "213145.00", "daycash": "0.00", "blk_amt": "0.00", "unclearedcash": "0.00", "brkcollamt": "0.00", "payin": "320.00", "payout": "-24.00" }, { "request_time": "17:03:37 04-07-2022", "stat": "Ok", "prfname": "DEFAULT", "cash": "12345.00", "daycash": "0.00", "blk_amt": "0.00", "unclearedcash": "0.00", "brkcollamt": "0.00", "payin": "320.00", "payout": "-24.00" }]Sample Failure Response:
{ "stat": "Not_Ok", "emsg": "Server Timeout"}