Holdings and Limits
Holdings Conversion
POST
/NorenWClientAPI/HoldingsConvAuthorization 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
Product name
ISIN
Source Broker Id
Optional
Only when holdqty is present
If holdqty is not there
If holdqty or dpqty is not there
If holdqty, dpqty, or benqty is not there
If holdqty, dpqty, benqty, or unplgdqty is not there
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/HoldingsConv
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 | |
| prd* | Product name | |
| isin* | ISIN | |
| src_brkuid | Source Broker Id | |
| holdqty | Holding quantity | Optional |
| colqty | Collateral Quantity | Only when holdqty is present |
| dpqty | DP Holding Quantity | If holdqty is not there |
| benqty | Beneficiary Holding Quantity | If holdqty or dpqty is not there |
| unplgdqty | Unplgd Holding Quantity | If holdqty, dpqty, or benqty is not there |
| brkcolqty | Broker Collateral Quantity | If holdqty, dpqty, benqty, or unplgdqty is not there |
Notes:
colqtywill be taken only ifholdqtyis provided.dpqtywill be taken only ifholdqtyis not provided.benqtywill be taken if bothholdqtyordpqtyare not provided.unplgdqtywill be taken ifholdqty,dpqty, orbenqtyare not provided.brkcolqtywill be taken only if the above quantities are not provided.
Response Details:
Response data will be in JSON format with the fields below in case of success:
JSON Fields:
| Field Name | Possible Value | Description |
|---|---|---|
| stat | Ok or Not_Ok | Position book request success or failure indication. |
| request_time | Response received time. | |
| norentm | Noren time stamp | |
| noren_nsecs | Noren Nanoseconds | |
| emsg | Error message |
Sample Success Response:
{
"request_time": "17:33:10 04-07-2024",
"norentm": "1720094590",
"noren_nsecs": "25659771",
"stat": "Ok"
}Sample Failure Response:
{
"stat": "Not_Ok",
"request_time": "17:36:21 04-07-2024",
"emsg": "Error Occurred : 2 \"invalid input[Account doesn't exist]\""
}curl --request POST \
--url 'https://api.infinn.in/NorenWClientAPI/HoldingsConv' \
--header 'Content-Type: text/plain' \
--data 'jData={}'Response will appear here after sending a request