Change Password
User Details
POST
/NorenWClientAPI/UserDetailsAuthorization 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
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/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 'Content-Type: text/plain' \
--data 'jData={}'Response will appear here after sending a request