Exit SNO Order
/NorenWClientAPI/ExitSNOOrderAuthorization token is required. Enter your access_token from GenAcsTok above.
"Use proxy" sends this request through this website's server, which never logs request or response bodies. Infinn sees the docs server's IP, not yours. Turn it off to send directly from your browser instead.
jData fields
Values are sent as a JSON string in the jData form field.
‘snonum’ from order book if available, else Noren order number.
- Example:
24010100000001 - Where to get it: norenordno returned by PlaceOrder, or listed in the OrderBook.
Allowed for only H and B products (Cover order and bracket order)
- Example:
C - Allowed: C = Delivery, M = Margin, H = Cover, I = Intraday, B = Bracket, F = MTF, S = Special, P = Special2
User id of the logged in user
- Example:
YOUR_USER_ID - Where to get it: The ID you log in with at trade.infinn.in (User ID = Client ID). Also returned as uid by GenAcsTok.
Authorization Token
Required for all API calls. Use the access_token from the GenAcsTok response as a Bearer token.
⚠ When "Use proxy" is on, this token is sent through this website's server on its way to Infinn. It is never logged here, but if you would rather it never leave your browser, turn off "Use proxy" above or use the ready code with your own client instead.
Request to be POSTed to url : /NorenWClientAPI/ExitSNOOrder
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 |
|---|---|---|
| norenordno* | ‘snonum’ from order book if available, else Noren order number. | |
| prd* | H / B | Allowed for only H and B products (Cover order and bracket order) |
| uid* | User id of the logged in user |
Response Details
Response data will be in json format with below fields:
| Json Fields | Possible value | Description |
|---|---|---|
| stat | Ok or Not_Ok | Cancel order success or failure indication. |
| dmsg | Display message, (will be present only in case of success). | |
| request_time | Response received time. | |
| emsg | This will be present only if Order cancelation fails |
curl --request POST \
--url 'https://api.infinn.in/NorenWClientAPI/ExitSNOOrder' \
--header 'Authorization: Bearer PASTE_ACCESS_TOKEN_HERE' \
--header 'Content-Type: text/plain' \
--data 'jData={"norenordno":"24010100000001","prd":"C","uid":"YOUR_USER_ID"}'