User Details
Request to be POSTed to uri : /NorenWClientTP/UserDetails
Request Details :
Parameter Name | Possible value | Description |
---|---|---|
jData* | Should send json object with fields in below list | |
jKey* | Key Obtained on login success. |
Json Fields | Possible value | Description |
---|---|---|
uid* | User Id |
Response Details :
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 | |
actid | Account Id | |
uid | User Id | |
m_num | Mobile Number | |
uprev | Always it will be an INVESTOR, other types of user not allowed to login using this API. | |
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 exchange names |
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"
}