Infinn API Documentation
Order and Trades

Single Order History

POST/NorenWClientAPI/SingleOrdHist

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

Noren Order Number

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/SingleOrdHist

Request Details

Parameter NamePossible valueDescription
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 FieldsPossible valueDescription
uid*Logged in User Id
norenordno*Noren Order Number

Example

curl https://apitest.kambala.co.in/NorenWClientAPI/SingleOrdHist \
    -d "jData={\"uid\":\"VIDYA\", \"norenordno\":\"20121300065716\" }"

Response Details

Response data will be in json Array of objects with below fields in case of success:

Json FieldsPossible valueDescription
statOk or Not_OkOrder book success or failure indication.
exchExchange Segment
tsymTrading symbol / contract on which order is placed.
norenordnoNoren Order Number
prcOrder Price
qtyOrder Quantity
prdDisplay product alias name, using prarr returned in user details.
s_prdt_aliProduct display name
statusOrder status
rptReport Type (fill/complete etc)
trantypeB / STransaction type of the order
prctypLMT / MKTPrice type
fillsharesTotal Traded Quantity of this order
avgprcAverage trade price of total traded quantity
rejreasonIf order is rejected, reason in text form
exchordidExchange Order Number
cancelqtyCanceled quantity for order which is in status cancelled.
remarksAny message Entered during order entry.
dscqtyOrder disclosed quantity.
trgprcOrder trigger price
retDAY / IOC / EOSOrder validity
bpprcBook Profit Price applicable only if product is selected as B (Bracket order)
blprcBook loss Price applicable only if product is selected as H and B (High Leverage and Bracket order)
trailprcTrailing Price applicable only if product is selected as H and B (High Leverage and Bracket order)
amoYes / No
ppPrice precision
tiTick size
lsLot size
tokenContract Token
norentmFormat: dd-mm-YYYY hh:MM:SS
ordenttm
exch_tm

Response data will be in json format with below fields in case of failure:

Json FieldsPossible valueDescription
statNot_OkOrder book failure indication.
request_timeResponse received time.
emsgError message

Sample Success Output

[
    {
        "stat": "Ok",
        "uid": "DEMO1",
        "actid": "DEMO1",
        "exch": "NSE",
        "norenordno": "20121300065716",
        "tsym": "ACCELYA-EQ",
        "qty": "180",
        "trantype": "B",
        "prctyp": "LMT",
        "ret": "DAY",
        "token": "7053",
        "pp": "2",
        "ls": "1",
        "ti": "0.05",
        "prc": "800.00",
        "avgprc": "800.00",
        "dscqty": "0",
        "prd": "M",
        "status": "COMPLETE",
        "rpt": "Fill",
        "fillshares": "180",
        "norentm": "19:59:32 13-12-2020",
        "exch_tm": "01-01-1980 00:00:00",
        "remarks": "WC TEST Order",
        "exchordid": "6858"
    },
    {
        "stat": "Ok",
        "norenordno": "20121300065716",
        "uid": "DEMO1",
        "actid": "DEMO1",
        "exch": "NSE",
        "tsym": "ACCELYA-EQ",
        "qty": "180",
        "trantype": "B",
        "prctyp": "LMT",
        "ret": "DAY",
        "token": "7053",
        "pp": "2",
        "ls": "1",
        "ti": "0.05",
        "prc": "800.00",
        "dscqty": "0",
        "prd": "M",
        "status": "OPEN",
        "rpt": "New",
        "norentm": "19:59:32 13-12-2020",
        "exch_tm": "01-01-1980 00:00:00",
        "remarks": "WC TEST Order",
        "exchordid": "6858"
    },
    {
        "stat": "Ok",
        "norenordno": "20121300065716",
        "uid": "DEMO1",
        "actid": "DEMO1",
        "exch": "NSE",
        "tsym": "ACCELYA-EQ",
        "qty": "180",
        "trantype": "B",
        "prctyp": "LMT",
        "ret": "DAY",
        "token": "7053",
        "pp": "2",
        "ls": "1",
        "ti": "0.05",
        "prc": "800.00",
        "dscqty": "0",
        "prd": "M",
        "status": "PENDING",
        "rpt": "PendingNew",
        "norentm": "19:59:32 13-12-2020",
        "remarks": "WC TEST Order"
    },
    {
        "stat": "Ok",
        "norenordno": "20121300065716",
        "uid": "DEMO1",
        "actid": "DEMO1",
        "exch": "NSE",
        "tsym": "ACCELYA-EQ",
        "qty": "180",
        "trantype": "B",
        "prctyp": "LMT",
        "ret": "DAY",
        "token": "7053",
        "pp": "2",
        "ls": "1",
        "ti": "0.05",
        "prc": "800.00",
        "prd": "M",
        "status": "PENDING",
        "rpt": "NewAck",
        "norentm": "19:59:32 13-12-2020",
        "remarks": "WC TEST Order"
    }
]
curl --request POST \
  --url 'https://api.infinn.in/NorenWClientAPI/SingleOrdHist' \
  --header 'Content-Type: text/plain' \
  --data 'jData={}'
Response will appear here after sending a request