User Details
/NorenWClientAPI/UserDetailsAuthorization token is required. Enter your access_token from GenAcsTok above.
"Use proxy" sends this request through this website's server, which never logs request or response bodies. Infinn sees the docs server's IP, not yours. Turn it off to send directly from your browser instead.
jData fields
Values are sent as a JSON string in the jData form field.
Logged in User Id
- Example:
YOUR_USER_ID - Where to get it: The ID you log in with at trade.infinn.in (User ID = Client ID). Also returned as uid by GenAcsTok.
Authorization Token
Required for all API calls. Use the access_token from the GenAcsTok response as a Bearer token.
⚠ When "Use proxy" is on, this token is sent through this website's server on its way to Infinn. It is never logged here, but if you would rather it never leave your browser, turn off "Use proxy" above or use the ready code with your own client instead.
Request to be POSTed to url : /NorenWClientAPI/UserDetails
Request Details
| Parameter Name | Possible value | Description |
|---|---|---|
| jData* | Should send json object with fields in below list | |
| Authorization* | Bearer <access_token> | access_token from GenAcsTok response. Required for all API calls. |
| Json Fields | Possible value | Description |
|---|---|---|
| uid* | Logged in User Id |
Example
curl --request POST \
--url 'https://api.infinn.in/NorenWClientAPI/UserDetails' \
--header 'Authorization: Bearer <your_token_here>' \
--header 'Content-Type: text/plain' \
--data 'jData={"uid": "IN1479"}'Response Details
Response data will be in json format with below fields:
| Json Fields | Possible value | Description |
|---|---|---|
| stat | Ok or Not_Ok | User details success or failure indication. |
| exarr | Json array of strings with enabled exchange names | |
| orarr | Json array of strings with enabled price types for user | |
| prarr | Json array of Product Obj with enabled products, as defined below. | |
| brkname | Broker id | |
| brnchid | Branch id | |
| Email id | ||
| actid | Account id | |
| m_num | Mobile Number | |
| uprev | Always it will be an INVESTOR, other types of user not allowed to login using this API. | |
| access_type | Access Type | |
| request_time | It will be present only in a successful response. | |
| emsg | This will be present only in case of errors. |
Product Obj format
| Json Fields | Possible value | Description |
|---|---|---|
| prd | Product name | |
| s_prdt_ali | Product display name | |
| exch | Json array of strings with enabled, allowed exchangenames |
✅ Sample Success Response
{
"request_time": "20:20:04 19-05-2020",
"prarr": [
{
"prd":"C",
"s_prdt_ali" : "Delivery",
"exch" : ["NSE", "BSE"]
},
{
"prd":"I",
"s_prdt_ali" : "Intraday",
"exch" : ["NSE", "BSE", "NFO"]
},
, {
"prd":"H",
"s_prdt_ali" : "High Leverage",
"exch" : ["NSE", "BSE", "NFO"]
},
{
"prd":"B",
"s_prdt_ali" : "Bracket Order",
"exch" : ["NSE", "BSE", "NFO"]
}
],
"exarr": [
"NSE",
"NFO"
],
"orarr": [
"MKT",
"LMT",
"SL-LMT",
"SL-MKT",
"DS",
"2L",
"3L",
"4L"
],
"brkname": "VIDYA",
"brnchid": "VIDDU",
"email": "[email protected]",
"actid": "GURURAJ",
"uprev": "INVESTOR",
"stat": "Ok"
}
Sample Failure Response
{
"stat": "Not_Ok",
"emsg": "Session Expired : Invalid Session Key"
}curl --request POST \
--url 'https://api.infinn.in/NorenWClientAPI/UserDetails' \
--header 'Authorization: Bearer PASTE_ACCESS_TOKEN_HERE' \
--header 'Content-Type: text/plain' \
--data 'jData={"uid":"YOUR_USER_ID"}'