Skip to content

Holdings Conversion

Request to be POSTed to URI: /NorenWClientTP/HoldingsConv

Request Details:

Parameter NamePossible ValueDescription
jData*JSON objectShould send JSON object with fields in the list below

JSON Fields:

Field NamePossible ValueDescription
uid*Logged in User Id
actid*Account id of the logged in user
prd*Product name
isin*ISIN
src_brkuidSource Broker Id
holdqtyHolding quantityOptional
colqtyCollateral QuantityOnly when holdqty is present
dpqtyDP Holding QuantityIf holdqty is not there
benqtyBeneficiary Holding QuantityIf holdqty or dpqty is not there
unplgdqtyUnplgd Holding QuantityIf holdqty, dpqty, or benqty is not there
brkcolqtyBroker Collateral QuantityIf holdqty, dpqty, benqty, or unplgdqty is not there

Notes:

  1. colqty will be taken only if holdqty is provided.
  2. dpqty will be taken only if holdqty is not provided.
  3. benqty will be taken if both holdqty or dpqty are not provided.
  4. unplgdqty will be taken if holdqty, dpqty, or benqty are not provided.
  5. brkcolqty will 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 NamePossible ValueDescription
statOk or Not_OkPosition book request success or failure indication.
request_timeResponse received time.
norentmNoren time stamp
noren_nsecsNoren Nanoseconds
emsgError 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]\""
}