Infinn API Documentation
Holdings and Limits

Holdings Conversion

POST/NorenWClientAPI/HoldingsConv

Authorization 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 NamePossible ValueDescription
jData*JSON objectShould 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 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]\""
}
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