Holdings and Limits
Get Sub Limits
POST
/NorenWClientAPI/GetSubLimitsAuthorization token is required. Enter your access_token from GenAcsTok above.
jData fields
Values are sent as a JSON string in the jData form field.
Logged in User Id
Account id of the logged in user
Authorization Token
Required for all API calls. Use the access_token from the GenAcsTok response as a Bearer token.
Request to be POSTed to url: /NorenWClientAPI/GetSubLimits
Request Details:
| Parameter Name | Possible Value | Description |
|---|---|---|
| jData* | JSON object | Should send JSON object with fields in the list below |
| Authorization* | Bearer <access_token> | access_token from GenAcsTok response. Required for all API calls. |
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"
}curl --request POST \
--url 'https://api.infinn.in/NorenWClientAPI/GetSubLimits' \
--header 'Content-Type: text/plain' \
--data 'jData={}'Response will appear here after sending a request